1//===- headerTest.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 STATICRESOLVER_TEST_H 10#define STATICRESOLVER_TEST_H 11 12#include <gtest.h> 13 14namespace mcld 15{ 16class StaticResolver; 17class ResolveInfoFactory; 18 19} // namespace for mcld 20 21namespace mcldtest 22{ 23 24/** \class StaticResolverTest 25 * \brief The testcases for static resolver 26 * 27 * \see StaticResolver 28 */ 29class StaticResolverTest : public ::testing::Test 30{ 31public: 32 // Constructor can do set-up work for all test here. 33 StaticResolverTest(); 34 35 // Destructor can do clean-up work that doesn't throw exceptions here. 36 virtual ~StaticResolverTest(); 37 38 // SetUp() will be called immediately before each test. 39 virtual void SetUp(); 40 41 // TearDown() will be called immediately after each test. 42 virtual void TearDown(); 43 44protected: 45 mcld::StaticResolver* m_pResolver; 46 mcld::ResolveInfoFactory* m_pFactory; 47}; 48 49} // namespace of mcldtest 50 51#endif 52 53