aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-24 07:53:54 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-24 07:53:54 -0700
commitc530d503d604b83c4eeb473bd3eb00f4a8d98835 (patch)
tree81aafdaa69a20e67268cba0cadf28a4df7e33592 /src/php/tests/generated_code/AbstractGeneratedCodeTest.php
parent987263a039f0e707ae31d163fbdb94640efbd588 (diff)
parent03d281ab1b59185959afff7621d69a9b77387cfa (diff)
Merge github.com:grpc/grpc into reject-the-stuffs
Diffstat (limited to 'src/php/tests/generated_code/AbstractGeneratedCodeTest.php')
-rw-r--r--src/php/tests/generated_code/AbstractGeneratedCodeTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
index 8b7e67f57c..287621d930 100644
--- a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
+++ b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php
@@ -39,6 +39,14 @@ abstract class AbstractGeneratedCodeTest extends PHPUnit_Framework_TestCase {
protected static $client;
protected static $timeout;
+ public function testWaitForNotReady() {
+ $this->assertFalse(self::$client->waitForReady(1));
+ }
+
+ public function testWaitForReady() {
+ $this->assertTrue(self::$client->waitForReady(250000));
+ }
+
public function testSimpleRequest() {
$div_arg = new math\DivArgs();
$div_arg->setDividend(7);