Documentation

MixinTestCase extends TestCase
in package
implements EndToEndInterface

AbstractYes

Enable, disable, and uninstall an extension. Ensure that various local example is enabled and disabled appropriately.

The substantive assertions are split across various files in tests/mixins/*.php.

TIP: To monitor the progress of the test, set DEBUG=1.

Table of Contents

Interfaces

EndToEndInterface
Interface EndToEndInterface

Properties

$mixinTests  : array<string|int, mixed>

Methods

createCvWithLocalFunctions()  : mixed
createCvWithSubprocesses()  : mixed
getMixinTests()  : array<string|int, mixed>
runLifecycle()  : void
runMethods()  : void
setUp()  : void

Properties

Methods

createCvWithLocalFunctions()

protected createCvWithLocalFunctions() : mixed

createCvWithSubprocesses()

protected createCvWithSubprocesses() : mixed

getMixinTests()

protected abstract getMixinTests() : array<string|int, mixed>
Return values
array<string|int, mixed>

runLifecycle()

protected runLifecycle(object $cv) : void
Parameters
$cv : object

The $cv object is (roughly speaking) a wrapper for calling cv. It has method bindings for $cv->api3() and $cv->api4(). Different variations of $cv may be supplied - they will execute $cv->api3() and $cv->api4() in slightly different ways.

runMethods()

protected runMethods(string $method, mixed ...$args) : void
Parameters
$method : string
$args : mixed

        
On this page

Search results