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

Side by Side Diff: chrome/browser/ui/cocoa/importer/import_settings_dialog_unittest.mm

Issue 6371002: [Mac] Organize all import files into chrome/browser/ui/cocoa/importer/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
8 #include "chrome/browser/importer/importer.h" 8 #include "chrome/browser/importer/importer.h"
9 #import "chrome/browser/ui/cocoa/browser_test_helper.h" 9 #import "chrome/browser/ui/cocoa/browser_test_helper.h"
10 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 10 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
11 #import "chrome/browser/ui/cocoa/import_settings_dialog.h" 11 #import "chrome/browser/ui/cocoa/importer/import_settings_dialog.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 13 #include "testing/platform_test.h"
14 14
15 using importer::HISTORY; 15 using importer::HISTORY;
16 using importer::FAVORITES; 16 using importer::FAVORITES;
17 using importer::COOKIES; 17 using importer::COOKIES;
18 using importer::PASSWORDS; 18 using importer::PASSWORDS;
19 using importer::SEARCH_ENGINES; 19 using importer::SEARCH_ENGINES;
20 using importer::NONE; 20 using importer::NONE;
21 21
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 EXPECT_EQ(PASSWORDS, [controller_ servicesToImport]); 121 EXPECT_EQ(PASSWORDS, [controller_ servicesToImport]);
122 EXPECT_TRUE([controller_ importSomething]); 122 EXPECT_TRUE([controller_ importSomething]);
123 123
124 [controller_ setImportPasswords:NO]; 124 [controller_ setImportPasswords:NO];
125 [controller_ setImportSearchEngines:YES]; 125 [controller_ setImportSearchEngines:YES];
126 EXPECT_EQ(SEARCH_ENGINES, [controller_ servicesToImport]); 126 EXPECT_EQ(SEARCH_ENGINES, [controller_ servicesToImport]);
127 EXPECT_TRUE([controller_ importSomething]); 127 EXPECT_TRUE([controller_ importSomething]);
128 128
129 [controller_ cancel:nil]; 129 [controller_ cancel:nil];
130 } 130 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/importer/import_settings_dialog.mm ('k') | chrome/browser/ui/cocoa/importer/importer_lock_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698