/*
- Copyright (C) 2012-2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
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
*/
-extern std::string test_corpus;
+namespace xmlpp {
+ class Element;
+}
-class TestFile
-{
-public:
- TestFile (boost::filesystem::path file);
- ~TestFile ();
-
- uint8_t* data () const {
- return _data;
- }
-
- int64_t size () const {
- return _size;
- }
-
-private:
- uint8_t* _data;
- int64_t _size;
-};
+extern boost::filesystem::path private_test;
+extern void check_xml (xmlpp::Element* ref, xmlpp::Element* test, std::list<std::string> ignore);
+extern void check_xml (std::string ref, std::string test, std::list<std::string> ignore);