diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-08-19 21:18:14 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-08-24 23:41:54 -0700 |
commit | 8fd915ab8dfaf2a451fc46ecf225ea4d4400c64b (patch) | |
tree | 585aea595f5a3ccdbb3a444004c03d909dd677a3 /tools/run_tests | |
parent | 6de6cbf5995c6fb0a8d44d5f7437968d308e367c (diff) |
Adding grpc::string_ref class.
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
Diffstat (limited to 'tools/run_tests')
-rw-r--r-- | tools/run_tests/sources_and_headers.json | 21 | ||||
-rw-r--r-- | tools/run_tests/tests.json | 17 |
2 files changed, 38 insertions, 0 deletions
diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json index 627e6ac8c8..6154ff090c 100644 --- a/tools/run_tests/sources_and_headers.json +++ b/tools/run_tests/sources_and_headers.json @@ -1164,6 +1164,21 @@ ], "headers": [], "language": "c++", + "name": "cxx_string_ref_test", + "src": [ + "test/cpp/util/string_ref_test.cc" + ] + }, + { + "deps": [ + "gpr", + "gpr_test_util", + "grpc", + "grpc++", + "grpc_test_util" + ], + "headers": [], + "language": "c++", "name": "cxx_time_test", "src": [ "test/cpp/util/time_test.cc" @@ -13125,6 +13140,7 @@ "include/grpc++/status.h", "include/grpc++/status_code_enum.h", "include/grpc++/stream.h", + "include/grpc++/string_ref.h", "include/grpc++/stub_options.h", "include/grpc++/thread_pool_interface.h", "include/grpc++/time.h", @@ -13175,6 +13191,7 @@ "include/grpc++/status.h", "include/grpc++/status_code_enum.h", "include/grpc++/stream.h", + "include/grpc++/string_ref.h", "include/grpc++/stub_options.h", "include/grpc++/thread_pool_interface.h", "include/grpc++/time.h", @@ -13213,6 +13230,7 @@ "src/cpp/util/byte_buffer.cc", "src/cpp/util/slice.cc", "src/cpp/util/status.cc", + "src/cpp/util/string_ref.cc", "src/cpp/util/time.cc" ] }, @@ -13299,6 +13317,7 @@ "include/grpc++/status.h", "include/grpc++/status_code_enum.h", "include/grpc++/stream.h", + "include/grpc++/string_ref.h", "include/grpc++/stub_options.h", "include/grpc++/thread_pool_interface.h", "include/grpc++/time.h", @@ -13346,6 +13365,7 @@ "include/grpc++/status.h", "include/grpc++/status_code_enum.h", "include/grpc++/stream.h", + "include/grpc++/string_ref.h", "include/grpc++/stub_options.h", "include/grpc++/thread_pool_interface.h", "include/grpc++/time.h", @@ -13376,6 +13396,7 @@ "src/cpp/util/byte_buffer.cc", "src/cpp/util/slice.cc", "src/cpp/util/status.cc", + "src/cpp/util/string_ref.cc", "src/cpp/util/time.cc" ] }, diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json index 6b3183d48a..6e7a7c8f9a 100644 --- a/tools/run_tests/tests.json +++ b/tools/run_tests/tests.json @@ -1238,6 +1238,23 @@ ], "flaky": false, "language": "c++", + "name": "cxx_string_ref_test", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ] + }, + { + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "flaky": false, + "language": "c++", "name": "cxx_time_test", "platforms": [ "linux", |