JAVA/JS/CPP:libphonenumber v7.0 last changes

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk/cpp/test@715 ee073f10-1060-11df-b6a4-87a95322a99c
diff --git a/phonenumbers/phonenumberutil_test.cc b/phonenumbers/phonenumberutil_test.cc
index 10e141d..b8e367b 100644
--- a/phonenumbers/phonenumberutil_test.cc
+++ b/phonenumbers/phonenumberutil_test.cc
@@ -173,6 +173,20 @@
   EXPECT_GT(regions.size(), 0U);
 }
 
+TEST_F(PhoneNumberUtilTest, GetSupportedGlobalNetworkCallingCodes) {
+  set<int> calling_codes;
+
+  phone_util_.GetSupportedGlobalNetworkCallingCodes(&calling_codes);
+  EXPECT_GT(calling_codes.size(), 0U);
+  for (set<int>::const_iterator it = calling_codes.begin();
+       it != calling_codes.end(); ++it) {
+    EXPECT_GT(*it, 0);
+    string region_code;
+    phone_util_.GetRegionCodeForCountryCode(*it, &region_code);
+    EXPECT_EQ(RegionCode::UN001(), region_code);
+  }
+}
+
 TEST_F(PhoneNumberUtilTest, GetRegionCodesForCountryCallingCode) {
   list<string> regions;