C++程序  |  43行  |  995 B

//===- TargetMachineTest.cpp ----------------------------------------------===//
//
//                     The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "TargetMachineTest.h"

using namespace mcld;
using namespace mcldTEST;


// Constructor can do set-up work for all test here.
TargetMachineTest::TargetMachineTest()
{
}

// Destructor can do clean-up work that doesn't throw exceptions here.
TargetMachineTest::~TargetMachineTest()
{
}

// SetUp() will be called immediately before each test.
void TargetMachineTest::SetUp()
{
}

// TearDown() will be called immediately after each test.
void TargetMachineTest::TearDown()
{
}

//==========================================================================//
// Testcases
//

TEST_F( TargetMachineTest, addPassesToEmitFile ) {
	mcld::addPassesToEmitFile();
}