Big testing system commit
[reactos.git] / rostests / rosautotest / CWineTest.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 functions for handling Wine tests
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
6 */
7
8 class CWineTest : public CTest
9 {
10 private:
11 HANDLE m_hFind;
12 HANDLE m_hReadPipe;
13 HANDLE m_hWritePipe;
14 PCHAR m_ListBuffer;
15 STARTUPINFOW m_StartupInfo;
16 string m_CurrentTest;
17 wstring m_CurrentFile;
18 wstring m_CurrentListCommand;
19 wstring m_TestPath;
20
21 bool GetNextFile();
22 bool GetNextTest();
23 CTestInfo* GetNextTestInfo();
24 DWORD DoListCommand();
25 void RunTest(CTestInfo* TestInfo);
26
27 public:
28 CWineTest();
29 ~CWineTest();
30
31 void Run();
32 };