PHP Class Scalr\Tests\Service\OpenStack\OpenStackTestCase

Since: 05.12.2012
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Tests\TestCase
Show file Open project: scalr/scalr Class Usage Examples

Protected Properties

Property Type Description
$openstack Scalr\Service\OpenStack\OpenStack Openstack instance
$rackspace Scalr\Service\OpenStack\OpenStack OpenStack instance

Public Methods

Method Description
getContainer ( ) : Container Gets DI Container
getFixturesDirectory ( )
getOpenStackClassName ( string $classSuffix ) : string Gets full class name by its suffix after OpenStack\\
getOpenStackFixtureClassName ( string $classSuffix ) : string Gets full FIXTURE class name by its suffix after OpenStack\\

Protected Methods

Method Description
setUp ( )
tearDown ( )

Method Details

getContainer() public method

Gets DI Container
public getContainer ( ) : Container
return Scalr\DependencyInjection\Container

getFixturesDirectory() public method

getOpenStackClassName() public method

Gets full class name by its suffix after OpenStack\\
public getOpenStackClassName ( string $classSuffix ) : string
$classSuffix string
return string

getOpenStackFixtureClassName() public method

Gets full FIXTURE class name by its suffix after OpenStack\\
public getOpenStackFixtureClassName ( string $classSuffix ) : string
$classSuffix string
return string

setUp() protected method

See also: PHPUnit_Framework_TestCase::setUp()
protected setUp ( )

tearDown() protected method

See also: PHPUnit_Framework_TestCase::tearDown()
protected tearDown ( )

Property Details

$openstack protected property

Openstack instance
protected OpenStack,Scalr\Service\OpenStack $openstack
return Scalr\Service\OpenStack\OpenStack

$rackspace protected property

OpenStack instance
protected OpenStack,Scalr\Service\OpenStack $rackspace
return Scalr\Service\OpenStack\OpenStack