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

Side by Side Diff: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc

Issue 2746433003: Disable flaky DownloadExtensionTest_OnDeterminingFilename_InterruptedResume on Linux (Closed)
Patch Set: Created 3 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Disable everything on windows only. http://crbug.com/306144 5 // Disable everything on windows only. http://crbug.com/306144
6 #ifndef OS_WIN 6 #ifndef OS_WIN
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 3981 matching lines...) Expand 10 before | Expand all | Expand 10 after
3992 GetFilename("42 (1).txt").c_str()))); 3992 GetFilename("42 (1).txt").c_str())));
3993 ASSERT_TRUE(WaitFor(downloads::OnChanged::kEventName, 3993 ASSERT_TRUE(WaitFor(downloads::OnChanged::kEventName,
3994 base::StringPrintf( 3994 base::StringPrintf(
3995 "[{\"id\": %d," 3995 "[{\"id\": %d,"
3996 " \"state\": {" 3996 " \"state\": {"
3997 " \"previous\": \"in_progress\"," 3997 " \"previous\": \"in_progress\","
3998 " \"current\": \"complete\"}}]", 3998 " \"current\": \"complete\"}}]",
3999 result_id))); 3999 result_id)));
4000 } 4000 }
4001 4001
4002 #if defined(OS_WIN) || defined(OS_CHROMEOS) 4002 #if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX)
4003 // This test is very flaky on Win XP and Aura. http://crbug.com/248438 4003 // This test is very flaky on Win XP and Aura. http://crbug.com/248438
4004 // Also flaky on Linux. http://crbug.com/700382
4004 #define MAYBE_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume \ 4005 #define MAYBE_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume \
4005 DISABLED_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume 4006 DISABLED_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume
4006 #else 4007 #else
4007 #define MAYBE_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume \ 4008 #define MAYBE_DownloadExtensionTest_OnDeterminingFilename_InterruptedResume \
4008 DownloadExtensionTest_OnDeterminingFilename_InterruptedResume 4009 DownloadExtensionTest_OnDeterminingFilename_InterruptedResume
4009 #endif 4010 #endif
4010 4011
4011 // Test download interruption while extensions determining filename. Should not 4012 // Test download interruption while extensions determining filename. Should not
4012 // re-dispatch onDeterminingFilename. 4013 // re-dispatch onDeterminingFilename.
4013 IN_PROC_BROWSER_TEST_F( 4014 IN_PROC_BROWSER_TEST_F(
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
4303 EXPECT_EQ(downloads::FILENAME_CONFLICT_ACTION_PROMPT, conflict_action); 4304 EXPECT_EQ(downloads::FILENAME_CONFLICT_ACTION_PROMPT, conflict_action);
4304 EXPECT_FALSE(warnings.empty()); 4305 EXPECT_FALSE(warnings.empty());
4305 EXPECT_EQ(Warning::kDownloadFilenameConflict, 4306 EXPECT_EQ(Warning::kDownloadFilenameConflict,
4306 warnings.begin()->warning_type()); 4307 warnings.begin()->warning_type());
4307 EXPECT_EQ("incumbent", warnings.begin()->extension_id()); 4308 EXPECT_EQ("incumbent", warnings.begin()->extension_id());
4308 } 4309 }
4309 4310
4310 } // namespace extensions 4311 } // namespace extensions
4311 4312
4312 #endif // http://crbug.com/306144 4313 #endif // http://crbug.com/306144
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698