瀏覽代碼

Fix tests namespaces

Karthik Ravi Shankar 6 年之前
父節點
當前提交
0692dcc16a
共有 4 個文件被更改,包括 0 次插入16 次删除
  1. 0 5
      test/cpp/end2end/end2end_test.cc
  2. 0 5
      test/cpp/end2end/thread_stress_test.cc
  3. 0 5
      test/cpp/qps/server.h
  4. 0 1
      test/cpp/qps/server_async.cc

+ 0 - 5
test/cpp/end2end/end2end_test.cc

@@ -64,11 +64,6 @@ using std::chrono::system_clock;
     }                   \
     }                   \
   } while (0)
   } while (0)
 
 
-namespace grpc_impl {
-
-class ResourceQuota;
-}
-
 namespace grpc {
 namespace grpc {
 namespace testing {
 namespace testing {
 namespace {
 namespace {

+ 0 - 5
test/cpp/end2end/thread_stress_test.cc

@@ -48,11 +48,6 @@ const int kNumAsyncReceiveThreads = 50;
 const int kNumAsyncServerThreads = 50;
 const int kNumAsyncServerThreads = 50;
 const int kNumRpcs = 1000;  // Number of RPCs per thread
 const int kNumRpcs = 1000;  // Number of RPCs per thread
 
 
-namespace grpc_impl {
-
-class ResourceQuota;
-}
-
 namespace grpc {
 namespace grpc {
 namespace testing {
 namespace testing {
 
 

+ 0 - 5
test/cpp/qps/server.h

@@ -34,11 +34,6 @@
 #include "test/cpp/qps/usage_timer.h"
 #include "test/cpp/qps/usage_timer.h"
 #include "test/cpp/util/test_credentials_provider.h"
 #include "test/cpp/util/test_credentials_provider.h"
 
 
-namespace grpc_impl {
-
-class ResourceQuota;
-}
-
 namespace grpc {
 namespace grpc {
 namespace testing {
 namespace testing {
 
 

+ 0 - 1
test/cpp/qps/server_async.cc

@@ -27,7 +27,6 @@
 #include <grpc/support/alloc.h>
 #include <grpc/support/alloc.h>
 #include <grpc/support/log.h>
 #include <grpc/support/log.h>
 #include <grpcpp/generic/async_generic_service.h>
 #include <grpcpp/generic/async_generic_service.h>
-//#include <grpcpp/resource_quota.h>
 #include <grpcpp/security/server_credentials.h>
 #include <grpcpp/security/server_credentials.h>
 #include <grpcpp/server.h>
 #include <grpcpp/server.h>
 #include <grpcpp/server_builder.h>
 #include <grpcpp/server_builder.h>