1 //===- GraphTest.h --------------------------------------------------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #ifndef MCLD_GRAPH_TEST_H 10 #define MCLD_GRAPH_TEST_H 11 12 #include <gtest.h> 13 14 namespace mcld { 15 namespace test { 16 17 class GraphTest : public ::testing::Test { 18 public: 19 // Constructor can do set-up work for all test here. 20 GraphTest(); 21 22 // Destructor can do clean-up work that doesn't throw exceptions here. 23 virtual ~GraphTest(); 24 25 // SetUp() will be called immediately before each test. 26 virtual void SetUp(); 27 28 // TearDown() will be called immediately after each test. 29 virtual void TearDown(); 30 }; 31 32 } // namespace of test 33 } // namespace of mcld 34 35 #endif 36