Take the line number as an integer, the STRINGIZER macro didn't work as expected
[reactos.git] / rostests / rosautotest / precomp.h
1 /* General includes */
2 #include <iostream>
3 #include <memory>
4 #include <sstream>
5 #include <string>
6 #include <vector>
7
8 using namespace std;
9
10 #define WIN32_NO_STATUS
11 #include <windows.h>
12 #include <ndk/rtlfuncs.h>
13 #include <reason.h>
14 #include <shlobj.h>
15 #include <wininet.h>
16
17 #include <ndk/rtlfuncs.h>
18 #include <reactos/buildno.h>
19
20 /* Class includes */
21 #include "auto_array_ptr.h"
22 #include "CConfiguration.h"
23 #include "CFatalException.h"
24 #include "CInvalidParameterException.h"
25 #include "CProcess.h"
26 #include "CSimpleException.h"
27 #include "CTestInfo.h"
28 #include "CTest.h"
29 #include "CTestList.h"
30 #include "CJournaledTestList.h"
31 #include "CVirtualTestList.h"
32 #include "CWebService.h"
33 #include "CWineTest.h"
34
35 /* Useful macros */
36 #define EXCEPTION(Message) throw CSimpleException(Message)
37 #define FATAL(Message) throw CFatalException(__FILE__, __LINE__, Message)
38 #define SSEXCEPTION throw CSimpleException(ss.str().c_str())
39
40 /* main.c */
41 extern CConfiguration Configuration;
42
43 /* shutdown.c */
44 bool ShutdownSystem();
45
46 /* tools.c */
47 wstring AsciiToUnicode(const char* AsciiString);
48 wstring AsciiToUnicode(const string& AsciiString);
49 string EscapeString(const char* Input);
50 string EscapeString(const string& Input);
51 string GetINIValue(PCWCH AppName, PCWCH KeyName, PCWCH FileName);
52 bool IsNumber(const char* Input);
53 void StringOut(const string& String);
54 string UnicodeToAscii(PCWSTR UnicodeString);
55 string UnicodeToAscii(const wstring& UnicodeString);
56
57
58 /* Lazy HACK to allow compiling/debugging with MSVC while we lack support
59 for linking against "debugsup_ntdll" in MSVC */
60 #ifdef _MSC_VER
61 #define DbgPrint
62 #endif