PHP Class Google\Cloud\Tests\ClientTraitTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: GoogleCloudPlatform/gcloud-php

Méthodes publiques

Méthode Description
dependencyStatusProvider ( )
testConfigureAuthentication ( )
testConfigureAuthenticationWithInvalidKeyFilePath ( )
testConfigureAuthenticationWithKeyFile ( )
testConfigureAuthenticationWithKeyFilePath ( )
testConfigureAuthenticationWithKeyFileThatCantBeDecoded ( )
testDetectProjectIdOnGce ( )
testDetectProjectIdOnGceButOhNoThereStillIsntAProjectId ( )
testDetectProjectIdWithNoProjectIdAvailable ( )
testGetConnectionType ( $dependencyStatus, $config, $expectedConnectionType )
testGetConnectionTypeThrowsExceptionWhenAttempingGrpcWithoutDeps ( )

Method Details

dependencyStatusProvider() public méthode

testConfigureAuthentication() public méthode

testConfigureAuthenticationWithInvalidKeyFilePath() public méthode

testConfigureAuthenticationWithKeyFile() public méthode

testConfigureAuthenticationWithKeyFilePath() public méthode

testConfigureAuthenticationWithKeyFileThatCantBeDecoded() public méthode

testDetectProjectIdOnGce() public méthode

testDetectProjectIdOnGceButOhNoThereStillIsntAProjectId() public méthode

testDetectProjectIdWithNoProjectIdAvailable() public méthode

testGetConnectionType() public méthode

public testGetConnectionType ( $dependencyStatus, $config, $expectedConnectionType )

testGetConnectionTypeThrowsExceptionWhenAttempingGrpcWithoutDeps() public méthode