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

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

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.h
diff --git a/ui/base/test/use_interactive_test_case.h b/ui/base/test/use_interactive_test_case.h
new file mode 100644
index 0000000000000000000000000000000000000000..c238789539b7f8176167351210d3a90a59ed90b4
--- /dev/null
+++ b/ui/base/test/use_interactive_test_case.h
@@ -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.
+
+#ifndef UI_BASE_TEST_USE_INTERACTIVE_TEST_CASE_H_
+#define UI_BASE_TEST_USE_INTERACTIVE_TEST_CASE_H_
+
+namespace test {
+
+// Foregrounds the test process and spins a run loop to run a test case as
+// interactive UI. Call this at the end of test fixtures that are used to
+// invoke UI (designed for manual testing of hard-to-summon dialogs).
tapted 2016/10/17 23:44:51 This comment is good. I think we just need a sente
Patti Lor 2016/10/18 03:44:26 Done. I think not doing the quit thing is fine too
+void RunTestInteractively();
+}
tapted 2016/10/17 23:44:51 nit: blank line before + " // namespace test"
Patti Lor 2016/10/18 03:44:26 Done.
+
+#endif // UI_BASE_TEST_USE_INTERACTIVE_TEST_CASE_H_

Powered by Google App Engine
This is Rietveld 408576698