summaryrefslogtreecommitdiffstats
path: root/src/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.h')
-rw-r--r--src/test.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test.h b/src/test.h
new file mode 100644
index 0000000..4d45a2e
--- /dev/null
+++ b/src/test.h
@@ -0,0 +1,12 @@
+#include "ninja.h"
+
+#include <gtest/gtest.h>
+
+struct StateTestWithBuiltinRules : public testing::Test {
+ StateTestWithBuiltinRules();
+ Node* GetNode(const string& path);
+
+ State state_;
+};
+
+void AssertParse(State* state, const char* input);