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

Unified Diff: athena/test/athena_test_base.h

Issue 617043002: Moving athena/test to athena/test/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/screen/screen_manager_unittest.cc ('k') | athena/test/athena_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/athena_test_base.h
diff --git a/athena/test/athena_test_base.h b/athena/test/athena_test_base.h
deleted file mode 100644
index 8ab8285f9f6a20e70fcf0a24dd456d01f9ea4bb1..0000000000000000000000000000000000000000
--- a/athena/test/athena_test_base.h
+++ /dev/null
@@ -1,53 +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_ATHENA_TEST_BASE_H_
-#define ATHENA_TEST_ATHENA_TEST_BASE_H_
-
-#include "athena/test/athena_test_helper.h"
-#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace aura {
-class Window;
-class WindowDelegate;
-}
-
-namespace athena {
-namespace test {
-
-// A base class for athena unit tests.
-class AthenaTestBase : public testing::Test {
- public:
- AthenaTestBase();
- virtual ~AthenaTestBase();
-
- // testing::Test:
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
-
- protected:
- void RunAllPendingInMessageLoop();
-
- scoped_ptr<aura::Window> CreateTestWindow(aura::WindowDelegate* delegate,
- const gfx::Rect& bounds);
-
- aura::Window* root_window() { return helper_->GetRootWindow(); }
- aura::WindowTreeHost* host() { return helper_->GetHost(); }
-
- private:
- bool setup_called_;
- bool teardown_called_;
-
- base::MessageLoopForUI message_loop_;
- scoped_ptr<AthenaTestHelper> helper_;
-
- DISALLOW_COPY_AND_ASSIGN(AthenaTestBase);
-};
-
-} // namespace test
-} // namespace athena
-
-#endif // ATHENA_TEST_ATHENA_TEST_BASE_H_
« no previous file with comments | « athena/screen/screen_manager_unittest.cc ('k') | athena/test/athena_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698