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

Unified Diff: ppapi/tests/test_pdf.cc

Issue 1329213002: PDF: Use chrome.resourcesPrivate instead of Pepper to display translated strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i18n_api
Patch Set: Remove test cases Created 5 years, 3 months 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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/thunk/ppb_pdf_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_pdf.cc
diff --git a/ppapi/tests/test_pdf.cc b/ppapi/tests/test_pdf.cc
index d33ab595d6658d143badcbba3aaa880c2d7c8434..ea79ab773cc3ca826c52f2456b62c5c737386c84 100644
--- a/ppapi/tests/test_pdf.cc
+++ b/ppapi/tests/test_pdf.cc
@@ -18,19 +18,9 @@ TestPDF::TestPDF(TestingInstance* instance)
}
void TestPDF::RunTests(const std::string& filter) {
- RUN_TEST(GetLocalizedString, filter);
RUN_TEST(GetV8ExternalSnapshotData, filter);
}
-std::string TestPDF::TestGetLocalizedString() {
- pp::Var string = pp::PDF::GetLocalizedString(instance_,
- PP_RESOURCESTRING_PDFGETPASSWORD);
- ASSERT_TRUE(string.is_string());
- ASSERT_EQ("This document is password protected. Please enter a password.",
- string.AsString());
- PASS();
-}
-
std::string TestPDF::TestGetV8ExternalSnapshotData() {
const char* natives_data;
const char* snapshot_data;
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/thunk/ppb_pdf_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698