Lines Matching defs:regions
166 std::set<string> regions;
168 phone_util_.GetSupportedRegions(®ions);
169 EXPECT_GT(regions.size(), 0U);
246 std::list<string> regions;
248 phone_util_.GetRegionCodesForCountryCallingCode(1, ®ions);
249 EXPECT_TRUE(find(regions.begin(), regions.end(), RegionCode::US())
250 != regions.end());
251 EXPECT_TRUE(find(regions.begin(), regions.end(), RegionCode::BS())
252 != regions.end());
254 regions.clear();
255 phone_util_.GetRegionCodesForCountryCallingCode(44, ®ions);
256 EXPECT_TRUE(find(regions.begin(), regions.end(), RegionCode::GB())
257 != regions.end());
259 regions.clear();
260 phone_util_.GetRegionCodesForCountryCallingCode(49, ®ions);
261 EXPECT_TRUE(find(regions.begin(), regions.end(), RegionCode::DE())
262 != regions.end());
264 regions.clear();
265 phone_util_.GetRegionCodesForCountryCallingCode(800, ®ions);
266 EXPECT_TRUE(find(regions.begin(), regions.end(), RegionCode::UN001())
267 != regions.end());
269 regions.clear();
271 kInvalidCountryCode, ®ions);
272 EXPECT_TRUE(regions.empty());
1229 // when dialled from same region or other regions.
2381 // We test that mobile phone numbers in relevant regions are indeed considered
2852 // Test cases with invalid regions.