Documentation

ScanClassesTest extends Assert
in package

Assert that the 'scan-classes' mixin is working properly.

This class defines the assertions to run when installing or uninstalling the extension. It is called as part of E2E_Shimmy_LifecycleTest.

Tags
see
E2E_Shimmy_LifecycleTest

Table of Contents

Methods

testDisabled()  : void
testInstalled()  : void
testPreConditions()  : void
testUninstalled()  : void
fireHookShimmyFooBar()  : array<string|int, mixed>
Fire hook_civicrm_shimmyFooBar() in the system-under-test.
getPath()  : string

Methods

testDisabled()

public testDisabled(mixed $cv) : void
Parameters
$cv : mixed

testInstalled()

public testInstalled(mixed $cv) : void
Parameters
$cv : mixed

testPreConditions()

public testPreConditions(mixed $cv) : void
Parameters
$cv : mixed

testUninstalled()

public testUninstalled(mixed $cv) : void
Parameters
$cv : mixed

fireHookShimmyFooBar()

Fire hook_civicrm_shimmyFooBar() in the system-under-test.

protected fireHookShimmyFooBar(mixed $cv, string $name) : array<string|int, mixed>
Parameters
$cv : mixed
$name : string
Return values
array<string|int, mixed>

The modified $data

getPath()

protected static getPath([mixed $suffix = '' ]) : string
Parameters
$suffix : mixed = ''
Return values
string

        
On this page

Search results