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

Side by Side Diff: ui/aura/test/aura_test_base.h

Issue 8381015: Add workspace to desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: temporarily exlucde tests failing on win Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/screen_aura.h ('k') | ui/aura/test/aura_test_base.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_ 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_
6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace aura { 15 namespace aura {
16 namespace test { 16 namespace test {
17 17
18 class TestDesktopDelegate;
19
18 // A base class for aura unit tests. 20 // A base class for aura unit tests.
19 class AURA_EXPORT AuraTestBase : public testing::Test { 21 class AURA_EXPORT AuraTestBase : public testing::Test {
20 public: 22 public:
21 AuraTestBase(); 23 AuraTestBase();
22 virtual ~AuraTestBase(); 24 virtual ~AuraTestBase();
23 25
26 TestDesktopDelegate* GetTestDesktopDelegate();
27
24 // testing::Test: 28 // testing::Test:
25 virtual void SetUp() OVERRIDE; 29 virtual void SetUp() OVERRIDE;
26 virtual void TearDown() OVERRIDE; 30 virtual void TearDown() OVERRIDE;
27 31
28 private: 32 private:
29 MessageLoopForUI message_loop_; 33 MessageLoopForUI message_loop_;
30 bool setup_called_; 34 bool setup_called_;
31 bool teardown_called_; 35 bool teardown_called_;
32 36
33 DISALLOW_COPY_AND_ASSIGN(AuraTestBase); 37 DISALLOW_COPY_AND_ASSIGN(AuraTestBase);
34 }; 38 };
35 39
36 } // namespace test 40 } // namespace test
37 } // namespace aura 41 } // namespace aura
38 42
39 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 43 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/aura/screen_aura.h ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698