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

Unified Diff: ppapi/tests/test_file_io.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_char_set.cc ('k') | ppapi/tests/test_file_ref.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_file_io.cc
diff --git a/ppapi/tests/test_file_io.cc b/ppapi/tests/test_file_io.cc
index 5ba571a71ef12bfc4986ccba0bea89c8cc92c9dd..591d6567781d95e973694fb1eb4574c4c23f0a4c 100644
--- a/ppapi/tests/test_file_io.cc
+++ b/ppapi/tests/test_file_io.cc
@@ -113,7 +113,7 @@ std::string TestFileIO::TestOpen() {
if (rv != PP_ERROR_FILENOTFOUND)
return ReportError("FileIO::Open", rv);
- return "";
+ PASS();
}
std::string TestFileIO::TestReadWriteSetLength() {
@@ -227,7 +227,7 @@ std::string TestFileIO::TestReadWriteSetLength() {
return ReportMismatch("FileIO::Read", read_buffer,
std::string("testtest\0\0\0\0", 12));
- return "";
+ PASS();
}
std::string TestFileIO::TestTouchQuery() {
@@ -281,5 +281,5 @@ std::string TestFileIO::TestTouchQuery() {
(info.last_modified_time != last_modified_time))
return "FileSystem::Query() has returned bad data.";
- return "";
+ PASS();
}
« no previous file with comments | « ppapi/tests/test_char_set.cc ('k') | ppapi/tests/test_file_ref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698