From c1371f576cde5075206434c94bd462397f6e6809 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Wed, 9 Nov 2011 00:19:33 +0000 Subject: Revert 109114 Turned Mac valgrind bots red: OutOfProcessPPAPITest.PostMessage_MessageEvent OutOfProcessPPAPITest.PostMessage_ExtraParam PPAPITest.PostMessage_NoHandler OutOfProcessPPAPITest.PostMessage_SendInInit Probably others - Make it possible to enable/disable specific ppapi tests. Migrate PostMessage tests. Most of these files were changed by a sed script, so it's not as bad as it looks. The testcase attribute now can include a 'filter'. If it's omitted, everything works the same as before. This way we can migrate tests over bit-by-bit if we want to. We can also still run the tests manually the same way as before. This only runs PostMessage testss the new way, and re-enables all oop PostMessage tests that pass on Windows. I can do the other tests in this CL if desired, but it might be easier to land in a few pieces. BUG=102885,95557 TEST=N/A Review URL: http://codereview.chromium.org/8477015 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/8497030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109142 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/tests/test_directory_reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ppapi/tests/test_directory_reader.cc') diff --git a/ppapi/tests/test_directory_reader.cc b/ppapi/tests/test_directory_reader.cc index 3823f29..17d2ae3 100644 --- a/ppapi/tests/test_directory_reader.cc +++ b/ppapi/tests/test_directory_reader.cc @@ -75,8 +75,8 @@ bool TestDirectoryReader::Init() { return InitTestingInterface() && EnsureRunningOverHTTP(); } -void TestDirectoryReader::RunTests(const std::string& filter) { - RUN_TEST(GetNextFile, filter); +void TestDirectoryReader::RunTest() { + RUN_TEST(GetNextFile); } std::string TestDirectoryReader::TestGetNextFile() { -- cgit v1.1