PHP Class Google\Cloud\Tests\RequestWrapperTest

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

Méthodes publiques

Méthode Description
credentialsProvider ( )
keyFileCredentialsProvider ( )
testAddsTokenToRequest ( )
testAddsUserAgentToRequest ( )
testCredentialsFetcher ( $wrapperConfig )
testCredentialsFromKeyFileStreamCanBeReadMultipleTimes ( $wrapperConfig )
testExceptionMessageIsNotTruncatedWithGuzzle ( )
testSuccessfullySendsRequest ( )
testThrowsBadRequestException ( )
testThrowsConflictException ( )
testThrowsExceptionWhenFetchingCredentialsFails ( )
testThrowsExceptionWhenRequestFails ( )
testThrowsExceptionWithInvalidCache ( )
testThrowsExceptionWithInvalidCredentialsFetcher ( )
testThrowsExceptionWithNonRetryableError ( )
testThrowsNotFoundException ( )
testThrowsServerException ( )

Method Details

credentialsProvider() public méthode

public credentialsProvider ( )

keyFileCredentialsProvider() public méthode

testAddsTokenToRequest() public méthode

testAddsUserAgentToRequest() public méthode

testCredentialsFetcher() public méthode

public testCredentialsFetcher ( $wrapperConfig )

testCredentialsFromKeyFileStreamCanBeReadMultipleTimes() public méthode

testExceptionMessageIsNotTruncatedWithGuzzle() public méthode

testSuccessfullySendsRequest() public méthode

testThrowsBadRequestException() public méthode

testThrowsConflictException() public méthode

testThrowsExceptionWhenFetchingCredentialsFails() public méthode

testThrowsExceptionWhenRequestFails() public méthode

testThrowsExceptionWithInvalidCache() public méthode

testThrowsExceptionWithInvalidCredentialsFetcher() public méthode

testThrowsExceptionWithNonRetryableError() public méthode

testThrowsNotFoundException() public méthode

testThrowsServerException() public méthode