AbstractXmlManifestTest
extends AbstractManifestTest
in package
AbstractYes
Table of Contents
Methods
- customExecutableBuilderProvider() : array<string|int, mixed>
- customInstructionProvider() : array<string|int, mixed>
- customParameterFilterProvider() : array<string|int, mixed>
- customPathResolverProvider() : array<string|int, mixed>
- testClassImplementsExecutableBuilderStrategy() : void
- testClassImplementsInstructionStrategy() : void
- testClassImplementsParameterFilterStrategy() : void
- testClassImplementsPathResolverStrategy() : void
- testHasRootElement() : void
- testManifestExists() : string
- testManifestIsValidAccordingToSchema() : DOMDocument
- testManifestIsValidXml() : DOMDocument
- testRootElementIsAssets() : void
- testSchemaExists() : string
- testSchemaIsValidXml() : DOMDocument
- assertSchema() : void
- failException() : void
- findSchemaLocation() : string|null
- getManifestDirectory() : string
- getManifestDocument() : DOMDocument
- getManifestFile() : string
- getManifestRoot() : LeanElement
- getObjectMethod() : mixed
- getObjectProperty() : mixed
- loadTree() : LeanElement
Methods
customExecutableBuilderProvider()
public
customExecutableBuilderProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>customInstructionProvider()
public
customInstructionProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>customParameterFilterProvider()
public
customParameterFilterProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>customPathResolverProvider()
public
customPathResolverProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>testClassImplementsExecutableBuilderStrategy()
public
testClassImplementsExecutableBuilderStrategy(string $className) : void
Parameters
- $className : string
Tags
testClassImplementsInstructionStrategy()
public
testClassImplementsInstructionStrategy(string $className) : void
Parameters
- $className : string
Tags
testClassImplementsParameterFilterStrategy()
public
testClassImplementsParameterFilterStrategy(string $className) : void
Parameters
- $className : string
Tags
testClassImplementsPathResolverStrategy()
public
testClassImplementsPathResolverStrategy(string $className) : void
Parameters
- $className : string
Tags
testHasRootElement()
public
testHasRootElement() : void
testManifestExists()
public
testManifestExists() : string
Return values
stringtestManifestIsValidAccordingToSchema()
public
testManifestIsValidAccordingToSchema(DOMDocument $manifestDocument, DOMDocument $schemaDocument) : DOMDocument
Parameters
- $manifestDocument : DOMDocument
- $schemaDocument : DOMDocument
Tags
Return values
DOMDocumenttestManifestIsValidXml()
public
testManifestIsValidXml(string $path) : DOMDocument
Parameters
- $path : string
Tags
Return values
DOMDocumenttestRootElementIsAssets()
public
testRootElementIsAssets() : void
Tags
testSchemaExists()
public
testSchemaExists(DOMDocument $manifestDocument) : string
Parameters
- $manifestDocument : DOMDocument
Tags
Return values
stringtestSchemaIsValidXml()
public
testSchemaIsValidXml(string $path) : DOMDocument
Parameters
- $path : string
Tags
Return values
DOMDocumentassertSchema()
protected
assertSchema(DOMDocument $document, string $schema) : void
Parameters
- $document : DOMDocument
- $schema : string
failException()
protected
failException(Throwable $e) : void
Parameters
- $e : Throwable
findSchemaLocation()
protected
findSchemaLocation(DOMDocument $document) : string|null
Parameters
- $document : DOMDocument
Return values
string|nullgetManifestDirectory()
protected
abstract static getManifestDirectory() : string
Return values
stringgetManifestDocument()
protected
getManifestDocument() : DOMDocument
Return values
DOMDocumentgetManifestFile()
protected
static getManifestFile() : string
Return values
stringgetManifestRoot()
protected
getManifestRoot() : LeanElement
Return values
LeanElementgetObjectMethod()
protected
getObjectMethod(object $target, string $name, mixed ...$args) : mixed
Parameters
- $target : object
- $name : string
- $args : mixed
getObjectProperty()
protected
getObjectProperty(object $target, string $name) : mixed
Parameters
- $target : object
- $name : string
loadTree()
protected
static loadTree() : LeanElement