diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-10 20:14:04 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-10 20:14:04 +0000 |
commit | 52aa5325f333d263f9845b9f182350c5e0194cc3 (patch) | |
tree | 57024ef3ea203212279bc341b05c4011b50f6822 /tests/main.cpp | |
parent | 78eddacef534e450735598dc960a25c41baf4e36 (diff) |
Initial test building support along with a stub test file
git-svn-id: http://pugixml.googlecode.com/svn/trunk@138 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/main.cpp')
-rw-r--r-- | tests/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp new file mode 100644 index 0000000..ab3187c --- /dev/null +++ b/tests/main.cpp @@ -0,0 +1,10 @@ +#include "../src/pugixml.hpp"
+
+int main()
+{
+ pugi::xml_document doc;
+ doc.load("<node/>");
+ doc.select_single_node("node");
+
+ // doc.select_single_node("//"); - fails? why? :)
+}
|