[ROSAUTOTEST]
[reactos.git] / rostests / rosautotest / precomp.h
index adb25fb..fa752b8 100644 (file)
@@ -20,6 +20,7 @@ using namespace std;
 #include <reason.h>
 #include <shlobj.h>
 #include <wininet.h>
+#include <winreg.h>
 
 #include <ndk/rtlfuncs.h>
 #include <reactos/buildno.h>
@@ -29,8 +30,11 @@ using namespace std;
 #include "CConfiguration.h"
 #include "CFatalException.h"
 #include "CInvalidParameterException.h"
+#include "CPipe.h"
 #include "CProcess.h"
+#include "CPipedProcess.h"
 #include "CSimpleException.h"
+#include "CTestException.h"
 #include "CTestInfo.h"
 #include "CTest.h"
 #include "CTestList.h"
@@ -39,14 +43,22 @@ using namespace std;
 #include "CWebService.h"
 #include "CWineTest.h"
 
+#include <rosautotestmsg.h>
+
 /* Useful macros */
-#define EXCEPTION(Message)   throw CSimpleException(Message)
-#define FATAL(Message)       throw CFatalException(__FILE__, __LINE__, Message)
-#define SSEXCEPTION          throw CSimpleException(ss.str().c_str())
+#define EXCEPTION(Message)     throw CSimpleException(Message)
+#define FATAL(Message)         throw CFatalException(__FILE__, __LINE__, Message)
+#define SSEXCEPTION            throw CSimpleException(ss.str())
+#define TESTEXCEPTION(Message) throw CTestException(Message)
 
 /* main.c */
 extern CConfiguration Configuration;
 
+/* misc.c */
+VOID FreeLogs(VOID);
+VOID InitLogs(VOID);
+extern HANDLE hLog;
+
 /* shutdown.c */
 bool ShutdownSystem();