Parcourir la source

[trac555] Remove redundant test class from OutputOption

... and convert from using TEST_F to TEST.
Stephen Morris il y a 14 ans
Parent
commit
a61bc91e41
1 fichiers modifiés avec 1 ajouts et 11 suppressions
  1. 1 11
      src/lib/log/tests/output_option_unittest.cc

+ 1 - 11
src/lib/log/tests/output_option_unittest.cc

@@ -21,20 +21,10 @@
 using namespace isc::log;
 using namespace isc::log;
 using namespace std;
 using namespace std;
 
 
-/// \brief OutputOption Test
-class OutputOptionTest : public ::testing::Test {
-public:
-    OutputOptionTest()
-    {}
-    ~OutputOptionTest()
-    {}
-};
-
-
 // As OutputOption is a struct, the only meaningful test is to check that it
 // As OutputOption is a struct, the only meaningful test is to check that it
 // initializes correctly.
 // initializes correctly.
 
 
-TEST_F(OutputOptionTest, Initialization) {
+TEST(OutputOptionTest, Initialization) {
     OutputOption option;
     OutputOption option;
 
 
     EXPECT_EQ(OutputOption::DEST_CONSOLE, option.destination);
     EXPECT_EQ(OutputOption::DEST_CONSOLE, option.destination);