diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 21:44:13 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 21:44:13 +0000 |
commit | 962dd31f9cff7017d90da505e077ea84db9c5e48 (patch) | |
tree | 821a70988ea4e963be58314c5b9b7becab7312fe /base/process_util_unittest.cc | |
parent | 3115504c55a338fb3de3684a85b2383b4c4dbbc0 (diff) | |
download | chromium_src-962dd31f9cff7017d90da505e077ea84db9c5e48.zip chromium_src-962dd31f9cff7017d90da505e077ea84db9c5e48.tar.gz chromium_src-962dd31f9cff7017d90da505e077ea84db9c5e48.tar.bz2 |
Implement NamedProcessIterator in base/process_util_mac.mm. Patch by Naoki
Takano <takano.naoki@gmail.com>
Review URL: http://codereview.chromium.org/18192
Review URL: http://codereview.chromium.org/21097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_unittest.cc')
-rw-r--r-- | base/process_util_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc index 0b3bc21..1c99733 100644 --- a/base/process_util_unittest.cc +++ b/base/process_util_unittest.cc @@ -55,9 +55,12 @@ MULTIPROCESS_TEST_MAIN(SlowChildProcess) { #define EXE_SUFFIX L"" #endif +#if defined(OS_MACOSX) // TODO(port): finish port on Mac -#if !defined(OS_MACOSX) +TEST_F(ProcessUtilTest, DISABLED_KillSlowChild) { +#else TEST_F(ProcessUtilTest, KillSlowChild) { +#endif remove("SlowChildProcess.die"); int oldcount = GetProcessCount(L"base_unittests" EXE_SUFFIX, 0); @@ -70,7 +73,6 @@ TEST_F(ProcessUtilTest, KillSlowChild) { EXPECT_TRUE(base::WaitForSingleProcess(handle, 5000)); EXPECT_EQ(oldcount, GetProcessCount(L"base_unittests" EXE_SUFFIX, 0)); } -#endif // TODO(estade): if possible, port these 2 tests. #if defined(OS_WIN) |