mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
65b4da13f4
- Finish a test run in the database when all tests have successfully been run. This got lost during the C++ rewrite of rosautotest in r40147. - Don't spam the logs with useless OK messages. Only report the web service response if an error occurred. svn path=/trunk/; revision=66516
26 lines
726 B
C++
26 lines
726 B
C++
/*
|
|
* 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
|
|
* COPYRIGHT: Copyright 2009-2015 Colin Finck <colin@reactos.org>
|
|
*/
|
|
|
|
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();
|
|
|
|
void Finish(const char* TestType);
|
|
void Submit(const char* TestType, CTestInfo* TestInfo);
|
|
};
|