Big testing system commit
[reactos.git] / rostests / rosautotest / CWebService.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 the interface to the "testman" Web Service
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
6 */
7
8 class CWebService
9 {
10 private:
11 HINTERNET m_hInet;
12 HINTERNET m_hHTTP;
13 HINTERNET m_hHTTPRequest;
14 PCHAR m_TestID;
15
16 PCHAR DoRequest(const string& InputData);
17 void GetTestID(const char* TestType);
18 PCHAR GetSuiteID(const char* TestType, CTestInfo* TestInfo);
19
20 public:
21 CWebService();
22 ~CWebService();
23
24 void Submit(const char* TestType, CTestInfo* TestInfo);
25 };