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