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 // Constructor can do set-up work for all test here.
TargetMachineTest()15 TargetMachineTest::TargetMachineTest() {
16 }
17 
18 // Destructor can do clean-up work that doesn't throw exceptions here.
~TargetMachineTest()19 TargetMachineTest::~TargetMachineTest() {
20 }
21 
22 // SetUp() will be called immediately before each test.
SetUp()23 void TargetMachineTest::SetUp() {
24 }
25 
26 // TearDown() will be called immediately after each test.
TearDown()27 void TargetMachineTest::TearDown() {
28 }
29 
30 //==========================================================================//
31 // Testcases
32 //
33 
TEST_F(TargetMachineTest,addPassesToEmitFile)34 TEST_F(TargetMachineTest, addPassesToEmitFile) {
35   mcld::addPassesToEmitFile();
36 }
37