Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Google
Cloud
Tests
RequestWrapperTest
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
public
keyFileCredentialsProvider
( )
testAddsTokenToRequest()
public
méthode
public
testAddsTokenToRequest
( )
testAddsUserAgentToRequest()
public
méthode
public
testAddsUserAgentToRequest
( )
testCredentialsFetcher()
public
méthode
public
testCredentialsFetcher
(
$wrapperConfig
)
testCredentialsFromKeyFileStreamCanBeReadMultipleTimes()
public
méthode
public
testCredentialsFromKeyFileStreamCanBeReadMultipleTimes
(
$wrapperConfig
)
testExceptionMessageIsNotTruncatedWithGuzzle()
public
méthode
public
testExceptionMessageIsNotTruncatedWithGuzzle
( )
testSuccessfullySendsRequest()
public
méthode
public
testSuccessfullySendsRequest
( )
testThrowsBadRequestException()
public
méthode
public
testThrowsBadRequestException
( )
testThrowsConflictException()
public
méthode
public
testThrowsConflictException
( )
testThrowsExceptionWhenFetchingCredentialsFails()
public
méthode
public
testThrowsExceptionWhenFetchingCredentialsFails
( )
testThrowsExceptionWhenRequestFails()
public
méthode
public
testThrowsExceptionWhenRequestFails
( )
testThrowsExceptionWithInvalidCache()
public
méthode
public
testThrowsExceptionWithInvalidCache
( )
testThrowsExceptionWithInvalidCredentialsFetcher()
public
méthode
public
testThrowsExceptionWithInvalidCredentialsFetcher
( )
testThrowsExceptionWithNonRetryableError()
public
méthode
public
testThrowsExceptionWithNonRetryableError
( )
testThrowsNotFoundException()
public
méthode
public
testThrowsNotFoundException
( )
testThrowsServerException()
public
méthode
public
testThrowsServerException
( )