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

Side by Side Diff: ui/views/test/platform_test_helper.h

Issue 2489903002: Disables tooltip tests for aura-mus-client (Closed)
Patch Set: tweak Created 4 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
« no previous file with comments | « ui/views/mus/views_aura_mus_test_suite.cc ('k') | ui/views/test/platform_test_helper.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 UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ 5 #ifndef UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_
6 #define UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ 6 #define UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 10 matching lines...) Expand all
21 virtual ~PlatformTestHelper() {} 21 virtual ~PlatformTestHelper() {}
22 22
23 static void set_factory(const Factory& factory); 23 static void set_factory(const Factory& factory);
24 static std::unique_ptr<PlatformTestHelper> Create(); 24 static std::unique_ptr<PlatformTestHelper> Create();
25 25
26 // Whether we are running under the mus environment. Methods are static so 26 // Whether we are running under the mus environment. Methods are static so
27 // that they can be called before Create(). 27 // that they can be called before Create().
28 static void SetIsMus(); 28 static void SetIsMus();
29 static bool IsMus(); 29 static bool IsMus();
30 30
31 static void SetIsAuraMusClient();
32 static bool IsAuraMusClient();
33
31 // Called once the ViewsTestHelper has been created, but before SetUp() is 34 // Called once the ViewsTestHelper has been created, but before SetUp() is
32 // called. 35 // called.
33 virtual void OnTestHelperCreated(ViewsTestHelper* helper) {} 36 virtual void OnTestHelperCreated(ViewsTestHelper* helper) {}
34 37
35 private: 38 private:
36 DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper); 39 DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper);
37 }; 40 };
38 41
39 } // namespace views 42 } // namespace views
40 43
41 #endif // UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ 44 #endif // UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ui/views/mus/views_aura_mus_test_suite.cc ('k') | ui/views/test/platform_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698