reactos/rostests/rosautotest/CWineTest.h

33 lines
773 B
C
Raw Normal View History

/*
* 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;
HANDLE m_hReadPipe;
HANDLE m_hWritePipe;
PCHAR m_ListBuffer;
STARTUPINFOW m_StartupInfo;
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();
};