| //===- FactoriesTest.h ----------------------------------------------------===// |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| #include "mcld/ADT/TreeAllocator.h" |
| #include "mcld/MC/MCLDFile.h" |
| * \brief Test cases for factories - NodeFactory and MCLDFileFactory. |
| class FactoriesTest : 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 ~FactoriesTest(); |
| // SetUp() will be called immediately before each test. |
| // TearDown() will be called immediately after each test. |
| typedef mcld::NodeFactory<int> NodeAlloc; |
| typedef mcld::MCLDFileFactory FileAlloc; |
| } // namespace of mcldtest |