| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/test/base/chrome_process_util.h" | 5 #include "chrome/test/base/chrome_process_util.h" |
| 6 | 6 |
| 7 #include "chrome/test/ui/ui_test.h" | 7 #include "chrome/test/ui/ui_test.h" |
| 8 | 8 |
| 9 class ChromeProcessUtilTest : public UITest { | 9 class ChromeProcessUtilTest : public UITest { |
| 10 }; | 10 }; |
| 11 | 11 |
| 12 // Flaky on Mac only. See http://crbug.com/79175 | 12 // Flaky on Mac only. See http://crbug.com/79175 |
| 13 TEST_F(ChromeProcessUtilTest, FLAKY_SanityTest) { | 13 TEST_F(ChromeProcessUtilTest, DISABLED_SanityTest) { |
| 14 ChromeProcessList processes = GetRunningChromeProcesses(browser_process_id()); | 14 ChromeProcessList processes = GetRunningChromeProcesses(browser_process_id()); |
| 15 EXPECT_FALSE(processes.empty()); | 15 EXPECT_FALSE(processes.empty()); |
| 16 QuitBrowser(); | 16 QuitBrowser(); |
| 17 EXPECT_EQ(-1, browser_process_id()); | 17 EXPECT_EQ(-1, browser_process_id()); |
| 18 processes = GetRunningChromeProcesses(browser_process_id()); | 18 processes = GetRunningChromeProcesses(browser_process_id()); |
| 19 EXPECT_TRUE(processes.empty()); | 19 EXPECT_TRUE(processes.empty()); |
| 20 } | 20 } |
| OLD | NEW |