Shih-wei Liao | 5460a1f | 2012-03-16 22:41:16 -0700 | [diff] [blame^] | 1 | //===- HashTableTest.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 | |
| 10 | #ifndef MCLD_HASH_TABLE_TEST_H |
| 11 | #define MCLD_HASH_TABLE_TEST_H |
| 12 | |
| 13 | #include <gtest.h> |
| 14 | |
| 15 | namespace mcldtest |
| 16 | { |
| 17 | |
| 18 | /** \class HashTableTest |
| 19 | * \brief Testcase for HashTable |
| 20 | * |
| 21 | * \see HashTable |
| 22 | */ |
| 23 | class HashTableTest : public ::testing::Test |
| 24 | { |
| 25 | public: |
| 26 | // Constructor can do set-up work for all test here. |
| 27 | HashTableTest(); |
| 28 | |
| 29 | // Destructor can do clean-up work that doesn't throw exceptions here. |
| 30 | virtual ~HashTableTest(); |
| 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 | |