1//===- UniqueGCFactoryBaseTest.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 UNIQUE_GCFACTORYBASE_TEST_H
10#define UNIQUE_GCFACTORYBASE_TEST_H
11
12#include "mcld/Support/UniqueGCFactory.h"
13#include <gtest.h>
14
15namespace mcldtest
16{
17
18/** \class UniqueGCFactoryBaseTest
19 *  - check the unique of key.
20 *  - make sure the key associates with the same storage of value.
21 *  - check if all functions in the GCFactoryBase are available.
22 */
23class UniqueGCFactoryBaseTest : public ::testing::Test
24{
25public:
26	// Constructor can do set-up work for all test here.
27	UniqueGCFactoryBaseTest();
28
29	// Destructor can do clean-up work that doesn't throw exceptions here.
30	virtual ~UniqueGCFactoryBaseTest();
31
32	// SetUp() will be called immediately before each test.
33	virtual void SetUp();
34
35	// TearDown() will be called immediately after each test.
36	virtual void TearDown();
37};
38
39} // namespace of mcldtest
40
41#endif
42
43