Documentation

AbstractModuleTest extends AbstractTestCase
in package

AbstractYes

Table of Contents

Methods

assetLinkProvider()  : array<string|int, mixed>
assetLocalUrlProvider()  : array<string|int, mixed>
assetReferenceProvider()  : array<string|int, mixed>
assetReferenceUrlProvider()  : array<string|int, mixed>
testAssetHasValidLink()  : void
testAssetReferenceIsValid()  : void
testLocalAssetExists()  : void
testLocalExecutableExists()  : void
testLocalResultExists()  : void
testLocalResultIsValidAccordingToSchema()  : void
testReferencedAssetExists()  : void
testReferencedExecutableExists()  : void
testReferencedModuleExists()  : void
testReferencedResultExists()  : void
assertSchema()  : void
failException()  : void
findSchemaLocation()  : string|null
getManifest()  : ManifestInterface
getManifestAsset()  : AssetInterface
getManifestAuthority()  : FarahUrlAuthority
getManifestDocument()  : DOMDocument
getManifestMethod()  : mixed
getManifestProperty()  : mixed
getManifestUrl()  : FarahUrl
getObjectMethod()  : mixed
getObjectProperty()  : mixed

Methods

assetLinkProvider()

public assetLinkProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

assetLocalUrlProvider()

public assetLocalUrlProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

assetReferenceProvider()

public assetReferenceProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

assetReferenceUrlProvider()

public assetReferenceUrlProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
public testAssetHasValidLink(string $context, string $link) : void
Parameters
$context : string
$link : string
Tags
dataProvider

assetLinkProvider

testAssetReferenceIsValid()

public testAssetReferenceIsValid(string $ref, FarahUrl $context) : void
Parameters
$ref : string
$context : FarahUrl
Tags
dataProvider

assetReferenceProvider

testLocalAssetExists()

public testLocalAssetExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetLocalUrlProvider

testLocalExecutableExists()

public testLocalExecutableExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetLocalUrlProvider

testLocalResultExists()

public testLocalResultExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetLocalUrlProvider

testLocalResultIsValidAccordingToSchema()

public testLocalResultIsValidAccordingToSchema(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
depends

testLocalResultExists

dataProvider

assetLocalUrlProvider

testReferencedAssetExists()

public testReferencedAssetExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetReferenceUrlProvider

testReferencedExecutableExists()

public testReferencedExecutableExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetReferenceUrlProvider

testReferencedModuleExists()

public testReferencedModuleExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetReferenceUrlProvider

testReferencedResultExists()

public testReferencedResultExists(FarahUrl $url) : void
Parameters
$url : FarahUrl
Tags
dataProvider

assetReferenceUrlProvider

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

getManifest()

protected getManifest() : ManifestInterface
Return values
ManifestInterface

getManifestAsset()

protected getManifestAsset() : AssetInterface
Return values
AssetInterface

getManifestAuthority()

protected abstract static getManifestAuthority() : FarahUrlAuthority
Return values
FarahUrlAuthority

getManifestDocument()

protected getManifestDocument() : DOMDocument
Return values
DOMDocument

getManifestMethod()

protected getManifestMethod(string $name) : mixed
Parameters
$name : string

getManifestProperty()

protected getManifestProperty(string $name) : mixed
Parameters
$name : string

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