1 //===- FragmentRefTest.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 10 #ifndef MCLD_MCFRAGMENT_REF_TEST_H 11 #define MCLD_MCFRAGMENT_REF_TEST_H 12 13 #include <gtest.h> 14 15 namespace mcld { 16 class FragmentRef; 17 18 } // namespace for mcld 19 20 namespace mcldtest { 21 22 /** \class FragmentRefTest 23 * \brief Reference Test 24 * 25 * \see FragmentRef 26 */ 27 class FragmentRefTest : public ::testing::Test { 28 public: 29 // Constructor can do set-up work for all test here. 30 FragmentRefTest(); 31 32 // Destructor can do clean-up work that doesn't throw exceptions here. 33 virtual ~FragmentRefTest(); 34 35 // SetUp() will be called immediately before each test. 36 virtual void SetUp(); 37 38 // TearDown() will be called immediately after each test. 39 virtual void TearDown(); 40 }; 41 42 } // namespace of mcldtest 43 44 #endif 45