| Index: chrome/browser/autofill/autofill_address_sheet_controller_mac_unittest.mm
|
| diff --git a/chrome/browser/autofill/autofill_address_view_controller_mac_unittest.mm b/chrome/browser/autofill/autofill_address_sheet_controller_mac_unittest.mm
|
| similarity index 65%
|
| rename from chrome/browser/autofill/autofill_address_view_controller_mac_unittest.mm
|
| rename to chrome/browser/autofill/autofill_address_sheet_controller_mac_unittest.mm
|
| index b5c857c1c59b8ab6cf26f218bf17c5b3af7e1e6d..f46425d62a310a85f2d3cbc75c16c007979f3442 100644
|
| --- a/chrome/browser/autofill/autofill_address_view_controller_mac_unittest.mm
|
| +++ b/chrome/browser/autofill/autofill_address_sheet_controller_mac_unittest.mm
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/scoped_nsobject.h"
|
| -#import "chrome/browser/autofill/autofill_address_view_controller_mac.h"
|
| +#import "chrome/browser/autofill/autofill_address_sheet_controller_mac.h"
|
| #include "chrome/browser/autofill/autofill_profile.h"
|
| #include "chrome/browser/cocoa/browser_test_helper.h"
|
| #import "chrome/browser/cocoa/cocoa_test_helper.h"
|
| @@ -11,17 +11,16 @@
|
|
|
| namespace {
|
|
|
| -typedef CocoaTest AutoFillAddressViewControllerTest;
|
| +typedef CocoaTest AutoFillAddressSheetControllerTest;
|
|
|
| -TEST(AutoFillAddressViewControllerTest, Basic) {
|
| +TEST(AutoFillAddressSheetControllerTest, Basic) {
|
| // A basic test that creates a new instance and releases.
|
| // Aids valgrind leak detection.
|
| AutoFillProfile profile(ASCIIToUTF16("Home"), 0);
|
| - scoped_nsobject<AutoFillAddressViewController> controller(
|
| - [[AutoFillAddressViewController alloc]
|
| + scoped_nsobject<AutoFillAddressSheetController> controller(
|
| + [[AutoFillAddressSheetController alloc]
|
| initWithProfile:profile
|
| - disclosure:NSOffState
|
| - controller:nil]);
|
| + mode:kAutoFillAddressAddMode]);
|
| EXPECT_TRUE(controller.get());
|
| }
|
|
|
|
|