Browse Source

finish renaming NonGeoRegions to NonGeoEntities

pull/3627/head
karoljk 1 year ago
parent
commit
eeda4b4899
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      cpp/test/phonenumbers/phonenumberutil_test.cc

+ 7
- 1
cpp/test/phonenumbers/phonenumberutil_test.cc View File

@ -66,7 +66,12 @@ class PhoneNumberUtilTest : public testing::Test {
const PhoneMetadata* GetMetadataForNonGeographicalRegion(
int country_code) const {
return phone_util_.GetMetadataForNonGeographicalRegion(country_code);
return phone_util_.GetMetadataForNonGeographicalEntity(country_code);
}
const PhoneMetadata* GetMetadataForNonGeographicalEntity(
int country_code) const {
return phone_util_.GetMetadataForNonGeographicalEntity(country_code);
}
void ExtractPossibleNumber(const string& number,
@ -342,6 +347,7 @@ TEST_F(PhoneNumberUtilTest, GetInstanceLoadARMetadata) {
TEST_F(PhoneNumberUtilTest, GetInstanceLoadInternationalTollFreeMetadata) {
const PhoneMetadata* metadata = GetMetadataForNonGeographicalRegion(800);
const PhoneMetadata* metadata = GetMetadataForNonGeographicalEntity(800);
EXPECT_FALSE(metadata == NULL);
EXPECT_EQ("001", metadata->id());
EXPECT_EQ(800, metadata->country_code());


Loading…
Cancel
Save