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

Unified Diff: sky/tools/tester/test_runner.h

Issue 1235053003: Remove //sky/tools/tester (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tools/tester/test_harness_impl.cc ('k') | sky/tools/tester/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/tester/test_runner.h
diff --git a/sky/tools/tester/test_runner.h b/sky/tools/tester/test_runner.h
deleted file mode 100644
index 88102407afe919e52f8bc072faddd2ac800ca01a..0000000000000000000000000000000000000000
--- a/sky/tools/tester/test_runner.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef SKY_TOOLS_TESTER_TEST_RUNNER_H_
-#define SKY_TOOLS_TESTER_TEST_RUNNER_H_
-
-#include "base/memory/weak_ptr.h"
-#include "mojo/public/cpp/application/service_provider_impl.h"
-#include "sky/tools/tester/test_harness_impl.h"
-
-namespace mojo{
-class View;
-}
-
-namespace sky {
-namespace tester {
-
-class TestRunnerClient {
- public:
- virtual void OnTestComplete() = 0;
- virtual void DispatchInputEvent(mojo::EventPtr event) = 0;
-
- protected:
- virtual ~TestRunnerClient();
-};
-
-class TestRunner : public mojo::InterfaceFactory<TestHarness> {
- public:
- TestRunner(TestRunnerClient* client, mojo::View* container,
- const std::string& url, bool enable_pixel_dumping);
- ~TestRunner() override;
-
- TestRunnerClient* client() const { return client_; }
-
- base::WeakPtr<TestRunner> GetWeakPtr();
- void OnTestStart();
- void OnTestComplete(const std::string& test_result,
- const mojo::Array<uint8_t>& pixels);
-
- private:
- // mojo::InterfaceFactory<TestHarness> implementation:
- void Create(mojo::ApplicationConnection* app,
- mojo::InterfaceRequest<TestHarness> request) override;
-
- mojo::ServiceProviderImpl test_harness_provider_impl_;
- TestRunnerClient* client_;
- bool enable_pixel_dumping_;
- base::WeakPtrFactory<TestRunner> weak_ptr_factory_;
-
- MOJO_DISALLOW_COPY_AND_ASSIGN(TestRunner);
-};
-
-} // namespace tester
-} // namespace sky
-
-#endif // SKY_TOOLS_TESTER_TEST_RUNNER_H_
« no previous file with comments | « sky/tools/tester/test_harness_impl.cc ('k') | sky/tools/tester/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698