OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "sky/tools/tester/test_runner.h" | 5 #include "sky/tools/tester/test_runner.h" |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "mojo/public/cpp/application/connect.h" | 9 #include "mojo/public/cpp/application/connect.h" |
10 #include "mojo/public/cpp/application/service_provider_impl.h" | 10 #include "mojo/public/cpp/application/service_provider_impl.h" |
11 #include "mojo/services/public/cpp/view_manager/view.h" | 11 #include "mojo/services/view_manager/public/cpp/view.h" |
12 | 12 |
13 namespace sky { | 13 namespace sky { |
14 namespace tester { | 14 namespace tester { |
15 | 15 |
16 TestRunnerClient::~TestRunnerClient() { | 16 TestRunnerClient::~TestRunnerClient() { |
17 } | 17 } |
18 | 18 |
19 TestRunner::TestRunner(TestRunnerClient* client, mojo::View* container, | 19 TestRunner::TestRunner(TestRunnerClient* client, mojo::View* container, |
20 const std::string& url) | 20 const std::string& url) |
21 : test_harness_factory_(this), | 21 : test_harness_factory_(this), |
(...skipping 27 matching lines...) Expand all Loading... |
49 std::cout << "#EOF\n"; | 49 std::cout << "#EOF\n"; |
50 std::cout.flush(); | 50 std::cout.flush(); |
51 std::cerr << "#EOF\n"; | 51 std::cerr << "#EOF\n"; |
52 std::cerr.flush(); | 52 std::cerr.flush(); |
53 | 53 |
54 client_->OnTestComplete(); | 54 client_->OnTestComplete(); |
55 } | 55 } |
56 | 56 |
57 } // namespace tester | 57 } // namespace tester |
58 } // namespace sky | 58 } // namespace sky |
OLD | NEW |