summaryrefslogtreecommitdiff
path: root/tests/test_header_only.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_header_only.cpp')
-rw-r--r--tests/test_header_only.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_header_only.cpp b/tests/test_header_only.cpp
deleted file mode 100644
index 17cafca..0000000
--- a/tests/test_header_only.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#define PUGIXML_HEADER_ONLY
-#define pugi pugih
-
-#include "common.hpp"
-
-// Check header guards
-#include "../src/pugixml.hpp"
-#include "../src/pugixml.hpp"
-
-TEST(header_only)
-{
- xml_document doc;
- CHECK(doc.load_string(STR("<node/>")));
- CHECK_STRING(doc.first_child().name(), STR("node"));
-
-#ifndef PUGIXML_NO_XPATH
- CHECK(doc.first_child() == doc.select_node(STR("//*")).node());
-#endif
-}