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