diff options
author | tsepez <tsepez@chromium.org> | 2016-12-02 10:53:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-02 10:53:30 -0800 |
commit | 0527ec571a8842b84f5161dc67f8da439e65eb12 (patch) | |
tree | d645df1008a5dcd6ea3224080cfc6f7779706c68 /xfa/fde/xml/fde_xml_imp_unittest.cpp | |
parent | 8b6a0a540563c6308fa03df34c90257e0bb65598 (diff) | |
download | pdfium-0527ec571a8842b84f5161dc67f8da439e65eb12.tar.xz |
Rename IFX_Stream to IFGAS_Stream.
It's a separate hierarchy unrelated to the IFX_*Stream classes.
Also rename CFX_Stream to CFGAS_Stream, and so forth.
Review-Url: https://codereview.chromium.org/2535723010
Diffstat (limited to 'xfa/fde/xml/fde_xml_imp_unittest.cpp')
-rw-r--r-- | xfa/fde/xml/fde_xml_imp_unittest.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/xfa/fde/xml/fde_xml_imp_unittest.cpp b/xfa/fde/xml/fde_xml_imp_unittest.cpp index e5bcb0acb2..553afffd86 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); |