Chromium Code Reviews| 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_ |