Forgetting to save really sucks. Sorry again for the wasted commit.
[reactos.git] / rostests / rosautotest / CTest.h
1 /*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Class implementing a generic Test, needs to be used by a derived class
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
6 */
7
8 class CTest
9 {
10 private:
11 virtual CTestInfo* GetNextTestInfo() = 0;
12
13 public:
14 virtual void Run() = 0;
15
16 /* All CTestList-derived classes need to access the private GetNextTestInfo method */
17 friend class CJournaledTestList;
18 friend class CVirtualTestList;
19 };