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

Unified Diff: ppapi/tests/test_var.cc

Issue 8536031: Reland http://codereview.chromium.org/8477015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge AGAIN Created 9 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 | « ppapi/tests/test_var.h ('k') | ppapi/tests/test_var_deprecated.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_var.cc
diff --git a/ppapi/tests/test_var.cc b/ppapi/tests/test_var.cc
index 9e91dc403c7156ab6a43f2a95f9cfbea5eb65a3e..6357737bb06e58831fc53d2b7e02a6b8e52d09c7 100644
--- a/ppapi/tests/test_var.cc
+++ b/ppapi/tests/test_var.cc
@@ -31,14 +31,14 @@ bool TestVar::Init() {
return var_interface_ && InitTestingInterface();
}
-void TestVar::RunTest() {
- RUN_TEST(BasicString);
- RUN_TEST(InvalidAndEmpty);
- RUN_TEST(InvalidUtf8);
- RUN_TEST(NullInputInUtf8Conversion);
- RUN_TEST(ValidUtf8);
- RUN_TEST(Utf8WithEmbeddedNulls);
- RUN_TEST(VarToUtf8ForWrongType);
+void TestVar::RunTests(const std::string& filter) {
+ RUN_TEST(BasicString, filter);
+ RUN_TEST(InvalidAndEmpty, filter);
+ RUN_TEST(InvalidUtf8, filter);
+ RUN_TEST(NullInputInUtf8Conversion, filter);
+ RUN_TEST(ValidUtf8, filter);
+ RUN_TEST(Utf8WithEmbeddedNulls, filter);
+ RUN_TEST(VarToUtf8ForWrongType, filter);
}
std::string TestVar::TestBasicString() {
« no previous file with comments | « ppapi/tests/test_var.h ('k') | ppapi/tests/test_var_deprecated.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698