blob: 39dabd7dc51ad46fbd910762f3bc378021c73850 [file] [log] [blame]
Shih-wei Liao5460a1f2012-03-16 22:41:16 -07001//===- 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 MCLD_SYMBOLCATEGORY_TEST_H
10#define MCLD_SYMBOLCATEGORY_TEST_H
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070011
12#include <gtest.h>
13
Stephen Hines37b74a32014-11-26 18:48:20 -080014namespace mcld {
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070015class SymbolCategory;
16
Stephen Hines37b74a32014-11-26 18:48:20 -080017} // namespace for mcld
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070018
Stephen Hines37b74a32014-11-26 18:48:20 -080019namespace mcldtest {
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070020
21/** \class SymbolCategoryTest
22 * \brief The testcases of symbol category.
23 *
Stephen Hines551ae4e2014-04-24 14:41:24 -070024 * \see SymbolCategory
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070025 */
Stephen Hines37b74a32014-11-26 18:48:20 -080026class SymbolCategoryTest : public ::testing::Test {
27 public:
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070028 // Constructor can do set-up work for all test here.
29 SymbolCategoryTest();
30
31 // Destructor can do clean-up work that doesn't throw exceptions here.
32 virtual ~SymbolCategoryTest();
33
34 // SetUp() will be called immediately before each test.
35 virtual void SetUp();
36
37 // TearDown() will be called immediately after each test.
38 virtual void TearDown();
39
Stephen Hines37b74a32014-11-26 18:48:20 -080040 protected:
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070041 mcld::SymbolCategory* m_pTestee;
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070042};
43
Stephen Hines37b74a32014-11-26 18:48:20 -080044} // namespace of mcldtest
Shih-wei Liao5460a1f2012-03-16 22:41:16 -070045
46#endif