Index: chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js |
diff --git a/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js b/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js |
index e9f83d36927bd2c592403b2de1daa71110fc2b18..08b926a007f10a27a8e6baf551144c2f861f0cbd 100644 |
--- a/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js |
+++ b/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js |
@@ -44,17 +44,25 @@ FakeDataMaker.exceptionEntry = function(url) { |
}; |
/** |
+ * Creates a new fake address entry for testing. |
+ * @return {!chrome.autofillPrivate.AddressEntry} |
+ */ |
+FakeDataMaker.emptyAddressEntry = function() { |
+ return {}; |
+} |
+ |
+/** |
* Creates a fake address entry for testing. |
* @return {!chrome.autofillPrivate.AddressEntry} |
*/ |
FakeDataMaker.addressEntry = function() { |
var ret = {}; |
ret.guid = FakeDataMaker.makeGuid_(); |
- ret.fullNames = ['John', 'Doe']; |
+ ret.fullNames = ['John Doe']; |
ret.companyName = 'Google'; |
ret.addressLines = FakeDataMaker.patternMaker_('xxxx Main St', 10); |
- ret.addressLevel1 = "CA"; |
- ret.addressLevel2 = "Venice"; |
+ ret.addressLevel1 = 'CA'; |
+ ret.addressLevel2 = 'Venice'; |
ret.postalCode = FakeDataMaker.patternMaker_('xxxxx', 10); |
ret.countryCode = 'US'; |
ret.phoneNumbers = [FakeDataMaker.patternMaker_('(xxx) xxx-xxxx', 10)]; |