| Index: core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp b/core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| similarity index 94%
|
| rename from core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| rename to core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| index bfcb0afc7f5fb13bee0bac7697a2109713f00432..a9acff4155633b14fed8cbc32b196db7facbe631 100644
|
| --- a/core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp
|
| @@ -6,8 +6,8 @@
|
|
|
| #include <string>
|
|
|
| +#include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h"
|
| #include "core/include/fxcrt/fx_basic.h"
|
| -#include "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/test_support.h"
|
|
|
| @@ -38,15 +38,13 @@ TEST(SimpleParserTest, GetWord) {
|
| STR_IN_OUT_CASE("\t\t<< /abc>>", "<<"),
|
| // Handling ending delimiters.
|
| STR_IN_OUT_CASE("> little bear", ">"),
|
| - STR_IN_OUT_CASE(") another bear", ")"),
|
| - STR_IN_OUT_CASE(">> end ", ">>"),
|
| + STR_IN_OUT_CASE(") another bear", ")"), STR_IN_OUT_CASE(">> end ", ">>"),
|
| // No ending delimiters.
|
| STR_IN_OUT_CASE("(sdfgfgbcv", "(sdfgfgbcv"),
|
| // Regular cases.
|
| STR_IN_OUT_CASE("apple pear", "apple"),
|
| STR_IN_OUT_CASE(" pi=3.1415 ", "pi=3.1415"),
|
| - STR_IN_OUT_CASE(" p t x c ", "p"),
|
| - STR_IN_OUT_CASE(" pt\0xc ", "pt"),
|
| + STR_IN_OUT_CASE(" p t x c ", "p"), STR_IN_OUT_CASE(" pt\0xc ", "pt"),
|
| STR_IN_OUT_CASE(" $^&&*\t\0sdff ", "$^&&*"),
|
| STR_IN_OUT_CASE("\n\r+3.5656 -11.0", "+3.5656"),
|
| };
|
|
|