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