OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_TEST_AURA_MUS_TEST_BASE_H_ |
| 6 #define UI_AURA_TEST_AURA_MUS_TEST_BASE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/aura/test/aura_test_base.h" |
| 10 |
| 11 namespace aura { |
| 12 namespace test { |
| 13 |
| 14 // A base class for aura unit tests that use mus. You can also use AuraTestBase |
| 15 // directly and call EnableMus() before SetUp(). Prefer this if you don't need |
| 16 // to subclass and want to target mus. |
| 17 // |
| 18 // This test class sets up the connection to mus as the window manager. |
| 19 class AuraMusWmTestBase : public AuraTestBase { |
| 20 public: |
| 21 AuraMusWmTestBase(); |
| 22 ~AuraMusWmTestBase() override; |
| 23 |
| 24 // AuraTestBase: |
| 25 void SetUp() override; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(AuraMusWmTestBase); |
| 29 }; |
| 30 |
| 31 // A base class for aura unit tests that use mus. You can also use AuraTestBase |
| 32 // directly and call EnableMus() before SetUp(). Prefer this if you don't need |
| 33 // to subclass and want to target mus. |
| 34 // |
| 35 // This test class sets up the connection to mus as a normal client (not the |
| 36 // window manager). |
| 37 class AuraMusClientTestBase : public AuraTestBase { |
| 38 public: |
| 39 AuraMusClientTestBase(); |
| 40 ~AuraMusClientTestBase() override; |
| 41 |
| 42 // AuraTestBase: |
| 43 void SetUp() override; |
| 44 |
| 45 private: |
| 46 DISALLOW_COPY_AND_ASSIGN(AuraMusClientTestBase); |
| 47 }; |
| 48 |
| 49 } // namespace test |
| 50 } // namespace aura |
| 51 |
| 52 #endif // UI_AURA_TEST_AURA_MUS_TEST_BASE_H_ |
OLD | NEW |