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

Unified Diff: athena/test/base/athena_test_helper.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « athena/test/base/athena_test_base.cc ('k') | athena/test/base/athena_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/athena_test_helper.h
diff --git a/athena/test/base/athena_test_helper.h b/athena/test/base/athena_test_helper.h
deleted file mode 100644
index 2623a95ee9fc6ea1485a19231b3e30cb79ffe8c4..0000000000000000000000000000000000000000
--- a/athena/test/base/athena_test_helper.h
+++ /dev/null
@@ -1,74 +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 ATHENA_TEST_BASE_ATHENA_TEST_HELPER_H_
-#define ATHENA_TEST_BASE_ATHENA_TEST_HELPER_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/window_tree_host.h"
-
-namespace base {
-class MessageLoopForUI;
-class Thread;
-}
-
-namespace ui {
-class ContextFactory;
-class ScopedAnimationDurationScaleMode;
-}
-
-namespace aura {
-class Window;
-class TestScreen;
-class WindowTreeHost;
-namespace client {
-class FocusClient;
-}
-}
-
-namespace wm {
-class InputMethodEventFilter;
-}
-
-namespace athena {
-namespace test {
-
-// A helper class owned by tests that does common initialization required for
-// Athena use. This class creates a root window with clients and other objects
-// that are necessary to run test on Athena.
-class AthenaTestHelper {
- public:
- explicit AthenaTestHelper(base::MessageLoopForUI* message_loop);
- ~AthenaTestHelper();
-
- // Creates and initializes (shows and sizes) the RootWindow for use in tests.
- void SetUp(ui::ContextFactory* context_factory);
-
- // Clean up objects that are created for tests. This also deletes the Env
- // object.
- void TearDown();
-
- // Flushes message loop.
- void RunAllPendingInMessageLoop();
-
- aura::Window* GetRootWindow();
- aura::WindowTreeHost* GetHost();
-
- private:
- bool setup_called_;
- bool teardown_called_;
-
- base::MessageLoopForUI* message_loop_;
-
- scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
- scoped_ptr<base::Thread> file_thread_;
-
- DISALLOW_COPY_AND_ASSIGN(AthenaTestHelper);
-};
-
-} // namespace test
-} // namespace athena
-
-#endif // ATHENA_TEST_BASE_ATHENA_TEST_HELPER_H_
« no previous file with comments | « athena/test/base/athena_test_base.cc ('k') | athena/test/base/athena_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698