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

Unified Diff: xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp

Issue 1415163008: fix an embedder test in XFA branch (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp
diff --git a/xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp b/xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp
index 5a3059c0f52d810a9a758009e44fae25efaf0c16..7c50b4dab73c4ed2c4a415564430af81f8b57c3a 100644
--- a/xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp
+++ b/xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "../../../../../testing/embedder_test.h"
+#include "testing/embedder_test.h"
Lei Zhang 2015/11/09 20:38:01 I can't remember if I fixed the include paths for
#include "testing/gtest/include/gtest/gtest.h"
class XFAParserImpEmbeddertest : public EmbedderTest {};
TEST_F(XFAParserImpEmbeddertest, Bug_216) {
- EXPECT_TRUE(OpenDocument("testing/resources/bug_216.pdf"));
- FPDF_PAGE page = LoadPage(0);
- EXPECT_NE(nullptr, page);
- UnloadPage(page);
+ EXPECT_TRUE(OpenDocument("bug_216.pdf"));
+ FPDF_PAGE page = LoadPage(0);
+ EXPECT_NE(nullptr, page);
+ UnloadPage(page);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698