2009-03-21 01:39:04 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
|
|
|
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
|
|
|
|
* PURPOSE: Class implementing the interface to the "testman" Web Service
|
2015-03-01 11:19:30 +00:00
|
|
|
* COPYRIGHT: Copyright 2009-2015 Colin Finck <colin@reactos.org>
|
2009-03-21 01:39:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class CWebService
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
HINTERNET m_hInet;
|
|
|
|
HINTERNET m_hHTTP;
|
|
|
|
HINTERNET m_hHTTPRequest;
|
|
|
|
PCHAR m_TestID;
|
|
|
|
|
|
|
|
PCHAR DoRequest(const string& InputData);
|
|
|
|
void GetTestID(const char* TestType);
|
|
|
|
PCHAR GetSuiteID(const char* TestType, CTestInfo* TestInfo);
|
|
|
|
|
|
|
|
public:
|
|
|
|
CWebService();
|
|
|
|
~CWebService();
|
|
|
|
|
2015-03-01 11:19:30 +00:00
|
|
|
void Finish(const char* TestType);
|
2009-03-21 01:39:04 +00:00
|
|
|
void Submit(const char* TestType, CTestInfo* TestInfo);
|
|
|
|
};
|