From 2463d180f3efa2b29693427e5d94e609daa032e7 Mon Sep 17 00:00:00 2001 From: "leilei.gll" Date: Thu, 14 Mar 2019 15:11:32 +0800 Subject: [PATCH] remove remains of TestBase Signed-off-by: leilei.gll --- .../filters/network/dubbo_proxy/app_exception_test.cc | 3 +-- test/extensions/filters/network/dubbo_proxy/router_test.cc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/extensions/filters/network/dubbo_proxy/app_exception_test.cc b/test/extensions/filters/network/dubbo_proxy/app_exception_test.cc index 7d4e7b1bf222..0fa7c8dd0e9f 100644 --- a/test/extensions/filters/network/dubbo_proxy/app_exception_test.cc +++ b/test/extensions/filters/network/dubbo_proxy/app_exception_test.cc @@ -7,7 +7,6 @@ #include "extensions/filters/network/dubbo_proxy/metadata.h" #include "test/extensions/filters/network/dubbo_proxy/mocks.h" -#include "test/test_common/test_base.h" #include "gmock/gmock.h" #include "gtest/gtest.h" @@ -20,7 +19,7 @@ namespace Extensions { namespace NetworkFilters { namespace DubboProxy { -class AppExceptionTest : public TestBase { +class AppExceptionTest : public testing::Test { public: AppExceptionTest() : metadata_(std::make_shared()) {} diff --git a/test/extensions/filters/network/dubbo_proxy/router_test.cc b/test/extensions/filters/network/dubbo_proxy/router_test.cc index c3cb7f5e6196..59d071a8d4a2 100644 --- a/test/extensions/filters/network/dubbo_proxy/router_test.cc +++ b/test/extensions/filters/network/dubbo_proxy/router_test.cc @@ -8,7 +8,6 @@ #include "test/mocks/server/mocks.h" #include "test/test_common/printers.h" #include "test/test_common/registry.h" -#include "test/test_common/test_base.h" #include "gtest/gtest.h" @@ -227,7 +226,7 @@ class DubboRouterTestBase { NiceMock upstream_connection_; }; -class DubboRouterTest : public DubboRouterTestBase, public TestBase {}; +class DubboRouterTest : public DubboRouterTestBase, public testing::Test {}; TEST_F(DubboRouterTest, PoolRemoteConnectionFailure) { initializeRouter();