Add missing new-lines at end of file

pull/540/head
Craig Tiller 10 years ago
parent fa61eade82
commit ce5021b0b9
  1. 6
      examples/pubsub/empty.proto
  2. 6
      examples/pubsub/label.proto
  3. 6
      examples/pubsub/pubsub.proto
  4. 6
      src/csharp/GrpcApi/proto/empty.proto
  5. 6
      src/csharp/GrpcApi/proto/math.proto
  6. 6
      src/csharp/GrpcApi/proto/messages.proto
  7. 6
      src/csharp/GrpcApi/proto/test.proto
  8. 6
      src/node/examples/math.proto
  9. 2
      src/node/examples/math_server.js
  10. 2
      src/node/examples/stock.proto
  11. 2
      src/node/index.js
  12. 6
      src/node/interop/empty.proto
  13. 2
      src/node/interop/interop_client.js
  14. 2
      src/node/interop/interop_server.js
  15. 6
      src/node/interop/messages.proto
  16. 6
      src/node/interop/test.proto
  17. 2
      src/node/src/common.js
  18. 2
      src/node/test/channel_test.js
  19. 2
      src/node/test/constant_test.js
  20. 2
      src/node/test/end_to_end_test.js
  21. 2
      src/node/test/interop_sanity_test.js
  22. 2
      src/node/test/math_client_test.js
  23. 2
      src/node/test/surface_test.js
  24. 2
      src/php/bin/interop_client.sh
  25. 2
      src/php/bin/run_gen_code_test.sh
  26. 2
      src/php/bin/run_tests.sh
  27. 60
      src/php/tests/generated_code/math.php
  28. 168
      src/php/tests/interop/messages.php
  29. 2
      src/python/src/grpc/_adapter/_lonely_rear_link_test.py
  30. 2
      src/python/src/grpc/early_adopter/interfaces.py
  31. 6
      src/ruby/bin/math.proto
  32. 6
      test/cpp/interop/empty.proto
  33. 6
      test/cpp/interop/messages.proto
  34. 6
      test/cpp/interop/test.proto
  35. 6
      test/cpp/qps/qpstest.proto
  36. 6
      test/cpp/util/echo.proto
  37. 6
      test/cpp/util/echo_duplicate.proto
  38. 6
      test/cpp/util/messages.proto
  39. 12
      tools/buildgen/build-cleaner.py
  40. 2
      tools/gce_setup/builder.sh
  41. 2
      tools/gce_setup/cloud_prod_runner.sh
  42. 2
      tools/gce_setup/compute_extras.sh
  43. 2
      tools/gce_setup/grpc_docker.sh
  44. 2
      tools/gce_setup/interop_test_runner.sh
  45. 2
      tools/gce_setup/new_grpc_docker_builder.sh
  46. 2
      tools/gce_setup/new_grpc_docker_builder_on_startup.sh
  47. 2
      tools/gce_setup/shared_startup_funcs.sh
  48. 2
      tools/run_tests/build_node.sh
  49. 2
      tools/run_tests/build_php.sh
  50. 2
      tools/run_tests/build_python.sh
  51. 2
      tools/run_tests/run_node.sh
  52. 2
      tools/run_tests/run_python.sh

@ -2,11 +2,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -16,7 +16,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -2,11 +2,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -16,7 +16,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -2,11 +2,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -16,7 +16,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -135,4 +135,4 @@ if (require.main === module) {
/**
* See docs for server
*/
module.exports = server;
module.exports = server;

@ -59,4 +59,4 @@ service Stock {
rpc GetHighestTradePrice(stream StockRequest) returns (StockReply) {
}
}
}

@ -105,4 +105,4 @@ exports.Credentials = grpc.Credentials;
/**
* ServerCredentials factories
*/
exports.ServerCredentials = grpc.ServerCredentials;
exports.ServerCredentials = grpc.ServerCredentials;

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -310,4 +310,4 @@ if (require.main === module) {
/**
* See docs for runTest
*/
exports.runTest = runTest;
exports.runTest = runTest;

@ -201,4 +201,4 @@ if (require.main === module) {
/**
* See docs for getServer
*/
exports.getServer = getServer;
exports.getServer = getServer;

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -125,4 +125,4 @@ exports.fullyQualifiedName = fullyQualifiedName;
/**
* See docs for wrapIgnoreNull
*/
exports.wrapIgnoreNull = wrapIgnoreNull;
exports.wrapIgnoreNull = wrapIgnoreNull;

@ -85,4 +85,4 @@ describe('channel', function() {
});
});
});
});
});

