From aeaa1da161f79d328f05c5a40708a9e61ca45c46 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 27 Jun 2010 20:05:06 +0000 Subject: Renamed encoding_t to xml_encoding, renamed xpath_type_t to xpath_value_type git-svn-id: http://pugixml.googlecode.com/svn/trunk@544 99668b35-9821-0410-8761-19e4c4f06640 --- tests/writer_string.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/writer_string.cpp') diff --git a/tests/writer_string.cpp b/tests/writer_string.cpp index b2c089f..878a103 100644 --- a/tests/writer_string.cpp +++ b/tests/writer_string.cpp @@ -39,7 +39,7 @@ std::basic_string xml_writer_string::as_string() const return std::basic_string(reinterpret_cast(contents.data()), contents.size() / sizeof(pugi::char_t)); } -std::string save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::encoding_t encoding) +std::string save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::xml_encoding encoding) { xml_writer_string writer; @@ -48,12 +48,12 @@ std::string save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi: return writer.as_narrow(); } -bool test_save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::encoding_t encoding, const char* expected, size_t length) +bool test_save_narrow(const pugi::xml_document& doc, unsigned int flags, pugi::xml_encoding encoding, const char* expected, size_t length) { return test_narrow(save_narrow(doc, flags, encoding), expected, length); } -std::string write_narrow(pugi::xml_node node, unsigned int flags, pugi::encoding_t encoding) +std::string write_narrow(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding) { xml_writer_string writer; @@ -62,12 +62,12 @@ std::string write_narrow(pugi::xml_node node, unsigned int flags, pugi::encoding return writer.as_narrow(); } -bool test_write_narrow(pugi::xml_node node, unsigned int flags, pugi::encoding_t encoding, const char* expected, size_t length) +bool test_write_narrow(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding, const char* expected, size_t length) { return test_narrow(write_narrow(node, flags, encoding), expected, length); } -std::wstring write_wide(pugi::xml_node node, unsigned int flags, pugi::encoding_t encoding) +std::wstring write_wide(pugi::xml_node node, unsigned int flags, pugi::xml_encoding encoding) { xml_writer_string writer; -- cgit v1.2.3