mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
- Abstract unidirectional anonymous pipes into a CPipe class - Abstract a process with redirected output into a CPipedProcess class - Use these abstractions to avoid polling for output from test processes. Instead, use blocking read operations to yield the CPU while waiting for data. ROSTESTS-144 #resolve svn path=/trunk/; revision=66316
30 lines
692 B
C++
30 lines
692 B
C++
/*
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
|
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
|
|
* PURPOSE: Class implementing functions for handling Wine tests
|
|
* COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
|
|
*/
|
|
|
|
class CWineTest : public CTest
|
|
{
|
|
private:
|
|
HANDLE m_hFind;
|
|
PCHAR m_ListBuffer;
|
|
string m_CurrentTest;
|
|
wstring m_CurrentFile;
|
|
wstring m_CurrentListCommand;
|
|
wstring m_TestPath;
|
|
|
|
bool GetNextFile();
|
|
bool GetNextTest();
|
|
CTestInfo* GetNextTestInfo();
|
|
DWORD DoListCommand();
|
|
void RunTest(CTestInfo* TestInfo);
|
|
|
|
public:
|
|
CWineTest();
|
|
~CWineTest();
|
|
|
|
void Run();
|
|
};
|