Shih-wei Liao | 22add6f | 2012-12-15 17:21:00 -0800 | [diff] [blame] | 1 | //===- LinkerTest.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_LINKER_TEST_H |
| 10 | #define MCLD_LINKER_TEST_H |
| 11 | |
| 12 | #include <gtest.h> |
| 13 | |
| 14 | namespace mcld { |
| 15 | |
| 16 | class Linker; |
| 17 | |
| 18 | namespace test { |
| 19 | |
Stephen Hines | 37b74a3 | 2014-11-26 18:48:20 -0800 | [diff] [blame] | 20 | class LinkerTest : public ::testing::Test { |
| 21 | public: |
Shih-wei Liao | 22add6f | 2012-12-15 17:21:00 -0800 | [diff] [blame] | 22 | // Constructor can do set-up work for all test here. |
| 23 | LinkerTest(); |
| 24 | |
| 25 | // Destructor can do clean-up work that doesn't throw exceptions here. |
| 26 | virtual ~LinkerTest(); |
| 27 | |
| 28 | // SetUp() will be called immediately before each test. |
| 29 | virtual void SetUp(); |
| 30 | |
| 31 | // TearDown() will be called immediately after each test. |
| 32 | virtual void TearDown(); |
| 33 | }; |
| 34 | |
Stephen Hines | 37b74a3 | 2014-11-26 18:48:20 -0800 | [diff] [blame] | 35 | } // namespace of test |
| 36 | } // namespace for mcld |
Shih-wei Liao | 22add6f | 2012-12-15 17:21:00 -0800 | [diff] [blame] | 37 | |
| 38 | #endif |