summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfdoc_embeddertest.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-13 16:43:37 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 14:14:51 +0000
commit812e96c2b4c5908a1979da5e27cdcecda0d1dfc9 (patch)
treef0b0607f6b757eb22237527215094bd87b5d03ba /fpdfsdk/fpdfdoc_embeddertest.cpp
parent893822aa5b6254591f8e80fbffcbb4fa6ad849aa (diff)
downloadpdfium-812e96c2b4c5908a1979da5e27cdcecda0d1dfc9.tar.xz
Replace FX_CHAR and FX_WCHAR with underlying types.
Change-Id: I96e0a20d66b9184d22f64d8e4ce0dadd5a78c1e8 Reviewed-on: https://pdfium-review.googlesource.com/2967 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfdoc_embeddertest.cpp')
-rw-r--r--fpdfsdk/fpdfdoc_embeddertest.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/fpdfdoc_embeddertest.cpp b/fpdfsdk/fpdfdoc_embeddertest.cpp
index 3666687d4d..2472db9746 100644
--- a/fpdfsdk/fpdfdoc_embeddertest.cpp
+++ b/fpdfsdk/fpdfdoc_embeddertest.cpp
@@ -198,37 +198,37 @@ TEST_F(FPDFDocEmbeddertest, GetPageLabels) {
EXPECT_EQ(0u, FPDF_GetPageLabel(document(), -2, buf, sizeof(buf)));
EXPECT_EQ(0u, FPDF_GetPageLabel(document(), -1, buf, sizeof(buf)));
- const FX_WCHAR kExpectedPageLabel0[] = L"i";
+ const wchar_t kExpectedPageLabel0[] = L"i";
ASSERT_EQ(4u, FPDF_GetPageLabel(document(), 0, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel0),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel0)));
- const FX_WCHAR kExpectedPageLabel1[] = L"ii";
+ const wchar_t kExpectedPageLabel1[] = L"ii";
ASSERT_EQ(6u, FPDF_GetPageLabel(document(), 1, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel1),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel1)));
- const FX_WCHAR kExpectedPageLabel2[] = L"1";
+ const wchar_t kExpectedPageLabel2[] = L"1";
ASSERT_EQ(4u, FPDF_GetPageLabel(document(), 2, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel2),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel2)));
- const FX_WCHAR kExpectedPageLabel3[] = L"2";
+ const wchar_t kExpectedPageLabel3[] = L"2";
ASSERT_EQ(4u, FPDF_GetPageLabel(document(), 3, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel3),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel3)));
- const FX_WCHAR kExpectedPageLabel4[] = L"zzA";
+ const wchar_t kExpectedPageLabel4[] = L"zzA";
ASSERT_EQ(8u, FPDF_GetPageLabel(document(), 4, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel4),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel4)));
- const FX_WCHAR kExpectedPageLabel5[] = L"zzB";
+ const wchar_t kExpectedPageLabel5[] = L"zzB";
ASSERT_EQ(8u, FPDF_GetPageLabel(document(), 5, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel5),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel5)));
- const FX_WCHAR kExpectedPageLabel6[] = L"";
+ const wchar_t kExpectedPageLabel6[] = L"";
ASSERT_EQ(2u, FPDF_GetPageLabel(document(), 6, buf, sizeof(buf)));
EXPECT_EQ(CFX_WideString(kExpectedPageLabel6),
CFX_WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel6)));