AbstractXmlManifestTest
extends AbstractManifestTest
in package
Table of Contents
- SCHEMA_URL = 'farah://slothsoft@farah/schema/module/'
- customExecutableBuilderProvider() : iteratable<string|int, mixed>
- customInstructionProvider() : iteratable<string|int, mixed>
- customParameterFilterProvider() : iteratable<string|int, mixed>
- customPathResolverProvider() : iteratable<string|int, mixed>
- testClassImplementsExecutableBuilderStrategy() : void
- testClassImplementsInstructionStrategy() : void
- testClassImplementsParameterFilterStrategy() : void
- testClassImplementsPathResolverStrategy() : void
- testHasRootElement() : void
- testManifestExists() : string
- testManifestIsValidAccordingToSchema() : DOMDocument
- testManifestIsValidXml() : DOMDocument
- testRootElementIsAssets() : mixed
- testSchemaExists() : string
- testSchemaIsValidXml() : DOMDocument
- failException() : mixed
- getManifestDirectory() : string
- getManifestDocument() : DOMDocument
- getManifestFile() : string
- getManifestRoot() : LeanElement
- getObjectMethod() : mixed
- getObjectProperty() : mixed
- loadTree() : LeanElement
Constants
SCHEMA_URL
public
mixed
SCHEMA_URL
= 'farah://slothsoft@farah/schema/module/'
Methods
customExecutableBuilderProvider()
public
customExecutableBuilderProvider() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed> —customInstructionProvider()
public
customInstructionProvider() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed> —customParameterFilterProvider()
public
customParameterFilterProvider() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed> —customPathResolverProvider()
public
customPathResolverProvider() : iteratable<string|int, mixed>
Return values
iteratable<string|int, mixed> —testClassImplementsExecutableBuilderStrategy()
public
testClassImplementsExecutableBuilderStrategy(string $className) : void
Parameters
- $className : string
Tags
Return values
void —testClassImplementsInstructionStrategy()
public
testClassImplementsInstructionStrategy(string $className) : void
Parameters
- $className : string
Tags
Return values
void —testClassImplementsParameterFilterStrategy()
public
testClassImplementsParameterFilterStrategy(string $className) : void
Parameters
- $className : string
Tags
Return values
void —testClassImplementsPathResolverStrategy()
public
testClassImplementsPathResolverStrategy(string $className) : void
Parameters
- $className : string
Tags
Return values
void —testHasRootElement()
public
testHasRootElement() : void
Return values
void —testManifestExists()
public
testManifestExists() : string
Return values
string —testManifestIsValidAccordingToSchema()
public
testManifestIsValidAccordingToSchema(mixed $manifestDocument, mixed $schemaDocument) : DOMDocument
Parameters
- $manifestDocument : mixed
- $schemaDocument : mixed
Tags
Return values
DOMDocument —testManifestIsValidXml()
public
testManifestIsValidXml(string $path) : DOMDocument
Parameters
- $path : string
Tags
Return values
DOMDocument —testRootElementIsAssets()
public
testRootElementIsAssets() : mixed
Tags
Return values
mixed —testSchemaExists()
public
testSchemaExists(mixed $manifestDocument) : string
Parameters
- $manifestDocument : mixed
Tags
Return values
string —testSchemaIsValidXml()
public
testSchemaIsValidXml(string $path) : DOMDocument
Parameters
- $path : string
Tags
Return values
DOMDocument —failException()
protected
failException(Throwable $e) : mixed
Parameters
- $e : Throwable
Return values
mixed —getManifestDirectory()
protected
abstract static getManifestDirectory() : string
Return values
string —getManifestDocument()
protected
getManifestDocument() : DOMDocument
Return values
DOMDocument —getManifestFile()
protected
static getManifestFile() : string
Return values
string —getManifestRoot()
protected
getManifestRoot() : LeanElement
Return values
LeanElement —getObjectMethod()
protected
getObjectMethod(object $target, string $name, mixed ...$args) : mixed
Parameters
- $target : object
- $name : string
- $args : mixed
Return values
mixed —getObjectProperty()
protected
getObjectProperty(object $target, string $name) : mixed
Parameters
- $target : object
- $name : string
Return values
mixed —loadTree()
protected
static loadTree() : LeanElement