Property | Type | Description | |
---|---|---|---|
$groups | array |
a list of all of the groups of hosts in our test environment | |
$moduleSettings | null | object | these settings apply to any host in any group in this environment | |
$name | string | the name of this test environment |
Method | Description | |
---|---|---|
__construct ( string $name ) | create a new test environment definition | |
getConfig ( ) : DataSift\Stone\ObjectLib\BaseObject | what does our definition look like, as a config structure? | |
getModuleSettings ( ) : null | object | get the current module settings for this test environment | |
getName ( ) : string | what is the name of this test environment? | |
hasModuleSettings ( ) : boolean | do we have any module settings? | |
mergeSystemUnderTestConfig ( $sutConfig ) | ------------------------------------------------------------------ | |
newGroup ( integer | string $groupId, Storyplayer\TestEnvironments\GroupAdapter $groupAdapter ) : TestEnvironmentGroup | create a new group of hosts | |
setModuleSettings ( object $newSettings ) | tell us the module settings you want to apply to this test environment | |
setName ( string $name ) | set the name of this test environment |
public __construct ( string $name ) | ||
$name | string | the name to assign to this test environment |
public getConfig ( ) : DataSift\Stone\ObjectLib\BaseObject | ||
return | DataSift\Stone\ObjectLib\BaseObject |
public getModuleSettings ( ) : null | object | ||
return | null | object |
public hasModuleSettings ( ) : boolean | ||
return | boolean |
public mergeSystemUnderTestConfig ( $sutConfig ) |
public newGroup ( integer | string $groupId, Storyplayer\TestEnvironments\GroupAdapter $groupAdapter ) : TestEnvironmentGroup | ||
$groupId | integer | string | the ID of this group |
$groupAdapter | Storyplayer\TestEnvironments\GroupAdapter | the adapter for this group |
return | TestEnvironmentGroup | a new and empty group, ready for you to define |
public setModuleSettings ( object $newSettings ) | ||
$newSettings | object | the settings to apply |
protected array |
||
return | array |