• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- DirIteratorTest.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_DIR_ITERATOR_TEST_H
10 #define MCLD_DIR_ITERATOR_TEST_H
11 
12 #include <gtest.h>
13 
14 namespace mcld {
15 namespace sys {
16 namespace fs {
17 class Directory;
18 class DirIterator;
19 }
20 }
21 } // namespace for mcld
22 
23 namespace mcldtest
24 {
25 
26 /** \class DirIteratorTest
27  *  \brief
28  *
29  *  \see DirIterator
30  */
31 class DirIteratorTest : public ::testing::Test
32 {
33 public:
34 	// Constructor can do set-up work for all test here.
35 	DirIteratorTest();
36 
37 	// Destructor can do clean-up work that doesn't throw exceptions here.
38 	virtual ~DirIteratorTest();
39 
40 	// SetUp() will be called immediately before each test.
41 	virtual void SetUp();
42 
43 	// TearDown() will be called immediately after each test.
44 	virtual void TearDown();
45 protected:
46 	mcld::sys::fs::Directory *m_pDir;
47 };
48 
49 } // namespace of mcldtest
50 
51 #endif
52 
53