Chromium Code Reviews| Index: ui/base/test/user_interactive_test_case.h |
| diff --git a/ui/base/test/user_interactive_test_case.h b/ui/base/test/user_interactive_test_case.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..353139493cae31972c3b2e0dfb9b06afcb60ec1f |
| --- /dev/null |
| +++ b/ui/base/test/user_interactive_test_case.h |
| @@ -0,0 +1,18 @@ |
| +// 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_USER_INTERACTIVE_TEST_CASE_H_ |
| +#define UI_BASE_TEST_USER_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). This |
| +// function does not return. |
| +void RunTestInteractively(); |
| + |
| +} |
|
tapted
2016/10/18 23:49:19
nit: // namespace test
Patti Lor
2016/10/20 00:58:06
Done, thanks. This is probably why formatting woul
|
| + |
| +#endif // UI_BASE_TEST_USER_INTERACTIVE_TEST_CASE_H_ |