PHP Class Scalr\Tests\Api\Rest\ApplicationTest

Since: 5.4 (18.02.2015)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Tests\TestCase
Mostra file Open project: scalr/scalr

Public Methods

Method Description
testAddRoute ( )
testConstructor ( )
testDelete ( )
testError ( )
testGet ( )
testGetDefaultSettings ( )
testGroup ( )
testNotFound ( )
testOptions ( )
testPatch ( )
testPost ( )
testPut ( )
testRun ( )
testStop ( )

Protected Methods

Method Description
getApiClass ( string $suffix ) : string Gets API class name
getNamespase ( ) : string Gets REST API namespace
setUp ( )
tearDown ( )

Method Details

getApiClass() protected static method

Gets API class name
protected static getApiClass ( string $suffix ) : string
$suffix string The name of the class without base namespace
return string Returns the name of the class

getNamespase() protected static method

Gets REST API namespace
protected static getNamespase ( ) : string
return string Returns namespace

setUp() protected method

See also: Scalr\Tests\TestCase::setUp()
protected setUp ( )

tearDown() protected method

See also: Scalr\Tests\TestCase::tearDown()
protected tearDown ( )

testAddRoute() public method

public testAddRoute ( )

testConstructor() public method

public testConstructor ( )

testDelete() public method

public testDelete ( )

testError() public method

public testError ( )

testGet() public method

public testGet ( )

testGetDefaultSettings() public method

testGroup() public method

public testGroup ( )

testNotFound() public method

public testNotFound ( )

testOptions() public method

public testOptions ( )

testPatch() public method

public testPatch ( )

testPost() public method

public testPost ( )

testPut() public method

public testPut ( )

testRun() public method

public testRun ( )

testStop() public method

public testStop ( )