PHP Class Scalr\Tests\Functional\Api\Service\User\V1beta0\Controller\ProjectsTest

Author: N.V.
Afficher le fichier Open project: scalr/scalr

Méthodes publiques

Méthode Description
createTestProject ( array $data = [] ) : ProjectEntity Creates new project for testing purposes
getProject ( string $projectId ) : Scalr\Tests\Functional\Api\ApiTestResponse Get Project using identifier
listProjects ( array $filters = [], integer $maxResults = null ) : array Return list of Projects available in this environment
postProject ( array &$projectData ) : Scalr\Tests\Functional\Api\ApiTestResponse Create new test project using api request
projectToDelete ( $projectId )
tearDownAfterClass ( ) Also Removes Project properties generated for test
testComplex ( )

Method Details

createTestProject() public méthode

Creates new project for testing purposes
public createTestProject ( array $data = [] ) : ProjectEntity
$data array optional
Résultat Scalr\Stats\CostAnalytics\Entity\ProjectEntity

getProject() public méthode

Get Project using identifier
public getProject ( string $projectId ) : Scalr\Tests\Functional\Api\ApiTestResponse
$projectId string project identifier
Résultat Scalr\Tests\Functional\Api\ApiTestResponse

listProjects() public méthode

Return list of Projects available in this environment
public listProjects ( array $filters = [], integer $maxResults = null ) : array
$filters array optional Filterable properties
$maxResults integer optional Max Results
Résultat array

postProject() public méthode

Create new test project using api request
public postProject ( array &$projectData ) : Scalr\Tests\Functional\Api\ApiTestResponse
$projectData array
Résultat Scalr\Tests\Functional\Api\ApiTestResponse

projectToDelete() public méthode

public projectToDelete ( $projectId )

tearDownAfterClass() public static méthode

public static tearDownAfterClass ( )

testComplex() public méthode

public testComplex ( )