Documentation

AbstractXmlManifestTest extends AbstractManifestTest
in package

AbstractYes

Table of Contents

Constants

SCHEMA_URL  = 'farah://slothsoft@farah/schema/module/'

Methods

customExecutableBuilderProvider()  : iterable<string|int, mixed>
customInstructionProvider()  : iterable<string|int, mixed>
customParameterFilterProvider()  : iterable<string|int, mixed>
customPathResolverProvider()  : iterable<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

Constants

Methods

customExecutableBuilderProvider()

public customExecutableBuilderProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

customInstructionProvider()

public customInstructionProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

customParameterFilterProvider()

public customParameterFilterProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

customPathResolverProvider()

public customPathResolverProvider() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

testClassImplementsExecutableBuilderStrategy()

public testClassImplementsExecutableBuilderStrategy(string $className) : void
Parameters
$className : string
Tags
dataProvider

customExecutableBuilderProvider

testClassImplementsInstructionStrategy()

public testClassImplementsInstructionStrategy(string $className) : void
Parameters
$className : string
Tags
dataProvider

customInstructionProvider

testClassImplementsParameterFilterStrategy()

public testClassImplementsParameterFilterStrategy(string $className) : void
Parameters
$className : string
Tags
dataProvider

customParameterFilterProvider

testClassImplementsPathResolverStrategy()

public testClassImplementsPathResolverStrategy(string $className) : void
Parameters
$className : string
Tags
dataProvider

customPathResolverProvider

testManifestIsValidAccordingToSchema()

public testManifestIsValidAccordingToSchema(mixed $manifestDocument, mixed $schemaDocument) : DOMDocument
Parameters
$manifestDocument : mixed
$schemaDocument : mixed
Tags
depends

testManifestIsValidXml

depends

testSchemaIsValidXml

Return values
DOMDocument

testManifestIsValidXml()

public testManifestIsValidXml(string $path) : DOMDocument
Parameters
$path : string
Tags
depends

testManifestExists

Return values
DOMDocument

testRootElementIsAssets()

public testRootElementIsAssets() : void
Tags
depends

testHasRootElement

testSchemaExists()

public testSchemaExists(mixed $manifestDocument) : string
Parameters
$manifestDocument : mixed
Tags
depends

testManifestIsValidXml

Return values
string

testSchemaIsValidXml()

public testSchemaIsValidXml(string $path) : DOMDocument
Parameters
$path : string
Tags
depends

testSchemaExists

Return values
DOMDocument

assertSchema()

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|null

getManifestDirectory()

protected abstract static getManifestDirectory() : string
Return values
string

getManifestDocument()

protected getManifestDocument() : DOMDocument
Return values
DOMDocument

getObjectMethod()

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

        
On this page

Search results