Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: xfa/fde/xml/fde_xml_imp_unittest.cpp

Issue 2535723010: Rename IFX_Stream to IFGAS_Stream. (Closed)
Patch Set: rename more to IFGAS, {} Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fde/xml/fde_xml_imp.cpp ('k') | xfa/fgas/crt/fgas_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/xml/fde_xml_imp_unittest.cpp
diff --git a/xfa/fde/xml/fde_xml_imp_unittest.cpp b/xfa/fde/xml/fde_xml_imp_unittest.cpp
index e5bcb0acb2db88b334ba9bb2c449235fea787c0c..553afffd86f22f357f51f1e1896fed7b61c2876a 100644
--- a/xfa/fde/xml/fde_xml_imp_unittest.cpp
+++ b/xfa/fde/xml/fde_xml_imp_unittest.cpp
@@ -26,7 +26,7 @@ TEST(CFDE_XMLSyntaxParser, CData) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -84,7 +84,7 @@ TEST(CFDE_XMLSyntaxParser, CDataWithInnerScript) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -131,7 +131,7 @@ TEST(CFDE_XMLSyntaxParser, ArrowBangArrow) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -174,7 +174,7 @@ TEST(CFDE_XMLSyntaxParser, ArrowBangBracketArrow) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -211,7 +211,7 @@ TEST(CFDE_XMLSyntaxParser, IncompleteCData) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -248,7 +248,7 @@ TEST(CFDE_XMLSyntaxParser, UnClosedCData) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -285,7 +285,7 @@ TEST(CFDE_XMLSyntaxParser, EmptyCData) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -332,7 +332,7 @@ TEST(CFDE_XMLSyntaxParser, Comment) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -375,7 +375,7 @@ TEST(CFDE_XMLSyntaxParser, IncorrectCommentStart) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -418,7 +418,7 @@ TEST(CFDE_XMLSyntaxParser, CommentEmpty) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -461,7 +461,7 @@ TEST(CFDE_XMLSyntaxParser, CommentThreeDash) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -496,7 +496,7 @@ TEST(CFDE_XMLSyntaxParser, CommentTwoDash) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -535,7 +535,7 @@ TEST(CFDE_XMLSyntaxParser, Entities) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -575,7 +575,7 @@ TEST(CFDE_XMLSyntaxParser, EntityOverflowHex) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
@@ -615,7 +615,7 @@ TEST(CFDE_XMLSyntaxParser, EntityOverflowDecimal) {
// We * sizeof(FX_WCHAR) because we pass in the uint8_t, not the FX_WCHAR.
size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR);
- std::unique_ptr<IFX_Stream> stream(IFX_Stream::CreateStream(
+ std::unique_ptr<IFGAS_Stream> stream(IFGAS_Stream::CreateStream(
reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0));
CFDE_XMLSyntaxParser parser;
parser.Init(stream.get(), 256);
« no previous file with comments | « xfa/fde/xml/fde_xml_imp.cpp ('k') | xfa/fgas/crt/fgas_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698