blob: d36bda1a5701f26ed403e368d46ccebc364d9e20 [file] [log] [blame]
Stephen Hinesf33f6de2014-02-14 18:00:16 -08001//===- 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_${CLASS_NAME}_TEST_H
10#define MCLD_${CLASS_NAME}_TEST_H
11
12#include <gtest.h>
13
14namespace mcld {
15
16class ${class_name};
17
18namespace test {
19
20class ${class_name}Test : public ::testing::Test
21{
22public:
23 // Constructor can do set-up work for all test here.
24 ${class_name}Test();
25
26 // Destructor can do clean-up work that doesn't throw exceptions here.
27 virtual ~${class_name}Test();
28
29 // SetUp() will be called immediately before each test.
30 virtual void SetUp();
31
32 // TearDown() will be called immediately after each test.
33 virtual void TearDown();
34};
35
36} // namespace of test
37} // namespace of mcld
38
39#endif
40