Merge trunk HEAD (r46369)
[reactos.git] / reactos / tools / rbuild / test.h
index 94bd90e..69e131f 100644 (file)
@@ -1,11 +1,30 @@
-#ifndef __TEST_H
-#define __TEST_H
+/*
+ * Copyright (C) 2005 Casper S. Hornstrup
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#pragma once
 
 #include "rbuild.h"
 #include "backend/mingw/mingw.h"
 
+#define SSEP DEF_SSEP
+
 #define RBUILD_BASE "tools" SSEP "rbuild" SSEP
-       
+
 class BaseTest
 {
 public:
@@ -97,6 +116,9 @@ class IfTest : public BaseTest
 {
 public:
        void Run ();
+private:
+       void TestProjectIf ( Project& project );
+       void TestModuleIf ( Project& project );
 };
 
 
@@ -133,4 +155,8 @@ public:
        void Run ();
 };
 
-#endif /* __TEST_H */
+class CompilationUnitTest : public BaseTest
+{
+public:
+       void Run ();
+};