| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/run_loop.h" | 6 #include "base/run_loop.h" |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "base/test/test_timeouts.h" | 8 #include "base/test/test_timeouts.h" |
| 9 #include "mojo/application/application_test_base_chromium.h" | 9 #include "mojo/application/application_test_base_chromium.h" |
| 10 #include "mojo/public/cpp/application/application_impl.h" | 10 #include "mojo/public/cpp/application/application_impl.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 QuitRunLoop(); | 79 QuitRunLoop(); |
| 80 }); | 80 }); |
| 81 ASSERT_TRUE(DoRunLoopWithTimeout()); | 81 ASSERT_TRUE(DoRunLoopWithTimeout()); |
| 82 | 82 |
| 83 EXPECT_TRUE(AxTreeContainsText(ax_tree, "Hello ")); | 83 EXPECT_TRUE(AxTreeContainsText(ax_tree, "Hello ")); |
| 84 EXPECT_TRUE(AxTreeContainsText(ax_tree, "World!")); | 84 EXPECT_TRUE(AxTreeContainsText(ax_tree, "World!")); |
| 85 EXPECT_FALSE(AxTreeContainsText(ax_tree, "foo")); | 85 EXPECT_FALSE(AxTreeContainsText(ax_tree, "foo")); |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace mojo | 88 } // namespace mojo |
| OLD | NEW |