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

Unified Diff: chrome/browser/ui/select_file_dialog_unittest.cc

Issue 8665006: Build & run unit tests on Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/select_file_dialog_unittest.cc
===================================================================
--- chrome/browser/ui/select_file_dialog_unittest.cc (revision 111220)
+++ chrome/browser/ui/select_file_dialog_unittest.cc (working copy)
@@ -17,6 +17,13 @@
#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if defined(USE_AURA) && defined(OS_WIN)
+// http://crbug.com/105200
+#define MAYBE_ExpectAsynchronousListenerCall DISABLED_ExpectAsynchronousListenerCall
+#else
+#define MAYBE_ExpectAsynchronousListenerCall ExpectAsynchronousListenerCall
+#endif
+
using content::BrowserThread;
class FileSelectionUser : public SelectFileDialog::Listener {
@@ -74,7 +81,7 @@
// Tests if SelectFileDialog::SelectFile returns asynchronously with
// file-selection dialogs disabled by policy.
-TEST_F(FileSelectionDialogTest, ExpectAsynchronousListenerCall) {
+TEST_F(FileSelectionDialogTest, MAYBE_ExpectAsynchronousListenerCall) {
MessageLoopForUI message_loop;
content::TestBrowserThread ui_thread(BrowserThread::UI, &message_loop);

Powered by Google App Engine
This is Rietveld 408576698