@ -89,4 +89,4 @@ describe('constants', function() {
'call error missing: ' + callErrorNames[i]);
}
});
});
});

@ -233,4 +233,4 @@ describe('end-to-end', function() {
});
});
});
});
});

@ -79,4 +79,4 @@ describe('Interop tests', function() {
interop_client.runTest(port, name_override, 'cancel_after_first_response',
true, done);
});
});
});

@ -113,4 +113,4 @@ describe('Math client', function() {
done();
});
});
});
});

@ -125,4 +125,4 @@ describe('Cancelling surface client', function() {
});
call.cancel();
});
});
});

@ -32,4 +32,4 @@
set +e
cd $(dirname $0)
php -d extension_dir=../ext/grpc/modules/ -d extension=grpc.so \
../tests/interop/interop_client.php $@ 1>&2
../tests/interop/interop_client.php $@ 1>&2

@ -31,4 +31,4 @@
cd $(dirname $0)
GRPC_TEST_HOST=localhost:7070 php -d extension_dir=../ext/grpc/modules/ \
-d extension=grpc.so /usr/local/bin/phpunit -v --debug --strict \
../tests/generated_code/GeneratedCodeTest.php
../tests/generated_code/GeneratedCodeTest.php

@ -43,4 +43,4 @@ done
php \
-d extension_dir=../ext/grpc/modules/ \
-d extension=grpc.so \
`which phpunit` -v --debug --strict ../tests/unit_tests
`which phpunit` -v --debug --strict ../tests/unit_tests

