| //===- InputTreeTest.h ----------------------------------------------------===// |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| #ifndef UNITTESTS_INPUTTREE_TEST_H |
| #define UNITTESTS_INPUTTREE_TEST_H |
| #include "mcld/MC/ContextFactory.h" |
| #include "mcld/Support/MemoryAreaFactory.h" |
| class InputTreeTest : public ::testing::Test { |
| // Constructor can do set-up work for all test here. |
| // Destructor can do clean-up work that doesn't throw exceptions here. |
| virtual ~InputTreeTest(); |
| // SetUp() will be called immediately before each test. |
| // TearDown() will be called immediately after each test. |
| mcld::LinkerConfig* m_pConfig; |
| mcld::InputFactory* m_pAlloc; |
| mcld::InputBuilder* m_pBuilder; |
| mcld::MemoryAreaFactory m_MemFactory; |
| mcld::ContextFactory m_ContextFactory; |
| mcld::InputTree* m_pTestee; |