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
$mixinTests
protected
array<string|int, mixed>
$mixinTests
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
$cvobject is (roughly speaking) a wrapper for callingcv. It has method bindings for$cv->api3()and$cv->api4(). Different variations of$cvmay 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
setUp()
protected
setUp() : void