| 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/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
| 9 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
| 10 #include "components/view_manager/public/cpp/tests/view_manager_test_base.h" | 10 #include "components/mus/public/cpp/tests/view_manager_test_base.h" |
| 11 #include "components/view_manager/public/cpp/view.h" | 11 #include "components/mus/public/cpp/view.h" |
| 12 #include "components/view_manager/public/cpp/view_tree_connection.h" | 12 #include "components/mus/public/cpp/view_tree_connection.h" |
| 13 #include "components/web_view/public/interfaces/frame_tree.mojom.h" | 13 #include "components/web_view/public/interfaces/frame_tree.mojom.h" |
| 14 #include "mojo/application/public/cpp/application_impl.h" | 14 #include "mojo/application/public/cpp/application_impl.h" |
| 15 #include "mojo/application/public/cpp/application_test_base.h" | 15 #include "mojo/application/public/cpp/application_test_base.h" |
| 16 #include "net/test/spawned_test_server/spawned_test_server.h" | 16 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "third_party/mojo_services/src/accessibility/public/interfaces/accessib
ility.mojom.h" | 18 #include "third_party/mojo_services/src/accessibility/public/interfaces/accessib
ility.mojom.h" |
| 19 | 19 |
| 20 namespace mojo { | 20 namespace mojo { |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 EXPECT_TRUE(QuitRunLoop()); | 111 EXPECT_TRUE(QuitRunLoop()); |
| 112 }); | 112 }); |
| 113 ASSERT_TRUE(DoRunLoopWithTimeout()); | 113 ASSERT_TRUE(DoRunLoopWithTimeout()); |
| 114 | 114 |
| 115 EXPECT_TRUE(AxTreeContainsText(ax_tree, "Hello ")); | 115 EXPECT_TRUE(AxTreeContainsText(ax_tree, "Hello ")); |
| 116 EXPECT_TRUE(AxTreeContainsText(ax_tree, "World!")); | 116 EXPECT_TRUE(AxTreeContainsText(ax_tree, "World!")); |
| 117 EXPECT_FALSE(AxTreeContainsText(ax_tree, "foo")); | 117 EXPECT_FALSE(AxTreeContainsText(ax_tree, "foo")); |
| 118 } | 118 } |
| 119 | 119 |
| 120 } // namespace mojo | 120 } // namespace mojo |
| OLD | NEW |