PHP Class Google\Cloud\Tests\Speech\SpeechClientTest

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

Méthodes publiques

Méthode Description
audioProvider ( )
setUp ( )
testBeginRecognizeOperation ( $audio, array $options, array $expectedOptions )
testGetsOperation ( )
testRecognize ( $audio, array $options, array $expectedOptions )
testRecognizeThrowsExceptionWhenCannotDetectEncoding ( )
testRecognizeThrowsExceptionWhenCannotDetectSampleRate ( )

Method Details

audioProvider() public méthode

public audioProvider ( )

setUp() public méthode

public setUp ( )

testBeginRecognizeOperation() public méthode

public testBeginRecognizeOperation ( $audio, array $options, array $expectedOptions )
$options array
$expectedOptions array

testGetsOperation() public méthode

public testGetsOperation ( )

testRecognize() public méthode

public testRecognize ( $audio, array $options, array $expectedOptions )
$options array
$expectedOptions array

testRecognizeThrowsExceptionWhenCannotDetectEncoding() public méthode

testRecognizeThrowsExceptionWhenCannotDetectSampleRate() public méthode