Fixed tests in NO_STL mode and IntelC deprecated constant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
981a445319
commit
1172d9bc4a
@ -292,7 +292,10 @@ namespace pugi
|
|||||||
const unsigned int format_write_bom = 0x02;
|
const unsigned int format_write_bom = 0x02;
|
||||||
|
|
||||||
// \deprecated This constant is deprecated and will be removed in future versions; use format_write_bom instead
|
// \deprecated This constant is deprecated and will be removed in future versions; use format_write_bom instead
|
||||||
PUGIXML_DEPRECATED const unsigned int format_write_bom_utf8 = format_write_bom;
|
#ifndef __INTEL_COMPILER
|
||||||
|
PUGIXML_DEPRECATED
|
||||||
|
#endif
|
||||||
|
const unsigned int format_write_bom_utf8 = format_write_bom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this flag is on, no indentation is performed and no line breaks are written to output file.
|
* If this flag is on, no indentation is performed and no line breaks are written to output file.
|
||||||
|
|||||||
@ -45,6 +45,7 @@ TEST(document_parse_transfer_ownership)
|
|||||||
CHECK_NODE(doc, STR("<node />"));
|
CHECK_NODE(doc, STR("<node />"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef PUGIXML_NO_STL
|
||||||
// as_utf16 - it's now as_wide
|
// as_utf16 - it's now as_wide
|
||||||
TEST(as_utf16)
|
TEST(as_utf16)
|
||||||
{
|
{
|
||||||
@ -57,3 +58,4 @@ TEST(as_utf16)
|
|||||||
CHECK(as_utf16("?\xd0\x80\xe2\x80\xbd") == L"?\x0400\x203D");
|
CHECK(as_utf16("?\xd0\x80\xe2\x80\xbd") == L"?\x0400\x203D");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user