|
|
@ -25,6 +25,7 @@ |
|
|
|
#include "gmock/gmock.h" |
|
|
|
#include "gmock/gmock.h" |
|
|
|
#include "gtest/gtest.h" |
|
|
|
#include "gtest/gtest.h" |
|
|
|
#include "include/grpc++/grpc++.h" |
|
|
|
#include "include/grpc++/grpc++.h" |
|
|
|
|
|
|
|
#include "include/grpcpp/opencensus.h" |
|
|
|
#include "opencensus/stats/stats.h" |
|
|
|
#include "opencensus/stats/stats.h" |
|
|
|
#include "opencensus/stats/testing/test_utils.h" |
|
|
|
#include "opencensus/stats/testing/test_utils.h" |
|
|
|
#include "src/cpp/ext/filters/census/grpc_plugin.h" |
|
|
|
#include "src/cpp/ext/filters/census/grpc_plugin.h" |
|
|
@ -58,7 +59,7 @@ class EchoServer final : public EchoTestService::Service { |
|
|
|
|
|
|
|
|
|
|
|
class StatsPluginEnd2EndTest : public ::testing::Test { |
|
|
|
class StatsPluginEnd2EndTest : public ::testing::Test { |
|
|
|
protected: |
|
|
|
protected: |
|
|
|
static void SetUpTestCase() { grpc_impl::RegisterOpenCensusPlugin(); } |
|
|
|
static void SetUpTestCase() { grpc::RegisterOpenCensusPlugin(); } |
|
|
|
|
|
|
|
|
|
|
|
void SetUp() { |
|
|
|
void SetUp() { |
|
|
|
// Set up a synchronous server on a different thread to avoid the asynch
|
|
|
|
// Set up a synchronous server on a different thread to avoid the asynch
|
|
|
|