Commit 6975e7cc authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Enable StartupBrowserCreatorTest.*NotificationId on Win7 bots

These tests can run on Win7 machines so enable them.

Bug: 734095
Change-Id: Idcd8e426feaf1202e544db2793a50f3574bdaaed
Reviewed-on: https://chromium-review.googlesource.com/1041154Reviewed-by: default avatarTommy Martino <tmartino@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555872}
parent 650995a0
......@@ -468,11 +468,6 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, OpenAppShortcutTabPref) {
#if defined(OS_WIN)
IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ValidNotificationLaunchId) {
// This test execises NotificationPlatformBridgeWin, which is not enabled in
// older versions of Windows.
if (base::win::GetVersion() < base::win::VERSION_WIN8)
return;
// Simulate a launch from the notification_helper process which appends the
// kNotificationLaunchId switch to the command line.
base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
......@@ -491,11 +486,6 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ValidNotificationLaunchId) {
}
IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, InvalidNotificationLaunchId) {
// This test execises NotificationPlatformBridgeWin, which is not enabled in
// older versions of Windows.
if (base::win::GetVersion() < base::win::VERSION_WIN8)
return;
// Simulate a launch with invalid launch id, which will fail.
base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
command_line.AppendSwitchNative(switches::kNotificationLaunchId, L"");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment