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

Unified Diff: chrome/browser/ui/cocoa/cocoa_test_helper.h

Issue 2565813002: Create c/b/ui/cocoa/test and move test files to there (Closed)
Patch Set: Rebase Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/cocoa_profile_test.mm ('k') | chrome/browser/ui/cocoa/cocoa_test_helper.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/cocoa_test_helper.h
diff --git a/chrome/browser/ui/cocoa/cocoa_test_helper.h b/chrome/browser/ui/cocoa/cocoa_test_helper.h
deleted file mode 100644
index de69e97dbf7c4038f1066833c8c6520a46cf8033..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/cocoa_test_helper.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_COCOA_COCOA_TEST_HELPER_H_
-#define CHROME_BROWSER_UI_COCOA_COCOA_TEST_HELPER_H_
-
-#import <Cocoa/Cocoa.h>
-
-#import "ui/gfx/test/ui_cocoa_test_helper.h"
-
-// A test class that all tests that depend on AppKit should inherit from.
-// Sets up paths correctly, and makes sure that any windows created in the test
-// are closed down properly by the test. If you need to inherit from a
-// different test class, but need to set up the AppKit runtime environment, you
-// can call BootstrapCocoa directly from your test class. You will have to deal
-// with windows on your own though. Note that NSApp is initialized by
-// ChromeTestSuite.
-class CocoaTest : public ui::CocoaTest {
- public:
- // Sets up paths correctly for unit tests. If you can't inherit from
- // CocoaTest but are going to be using any AppKit features directly, or
- // indirectly, you should be calling this from the c'tor or SetUp methods of
- // your test class. Note that NSApp is initialized by ChromeTestSuite.
- static void BootstrapCocoa();
-
- CocoaTest();
-};
-
-#endif // CHROME_BROWSER_UI_COCOA_COCOA_TEST_HELPER_H_
« no previous file with comments | « chrome/browser/ui/cocoa/cocoa_profile_test.mm ('k') | chrome/browser/ui/cocoa/cocoa_test_helper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698