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

Unified Diff: ui/base/test/use_interactive_test_case.cc

Issue 2382963002: Views: Add two disabled tests for invoking the CC unmask prompt dialog. (Closed)
Patch Set: Review comments. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/test/use_interactive_test_case.cc
diff --git a/ui/base/test/use_interactive_test_case.cc b/ui/base/test/use_interactive_test_case.cc
new file mode 100644
index 0000000000000000000000000000000000000000..26b862b469064784f46fe6d566f945fbc9cca2d0
--- /dev/null
+++ b/ui/base/test/use_interactive_test_case.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/base/test/use_interactive_test_case.h"
tapted 2016/10/17 23:44:50 oh dang-it - my review comment had a typo :(. I me
Patti Lor 2016/10/18 03:44:26 No worries, done :)
+
+#include "base/run_loop.h"
+
+namespace test {
+
+#if !defined(OS_MACOSX)
tapted 2016/10/17 23:44:50 per the BUILD.gn comment (and because of ios) I th
Patti Lor 2016/10/18 03:44:26 Done.
+void RunTestInteractively() {
+ base::RunLoop().Run();
+}
+#endif
+}
tapted 2016/10/17 23:44:50 nit: blank line before + " // namespace test"
Patti Lor 2016/10/18 03:44:26 Oops, sorry about these - git cl format deleted th

Powered by Google App Engine
This is Rietveld 408576698