1 //===- TargetMachineTest.cpp ----------------------------------------------===// 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 #include "TargetMachineTest.h" 10 11 using namespace mcld; 12 using namespace mcldTEST; 13 14 15 // Constructor can do set-up work for all test here. 16 TargetMachineTest::TargetMachineTest() 17 { 18 } 19 20 // Destructor can do clean-up work that doesn't throw exceptions here. 21 TargetMachineTest::~TargetMachineTest() 22 { 23 } 24 25 // SetUp() will be called immediately before each test. 26 void TargetMachineTest::SetUp() 27 { 28 } 29 30 // TearDown() will be called immediately after each test. 31 void TargetMachineTest::TearDown() 32 { 33 } 34 35 //==========================================================================// 36 // Testcases 37 // 38 39 TEST_F( TargetMachineTest, addPassesToEmitFile ) { 40 mcld::addPassesToEmitFile(); 41 } 42 43