Imported Upstream version 4.0.1.28

Former-commit-id: 7bed21f7f097faf1b23b151908aba1976234cb6e
This commit is contained in:
Jo Shields
2015-05-15 09:04:39 +01:00
parent 7272927785
commit 2e0d90627e
155 changed files with 2071 additions and 1163 deletions

View File

@ -225,6 +225,15 @@ namespace MonoTests.System.Globalization
Assert.Fail ("InvariantCulture not found in the array from GetCultures()");
}
[Test]
public void GetAllCultures_Specific ()
{
CultureInfo [] infos = CultureInfo.GetCultures (CultureTypes.SpecificCultures);
foreach (CultureInfo ci in infos) {
Assert.IsNotNull (ci.DateTimeFormat);
}
}
[Test]
#if !NET_4_0
[ExpectedException (typeof (NotSupportedException))]