Property | Type | Description | |
---|---|---|---|
$dbLog |
Method | Description | |
---|---|---|
assertArrayHas ( mixed $value, string $key, array | ArrayAccess $arr, string $message = '' ) | Constraints that array has key and value | |
assertSubClassOf ( string $className, object $object, string $message = '' ) | Constraints that object is sub-class of the specified class | |
camelize ( string $input ) : string | Camelizes string | |
disableDbLog ( ) | Disables mysql log | |
enableDbLog ( ) | Enables mysql log | |
getAccessibleMethod ( object $object, string $method ) : ReflectionMethod | Gets reflection method for the specified object | |
getAccessibleProperty ( object $object, string $property ) : ReflectionProperty | Gets reflection property for the specified object | |
getDbLog ( ) : array | Gets mysql database log | |
getFixturesDirectory ( ) : string | Returns fixtures directory | |
getTestName ( string $suffix = '' ) : string | Gets test name | |
isSkippedFunctionalTest ( string $type = null ) : boolean | Returns true if functional tests should be skipped. |
Method | Description | |
---|---|---|
getInstallationId ( ) : string | Retrieves ID of the Scalr installation. | |
getSessionId ( ) : string | Retrieves unique session id. | |
runTest ( ) | ||
setUp ( ) | ||
tearDown ( ) |
public static assertArrayHas ( mixed $value, string $key, array | ArrayAccess $arr, string $message = '' ) | ||
$value | mixed | Expected array value |
$key | string | Expected array key |
$arr | array | ArrayAccess | An array which needs to be evaluated |
$message | string | Message |
public static getAccessibleMethod ( object $object, string $method ) : ReflectionMethod | ||
$object | object | Object |
$method | string | Private or Protected Method name |
return | ReflectionMethod | Returns reflection method for provided object with setAccessible property |
public static getAccessibleProperty ( object $object, string $property ) : ReflectionProperty | ||
$object | object | Object |
$property | string | Private or protected property name |
return | ReflectionProperty | Returns reflection property for provided object with setAccessible property |
public getFixturesDirectory ( ) : string | ||
return | string | Returns fixtures directory without trailing slash |
protected static getInstallationId ( ) : string | ||
return | string | Returns ID of the Scalr installation |
protected static getSessionId ( ) : string | ||
return | string | Returns unique session id. |
public static getTestName ( string $suffix = '' ) : string | ||
$suffix | string | optional Name suffix |
return | string | Returns test name |
public static isSkippedFunctionalTest ( string $type = null ) : boolean | ||
$type | string | optional The type of the test ui, api, cloud-dependent. If option is not provided it will try to resolve static::TEST_TYPE constant |
return | boolean | Returns true if functional tests should be skipped. |