• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- PathTest.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 PATH_TEST_H
10 #define PATH_TEST_H
11 
12 #include "mcld/Support/Path.h"
13 #include <gtest.h>
14 
15 namespace mcldtest {
16 
17 /** \class PathTest
18  *  \brief a testcase for mcld::Path and its non-member funtions.
19  *
20  *  \see Path
21  */
22 class PathTest : public ::testing::Test {
23  public:
24   // Constructor can do set-up work for all test here.
25   PathTest();
26 
27   // Destructor can do clean-up work that doesn't throw exceptions here.
28   virtual ~PathTest();
29 
30   // SetUp() will be called immediately before each test.
31   virtual void SetUp();
32 
33   // TearDown() will be called immediately after each test.
34   virtual void TearDown();
35 
36  protected:
37   mcld::sys::fs::Path* m_pTestee;
38 };
39 
40 }  // namespace of mcldtest
41 
42 #endif
43