@ -9,10 +9,10 @@ namespace math {
/** @var int */
public $dividend = null;
/** @var int */
public $divisor = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -52,7 +52,7 @@ namespace math {
public function hasDividend(){
return $this->_has(1);
}
/**
* Clear <dividend> value
*
@ -61,7 +61,7 @@ namespace math {
public function clearDividend(){
return $this->_clear(1);
}
/**
* Get <dividend> value
*
@ -70,7 +70,7 @@ namespace math {
public function getDividend(){
return $this->_get(1);
}
/**
* Set <dividend> value
*
@ -80,7 +80,7 @@ namespace math {
public function setDividend( $value){
return $this->_set(1, $value);
}
/**
* Check if <divisor> has a value
*
@ -89,7 +89,7 @@ namespace math {
public function hasDivisor(){
return $this->_has(2);
}
/**
* Clear <divisor> value
*
@ -98,7 +98,7 @@ namespace math {
public function clearDivisor(){
return $this->_clear(2);
}
/**
* Get <divisor> value
*
@ -107,7 +107,7 @@ namespace math {
public function getDivisor(){
return $this->_get(2);
}
/**
* Set <divisor> value
*
@ -126,10 +126,10 @@ namespace math {
/** @var int */
public $quotient = null;
/** @var int */
public $remainder = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -169,7 +169,7 @@ namespace math {
public function hasQuotient(){
return $this->_has(1);
}
/**
* Clear <quotient> value
*
@ -178,7 +178,7 @@ namespace math {
public function clearQuotient(){
return $this->_clear(1);
}
/**
* Get <quotient> value
*
@ -187,7 +187,7 @@ namespace math {
public function getQuotient(){
return $this->_get(1);
}
/**
* Set <quotient> value
*
@ -197,7 +197,7 @@ namespace math {
public function setQuotient( $value){
return $this->_set(1, $value);
}
/**
* Check if <remainder> has a value
*
@ -206,7 +206,7 @@ namespace math {
public function hasRemainder(){
return $this->_has(2);
}
/**
* Clear <remainder> value
*
@ -215,7 +215,7 @@ namespace math {
public function clearRemainder(){
return $this->_clear(2);
}
/**
* Get <remainder> value
*
@ -224,7 +224,7 @@ namespace math {
public function getRemainder(){
return $this->_get(2);
}
/**
* Set <remainder> value
*
@ -243,7 +243,7 @@ namespace math {
/** @var int */
public $limit = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -275,7 +275,7 @@ namespace math {
public function hasLimit(){
return $this->_has(1);
}
/**
* Clear <limit> value
*
@ -284,7 +284,7 @@ namespace math {
public function clearLimit(){
return $this->_clear(1);
}
/**
* Get <limit> value
*
@ -293,7 +293,7 @@ namespace math {
public function getLimit(){
return $this->_get(1);
}
/**
* Set <limit> value
*
@ -312,7 +312,7 @@ namespace math {
/** @var int */
public $num = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -344,7 +344,7 @@ namespace math {
public function hasNum(){
return $this->_has(1);
}
/**
* Clear <num> value
*
@ -353,7 +353,7 @@ namespace math {
public function clearNum(){
return $this->_clear(1);
}
/**
* Get <num> value
*
@ -362,7 +362,7 @@ namespace math {
public function getNum(){
return $this->_get(1);
}
/**
* Set <num> value
*
@ -381,7 +381,7 @@ namespace math {
/** @var int */
public $count = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -413,7 +413,7 @@ namespace math {
public function hasCount(){
return $this->_has(1);
}
/**
* Clear <count> value
*
@ -422,7 +422,7 @@ namespace math {
public function clearCount(){
return $this->_clear(1);
}
/**
* Get <count> value
*
@ -431,7 +431,7 @@ namespace math {
public function getCount(){
return $this->_get(1);
}
/**
* Set <count> value
*

@ -17,10 +17,10 @@ namespace grpc\testing {
/** @var int - \grpc\testing\PayloadType */
public $type = null;
/** @var string */
public $body = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -61,7 +61,7 @@ namespace grpc\testing {
public function hasType(){
return $this->_has(1);
}
/**
* Clear <type> value
*
@ -70,7 +70,7 @@ namespace grpc\testing {
public function clearType(){
return $this->_clear(1);
}
/**
* Get <type> value
*
@ -79,7 +79,7 @@ namespace grpc\testing {
public function getType(){
return $this->_get(1);
}
/**
* Set <type> value
*
@ -89,7 +89,7 @@ namespace grpc\testing {
public function setType( $value){
return $this->_set(1, $value);
}
/**
* Check if <body> has a value
*
@ -98,7 +98,7 @@ namespace grpc\testing {
public function hasBody(){
return $this->_has(2);
}
/**
* Clear <body> value
*
@ -107,7 +107,7 @@ namespace grpc\testing {
public function clearBody(){
return $this->_clear(2);
}
/**
* Get <body> value
*
@ -116,7 +116,7 @@ namespace grpc\testing {
public function getBody(){
return $this->_get(2);
}
/**
* Set <body> value
*
@ -135,19 +135,19 @@ namespace grpc\testing {
/** @var int - \grpc\testing\PayloadType */
public $response_type = null;
/** @var int */
public $response_size = null;
/** @var \grpc\testing\Payload */
public $payload = null;
/** @var boolean */
public $fill_username = null;
/** @var boolean */
public $fill_oauth_scope = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -213,7 +213,7 @@ namespace grpc\testing {
public function hasResponseType(){
return $this->_has(1);
}
/**
* Clear <response_type> value
*
@ -222,7 +222,7 @@ namespace grpc\testing {
public function clearResponseType(){
return $this->_clear(1);
}
/**
* Get <response_type> value
*
@ -231,7 +231,7 @@ namespace grpc\testing {
public function getResponseType(){
return $this->_get(1);
}
/**
* Set <response_type> value
*
@ -241,7 +241,7 @@ namespace grpc\testing {
public function setResponseType( $value){
return $this->_set(1, $value);
}
/**
* Check if <response_size> has a value
*
@ -250,7 +250,7 @@ namespace grpc\testing {
public function hasResponseSize(){
return $this->_has(2);
}
/**
* Clear <response_size> value
*
@ -259,7 +259,7 @@ namespace grpc\testing {
public function clearResponseSize(){
return $this->_clear(2);
}
/**
* Get <response_size> value
*
@ -268,7 +268,7 @@ namespace grpc\testing {
public function getResponseSize(){
return $this->_get(2);
}
/**
* Set <response_size> value
*
@ -278,7 +278,7 @@ namespace grpc\testing {
public function setResponseSize( $value){
return $this->_set(2, $value);
}
/**
* Check if <payload> has a value
*
@ -287,7 +287,7 @@ namespace grpc\testing {
public function hasPayload(){
return $this->_has(3);
}
/**
* Clear <payload> value
*
@ -296,7 +296,7 @@ namespace grpc\testing {
public function clearPayload(){
return $this->_clear(3);
}
/**
* Get <payload> value
*
@ -305,7 +305,7 @@ namespace grpc\testing {
public function getPayload(){
return $this->_get(3);
}
/**
* Set <payload> value
*
@ -315,7 +315,7 @@ namespace grpc\testing {
public function setPayload(\grpc\testing\Payload $value){
return $this->_set(3, $value);
}
/**
* Check if <fill_username> has a value
*
@ -324,7 +324,7 @@ namespace grpc\testing {
public function hasFillUsername(){
return $this->_has(4);
}
/**
* Clear <fill_username> value
*
@ -333,7 +333,7 @@ namespace grpc\testing {
public function clearFillUsername(){
return $this->_clear(4);
}
/**
* Get <fill_username> value
*
@ -342,7 +342,7 @@ namespace grpc\testing {
public function getFillUsername(){
return $this->_get(4);
}
/**
* Set <fill_username> value
*
@ -352,7 +352,7 @@ namespace grpc\testing {
public function setFillUsername( $value){
return $this->_set(4, $value);
}
/**
* Check if <fill_oauth_scope> has a value
*
@ -361,7 +361,7 @@ namespace grpc\testing {
public function hasFillOauthScope(){
return $this->_has(5);
}
/**
* Clear <fill_oauth_scope> value
*
@ -370,7 +370,7 @@ namespace grpc\testing {
public function clearFillOauthScope(){
return $this->_clear(5);
}
/**
* Get <fill_oauth_scope> value
*
@ -379,7 +379,7 @@ namespace grpc\testing {
public function getFillOauthScope(){
return $this->_get(5);
}
/**
* Set <fill_oauth_scope> value
*
@ -398,13 +398,13 @@ namespace grpc\testing {
/** @var \grpc\testing\Payload */
public $payload = null;
/** @var string */
public $username = null;
/** @var string */
public $oauth_scope = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -453,7 +453,7 @@ namespace grpc\testing {
public function hasPayload(){
return $this->_has(1);
}
/**
* Clear <payload> value
*
@ -462,7 +462,7 @@ namespace grpc\testing {
public function clearPayload(){
return $this->_clear(1);
}
/**
* Get <payload> value
*
@ -471,7 +471,7 @@ namespace grpc\testing {
public function getPayload(){
return $this->_get(1);
}
/**
* Set <payload> value
*
@ -481,7 +481,7 @@ namespace grpc\testing {
public function setPayload(\grpc\testing\Payload $value){
return $this->_set(1, $value);
}
/**
* Check if <username> has a value
*
@ -490,7 +490,7 @@ namespace grpc\testing {
public function hasUsername(){
return $this->_has(2);
}
/**
* Clear <username> value
*
@ -499,7 +499,7 @@ namespace grpc\testing {
public function clearUsername(){
return $this->_clear(2);
}
/**
* Get <username> value
*
@ -508,7 +508,7 @@ namespace grpc\testing {
public function getUsername(){
return $this->_get(2);
}
/**
* Set <username> value
*
@ -518,7 +518,7 @@ namespace grpc\testing {
public function setUsername( $value){
return $this->_set(2, $value);
}
/**
* Check if <oauth_scope> has a value
*
@ -527,7 +527,7 @@ namespace grpc\testing {
public function hasOauthScope(){
return $this->_has(3);
}
/**
* Clear <oauth_scope> value
*
@ -536,7 +536,7 @@ namespace grpc\testing {
public function clearOauthScope(){
return $this->_clear(3);
}
/**
* Get <oauth_scope> value
*
@ -545,7 +545,7 @@ namespace grpc\testing {
public function getOauthScope(){
return $this->_get(3);
}
/**
* Set <oauth_scope> value
*
@ -564,7 +564,7 @@ namespace grpc\testing {
/** @var \grpc\testing\Payload */
public $payload = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -597,7 +597,7 @@ namespace grpc\testing {
public function hasPayload(){
return $this->_has(1);
}
/**
* Clear <payload> value
*
@ -606,7 +606,7 @@ namespace grpc\testing {
public function clearPayload(){
return $this->_clear(1);
}
/**
* Get <payload> value
*
@ -615,7 +615,7 @@ namespace grpc\testing {
public function getPayload(){
return $this->_get(1);
}
/**
* Set <payload> value
*
@ -634,7 +634,7 @@ namespace grpc\testing {
/** @var int */
public $aggregated_payload_size = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -666,7 +666,7 @@ namespace grpc\testing {
public function hasAggregatedPayloadSize(){
return $this->_has(1);
}
/**
* Clear <aggregated_payload_size> value
*
@ -675,7 +675,7 @@ namespace grpc\testing {
public function clearAggregatedPayloadSize(){
return $this->_clear(1);
}
/**
* Get <aggregated_payload_size> value
*
@ -684,7 +684,7 @@ namespace grpc\testing {
public function getAggregatedPayloadSize(){
return $this->_get(1);
}
/**
* Set <aggregated_payload_size> value
*
@ -703,10 +703,10 @@ namespace grpc\testing {
/** @var int */
public $size = null;
/** @var int */
public $interval_us = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -746,7 +746,7 @@ namespace grpc\testing {
public function hasSize(){
return $this->_has(1);
}
/**
* Clear <size> value
*
@ -755,7 +755,7 @@ namespace grpc\testing {
public function clearSize(){
return $this->_clear(1);
}
/**
* Get <size> value
*
@ -764,7 +764,7 @@ namespace grpc\testing {
public function getSize(){
return $this->_get(1);
}
/**
* Set <size> value
*
@ -774,7 +774,7 @@ namespace grpc\testing {
public function setSize( $value){
return $this->_set(1, $value);
}
/**
* Check if <interval_us> has a value
*
@ -783,7 +783,7 @@ namespace grpc\testing {
public function hasIntervalUs(){
return $this->_has(2);
}
/**
* Clear <interval_us> value
*
@ -792,7 +792,7 @@ namespace grpc\testing {
public function clearIntervalUs(){
return $this->_clear(2);
}
/**
* Get <interval_us> value
*
@ -801,7 +801,7 @@ namespace grpc\testing {
public function getIntervalUs(){
return $this->_get(2);
}
/**
* Set <interval_us> value
*
@ -820,13 +820,13 @@ namespace grpc\testing {
/** @var int - \grpc\testing\PayloadType */
public $response_type = null;
/** @var \grpc\testing\ResponseParameters[] */
public $response_parameters = array();
/** @var \grpc\testing\Payload */
public $payload = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -877,7 +877,7 @@ namespace grpc\testing {
public function hasResponseType(){
return $this->_has(1);
}
/**
* Clear <response_type> value
*
@ -886,7 +886,7 @@ namespace grpc\testing {
public function clearResponseType(){
return $this->_clear(1);
}
/**
* Get <response_type> value
*
@ -895,7 +895,7 @@ namespace grpc\testing {
public function getResponseType(){
return $this->_get(1);
}
/**
* Set <response_type> value
*
@ -905,7 +905,7 @@ namespace grpc\testing {
public function setResponseType( $value){
return $this->_set(1, $value);
}
/**
* Check if <response_parameters> has a value
*
@ -914,7 +914,7 @@ namespace grpc\testing {
public function hasResponseParameters(){
return $this->_has(2);
}
/**
* Clear <response_parameters> value
*
@ -923,7 +923,7 @@ namespace grpc\testing {
public function clearResponseParameters(){
return $this->_clear(2);
}
/**
* Get <response_parameters> value
*
@ -933,7 +933,7 @@ namespace grpc\testing {
public function getResponseParameters($idx = NULL){
return $this->_get(2, $idx);
}
/**
* Set <response_parameters> value
*
@ -943,7 +943,7 @@ namespace grpc\testing {
public function setResponseParameters(\grpc\testing\ResponseParameters $value, $idx = NULL){
return $this->_set(2, $value, $idx);
}
/**
* Get all elements of <response_parameters>
*
@ -952,7 +952,7 @@ namespace grpc\testing {
public function getResponseParametersList(){
return $this->_get(2);
}
/**
* Add a new element to <response_parameters>
*
@ -962,7 +962,7 @@ namespace grpc\testing {
public function addResponseParameters(\grpc\testing\ResponseParameters $value){
return $this->_add(2, $value);
}
/**
* Check if <payload> has a value
*
@ -971,7 +971,7 @@ namespace grpc\testing {
public function hasPayload(){
return $this->_has(3);
}
/**
* Clear <payload> value
*
@ -980,7 +980,7 @@ namespace grpc\testing {
public function clearPayload(){
return $this->_clear(3);
}
/**
* Get <payload> value
*
@ -989,7 +989,7 @@ namespace grpc\testing {
public function getPayload(){
return $this->_get(3);
}
/**
* Set <payload> value
*
@ -1008,7 +1008,7 @@ namespace grpc\testing {
/** @var \grpc\testing\Payload */
public $payload = null;
/** @var \Closure[] */
protected static $__extensions = array();
@ -1041,7 +1041,7 @@ namespace grpc\testing {
public function hasPayload(){
return $this->_has(1);
}
/**
* Clear <payload> value
*
@ -1050,7 +1050,7 @@ namespace grpc\testing {
public function clearPayload(){
return $this->_clear(1);
}
/**
* Get <payload> value
*
@ -1059,7 +1059,7 @@ namespace grpc\testing {
public function getPayload(){
return $this->_get(1);
}
/**
* Set <payload> value
*

@ -83,7 +83,7 @@ class LonelyRearLinkTest(unittest.TestCase):
with fore_link.condition:
self.assertIsNot(fore_link.tickets[-1].kind, packets.Kind.COMPLETION)
@unittest.skip('TODO(nathaniel): This seems to have broken in the last few weeks; fix it.')
def testLonelyClientCommencementPacket(self):
self._perform_lonely_client_test_with_ticket_kind(

@ -181,7 +181,7 @@ class RpcMethod(object):
class Server(object):
"""A GRPC Server."""
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def start(self):

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -1,11 +1,11 @@
// Copyright 2015, Google Inc.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
@ -15,7 +15,7 @@
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

@ -40,13 +40,13 @@ TEST = (os.environ.get('TEST', 'false') == 'true')
_TOP_LEVEL_KEYS = ['settings', 'filegroups', 'libs', 'targets']
_VERSION_KEYS = ['major', 'minor', 'micro', 'build']
_ELEM_KEYS = [
'name',
'build',
'name',
'build',
'run',
'language',
'public_headers',
'headers',
'src',
'language',
'public_headers',
'headers',
'src',
'deps']
def rebuild_as_ordered_dict(indict, special_keys):

@ -55,4 +55,4 @@ main() {
}
set -x
main "$@"
main "$@"

@ -50,4 +50,4 @@ main() {
}
set -x
main "$@"
main "$@"

@ -281,4 +281,4 @@ find_named_ip() {
gcloud compute addresses list | sed -e 's/ \+/ /g' \
| grep $name | cut -d' ' -f 3
}
}

@ -1117,4 +1117,4 @@ _grpc_gce_test_flags() {
echo " --default_service_account=155450119199-r5aaqa2vqoa9g5mv2m6s3m1l293rlmel@developer.gserviceaccount.com --oauth_scope=https://www.googleapis.com/auth/xapi.zoo"
}
# TODO(grpc-team): add grpc_interop_gen_xxx_cmd for python
# TODO(grpc-team): add grpc_interop_gen_xxx_cmd for python

@ -64,4 +64,4 @@ main() {
}
set -x
main "$@"
main "$@"

@ -179,4 +179,4 @@ main() {
}
set -x
main "$@"
main "$@"

@ -167,4 +167,4 @@ main() {
}
set -x
main "$@"
main "$@"

@ -534,4 +534,4 @@ grpc_docker_sync_service_account() {
return 1
}
gsutil cp $src $gcs_acct_path $local_acct_path
}
}

@ -45,4 +45,4 @@ export GRPC_NO_INSTALL=yes
cd src/node
npm install
npm install

@ -44,4 +44,4 @@ cd src/php
cd ext/grpc
phpize
./configure --enable-grpc=$root
make
make

@ -40,4 +40,4 @@ virtualenv python2.7_virtual_environment
ln -sf $root/include/grpc python2.7_virtual_environment/include/grpc
source python2.7_virtual_environment/bin/activate
pip install enum34==1.0.4 futures==2.2.0 protobuf==3.0.0-alpha-1
CFLAGS=-I$root/include LDFLAGS=-L$root/libs/opt pip install src/python/src
CFLAGS=-I$root/include LDFLAGS=-L$root/libs/opt pip install src/python/src

@ -35,4 +35,4 @@ cd $(dirname $0)/../..
root=`pwd`
$root/src/node/node_modules/mocha/bin/mocha $root/src/node/test
$root/src/node/node_modules/mocha/bin/mocha $root/src/node/test

@ -51,4 +51,4 @@ python2.7 -B -m grpc.framework.face.future_invocation_asynchronous_event_service
python2.7 -B -m grpc.framework.foundation._later_test
python2.7 -B -m grpc.framework.foundation._logging_pool_test
# TODO(nathaniel): Get tests working under 3.4 (requires 3.X-friendly protobuf)
# python3.4 -B -m unittest discover -s src/python -p '*.py'
# python3.4 -B -m unittest discover -s src/python -p '*.py'

Loading…
Cancel
Save