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

Side by Side Diff: views/test/views_test_base.h

Issue 8202014: Fixes aura build on windows. Makes all tests use the test compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/compositor/layer_unittest.cc ('k') | views/views.gyp » ('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 VIEWS_TEST_VIEWS_TEST_BASE_H_ 5 #ifndef VIEWS_TEST_VIEWS_TEST_BASE_H_
6 #define VIEWS_TEST_VIEWS_TEST_BASE_H_ 6 #define VIEWS_TEST_VIEWS_TEST_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "testing/gtest/include/gtest/gtest.h"
13 #include "views/test/test_views_delegate.h" 12 #include "views/test/test_views_delegate.h"
14 13
15 namespace views { 14 namespace views {
16 15
17 class TestViewsDelegate; 16 class TestViewsDelegate;
18 17
19 // A base class for views unit test. It creates a message loop necessary 18 // A base class for views unit test. It creates a message loop necessary
20 // to drive UI events and takes care of OLE initialization for windows. 19 // to drive UI events and takes care of OLE initialization for windows.
21 class ViewsTestBase : public testing::Test { 20 class ViewsTestBase : public testing::Test {
22 public: 21 public:
(...skipping 18 matching lines...) Expand all
41 scoped_ptr<TestViewsDelegate> views_delegate_; 40 scoped_ptr<TestViewsDelegate> views_delegate_;
42 bool setup_called_; 41 bool setup_called_;
43 bool teardown_called_; 42 bool teardown_called_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(ViewsTestBase); 44 DISALLOW_COPY_AND_ASSIGN(ViewsTestBase);
46 }; 45 };
47 46
48 } // namespace views 47 } // namespace views
49 48
50 #endif // VIEWS_TEST_VIEWS_TEST_BASE_H_ 49 #endif // VIEWS_TEST_VIEWS_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/gfx/compositor/layer_unittest.cc ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698