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

Unified Diff: ppapi/tests/test_file_ref.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_file_io.cc ('k') | ppapi/tests/test_graphics_2d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_file_ref.cc
diff --git a/ppapi/tests/test_file_ref.cc b/ppapi/tests/test_file_ref.cc
index a81b8ed249b122a3a6dd01581c172eed00180bb1..06cc9eccddd097873662649ad341973abc940710 100644
--- a/ppapi/tests/test_file_ref.cc
+++ b/ppapi/tests/test_file_ref.cc
@@ -92,7 +92,7 @@ std::string TestFileRef::TestGetFileSystemType() {
if (file_ref_ext.GetFileSystemType() != PP_FILESYSTEMTYPE_EXTERNAL)
return "file_ref_ext expected to be external.";
- return "";
+ PASS();
}
std::string TestFileRef::TestGetName() {
@@ -142,7 +142,7 @@ std::string TestFileRef::TestGetName() {
if (name == "")
return ReportMismatch("FileRef::GetName", name, "<a temp file>");
- return "";
+ PASS();
}
std::string TestFileRef::TestGetPath() {
@@ -185,7 +185,7 @@ std::string TestFileRef::TestGetPath() {
if (!file_ref_ext.GetPath().is_undefined())
return "The path of an external FileRef should be void.";
- return "";
+ PASS();
}
std::string TestFileRef::TestGetParent() {
@@ -240,7 +240,7 @@ std::string TestFileRef::TestGetParent() {
if (!file_ref_ext.GetParent().is_null())
return "The parent of an external FileRef should be null.";
- return "";
+ PASS();
}
std::string TestFileRef::TestMakeDirectory() {
@@ -324,7 +324,7 @@ std::string TestFileRef::TestMakeDirectory() {
"should have failed.";
}
- return "";
+ PASS();
}
std::string TestFileRef::TestQueryAndTouchFile() {
@@ -408,7 +408,7 @@ std::string TestFileRef::TestQueryAndTouchFile() {
return ReportError("FileSystem::Query", rv);
}
- return "";
+ PASS();
}
std::string TestFileRef::TestDeleteFileAndDirectory() {
@@ -492,7 +492,7 @@ std::string TestFileRef::TestDeleteFileAndDirectory() {
return ReportError("FileSystem::Delete", rv);
}
- return "";
+ PASS();
}
std::string TestFileRef::TestRenameFileAndDirectory() {
@@ -574,5 +574,5 @@ std::string TestFileRef::TestRenameFileAndDirectory() {
return ReportError("FileSystem::Rename", rv);
}
- return "";
+ PASS();
}
« no previous file with comments | « ppapi/tests/test_file_io.cc ('k') | ppapi/tests/test_graphics_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698