Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: mojo/services/html_viewer/ax_provider_apptest.cc

Issue 1057603003: Simplify mojo_shell since it's now only used for Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update scripts Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/services/clipboard/clipboard_apptest.cc ('k') | mojo/services/html_viewer/html_viewer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/public/cpp/application/application_impl.h" 10 #include "mojo/public/cpp/application/application_impl.h"
10 #include "mojo/public/cpp/application/application_test_base.h"
11 #include "net/test/spawned_test_server/spawned_test_server.h" 11 #include "net/test/spawned_test_server/spawned_test_server.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/mojo_services/src/accessibility/public/interfaces/accessib ility.mojom.h" 13 #include "third_party/mojo_services/src/accessibility/public/interfaces/accessib ility.mojom.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 namespace { 17 namespace {
18 18
19 base::RunLoop* current_run_loop = nullptr; 19 base::RunLoop* current_run_loop = nullptr;
20 20
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « mojo/services/clipboard/clipboard_apptest.cc ('k') | mojo/services/html_viewer/html_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698