diff options
4 files changed, 0 insertions, 19 deletions
diff --git a/chrome/browser/autofill/address_field_unittest.cc b/chrome/browser/autofill/address_field_unittest.cc index 7f1c368..ea41876 100644 --- a/chrome/browser/autofill/address_field_unittest.cc +++ b/chrome/browser/autofill/address_field_unittest.cc @@ -25,10 +25,6 @@ class AddressFieldTest : public testing::Test { DISALLOW_COPY_AND_ASSIGN(AddressFieldTest); }; -TEST_F(AddressFieldTest, DeathOnNull) { - ASSERT_DEBUG_DEATH(AddressField::Parse(NULL, false), ""); -} - TEST_F(AddressFieldTest, Empty) { list_.push_back(NULL); iter_ = list_.begin(); diff --git a/chrome/browser/autofill/autofill_infobar_delegate_unittest.cc b/chrome/browser/autofill/autofill_infobar_delegate_unittest.cc index f2fd4d0..1c40557 100644 --- a/chrome/browser/autofill/autofill_infobar_delegate_unittest.cc +++ b/chrome/browser/autofill/autofill_infobar_delegate_unittest.cc @@ -111,10 +111,6 @@ TEST_F(AutoFillInfoBarDelegateTest, GetButtonLabel) { std::wstring deny = l10n_util::GetString(IDS_AUTOFILL_INFOBAR_DENY); EXPECT_EQ(deny, infobar_->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_CANCEL)); - - // NOTREACHED if neither BUTTON_OK or BUTTON_CANCEL are passed in. - ASSERT_DEBUG_DEATH( - infobar_->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_NONE), ""); } TEST_F(AutoFillInfoBarDelegateTest, Accept) { diff --git a/chrome/browser/autofill/billing_address_unittest.cc b/chrome/browser/autofill/billing_address_unittest.cc index da20211..98d62f0 100644 --- a/chrome/browser/autofill/billing_address_unittest.cc +++ b/chrome/browser/autofill/billing_address_unittest.cc @@ -36,9 +36,6 @@ class BillingAddressTest : public testing::Test { }; TEST_F(BillingAddressTest, GetPossibleFieldTypes) { - // DCHECK on NULL |possible_types|. - ASSERT_DEBUG_DEATH(address_.GetPossibleFieldTypes(string16(), NULL), ""); - // Empty string. FieldTypeSet possible_types; address_.GetPossibleFieldTypes(string16(), &possible_types); @@ -359,10 +356,6 @@ TEST_F(BillingAddressTest, GetPossibleFieldTypes) { } TEST_F(BillingAddressTest, FindInfoMatches) { - // DCHECK on NULL |matched_text|. - ASSERT_DEBUG_DEATH(address_.FindInfoMatches( - AutoFillType(ADDRESS_BILLING_LINE1), string16(), NULL), ""); - // ADDRESS_BILLING_LINE1 ===================================================== // Match the beginning of the string. diff --git a/chrome/browser/autofill/phone_field_unittest.cc b/chrome/browser/autofill/phone_field_unittest.cc index 4417f9e..cef9bb4 100644 --- a/chrome/browser/autofill/phone_field_unittest.cc +++ b/chrome/browser/autofill/phone_field_unittest.cc @@ -25,10 +25,6 @@ class PhoneFieldTest : public testing::Test { DISALLOW_COPY_AND_ASSIGN(PhoneFieldTest); }; -TEST_F(PhoneFieldTest, DeathOnNull) { - ASSERT_DEBUG_DEATH(PhoneField::Parse(NULL, false), ""); -} - TEST_F(PhoneFieldTest, Empty) { list_.push_back(NULL); iter_ = list_.begin(); |