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

Unified Diff: ppapi/tests/test_char_set.cc

Issue 4182010: Use PASS() everywhere in ppapi/tests. (Closed) Base URL: https://ppapi.googlecode.com/svn/trunk/tests
Patch Set: First. Created 9 years, 11 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/tests/test_buffer.cc ('k') | ppapi/tests/test_file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_char_set.cc
diff --git a/ppapi/tests/test_char_set.cc b/ppapi/tests/test_char_set.cc
index e97804a7949f241570438c7de01ee78ee1239218..c760a014ea466d27aa47d78f9d62292375dba8ae 100644
--- a/ppapi/tests/test_char_set.cc
+++ b/ppapi/tests/test_char_set.cc
@@ -96,7 +96,7 @@ std::string TestCharSet::TestUTF16ToCharSet() {
ASSERT_TRUE(!utf8result);
ASSERT_TRUE(utf8result_len == 0);
- return std::string();
+ PASS();
}
std::string TestCharSet::TestCharSetToUTF16() {
@@ -148,7 +148,7 @@ std::string TestCharSet::TestCharSetToUTF16() {
ASSERT_TRUE(!utf16result);
ASSERT_TRUE(utf16result_len == 0);
- return std::string();
+ PASS();
}
std::vector<uint16_t> TestCharSet::UTF8ToUTF16(const std::string& utf8) {
« no previous file with comments | « ppapi/tests/test_buffer.cc ('k') | ppapi/tests/test_file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698