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

Side by Side Diff: ash/test/ash_test.h

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/system/web_notification/web_notification_tray_unittest.cc ('k') | ash/test/ash_test.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ASH_TEST_ASH_TEST_H_ 5 #ifndef ASH_TEST_ASH_TEST_H_
6 #define ASH_TEST_ASH_TEST_H_ 6 #define ASH_TEST_ASH_TEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 WmWindow* window() { return window_; } 48 WmWindow* window() { return window_; }
49 49
50 private: 50 private:
51 WmWindow* window_; 51 WmWindow* window_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(WindowOwner); 53 DISALLOW_COPY_AND_ASSIGN(WindowOwner);
54 }; 54 };
55 55
56 // Base class for ash tests. This class calls through to AshTestImpl for the 56 // Base class for ash tests. This class calls through to AshTestImpl for the
57 // real implementation. This class exists so that tests can be written to 57 // real implementation. This class exists so that tests can be written to
58 // ash/common and run in both mus and aura. 58 // run in both mus ash and classic ash.
59 // 59 //
60 // The implementation of AshTestImpl that is used depends upon gn targets. To 60 // The implementation of AshTestImpl that is used depends upon gn targets. To
61 // use the aura backend depend on "//ash/test:ash_with_aura_test_support." The 61 // use the aura backend depend on "//ash/test:ash_with_aura_test_support." The
62 // mus backend is not provided as a separate link target. 62 // mus backend is not provided as a separate link target.
63 class AshTest : public testing::Test { 63 class AshTest : public testing::Test {
64 public: 64 public:
65 AshTest(); 65 AshTest();
66 ~AshTest() override; 66 ~AshTest() override;
67 67
68 // Returns the WmShelf for the primary display. 68 // Returns the WmShelf for the primary display.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 private: 141 private:
142 std::unique_ptr<AshTestImpl> test_impl_; 142 std::unique_ptr<AshTestImpl> test_impl_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(AshTest); 144 DISALLOW_COPY_AND_ASSIGN(AshTest);
145 }; 145 };
146 146
147 } // namespace ash 147 } // namespace ash
148 148
149 #endif // ASH_TEST_ASH_TEST_H_ 149 #endif // ASH_TEST_ASH_TEST_H_
OLDNEW
« no previous file with comments | « ash/system/web_notification/web_notification_tray_unittest.cc ('k') | ash/test/ash_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698