27 use MediaWikiCoversValidator;
38 $this->validator->checkDependencies();
41 $this->markTestSkipped(
42 'There are no extensions or skins loaded via the ExtensionRegistry'
50 $values[] = [ $thing[
'path'] ];
62 $this->validator->validate( $path );
64 $this->assertTrue(
true );
66 $this->assertEquals(
false,
$e->getMessage() );
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
testPassesValidation( $path)
providePassesValidation
ExtensionJsonValidator $validator
static providePassesValidation()
Validate extension.json files against their JSON schema.
returning false will NOT prevent logging $e