diff options
author | Justin Van Patten <jvp@justinvp.com> | 2016-10-02 02:20:58 +0300 |
---|---|---|
committer | Justin Van Patten <jvp@justinvp.com> | 2016-10-02 03:18:41 +0300 |
commit | 5179dda7331b1e201519adf76ce9ae69ffe2a0f6 (patch) | |
tree | 16b2d59ef9334dfe92b9e13ba718773281773aee /src/System.Globalization.Calendars/tests | |
parent | 0cc9db0ed12ea2588edfd080c568e8c3f55050c7 (diff) |
Replace uses of Xunit.PlatformID with renamed TestPlatforms
Replace uses of `Xunit.PlatformID` with renamed `TestPlatforms` because
the old name conflicts with `System.PlatformID` and should be plural
according to the design guidelines for flags enums.
Diffstat (limited to 'src/System.Globalization.Calendars/tests')
-rw-r--r-- | src/System.Globalization.Calendars/tests/Misc/Calendars.netstandard1.7.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/System.Globalization.Calendars/tests/Misc/Calendars.netstandard1.7.cs b/src/System.Globalization.Calendars/tests/Misc/Calendars.netstandard1.7.cs index ba4253dcde..a06825827a 100644 --- a/src/System.Globalization.Calendars/tests/Misc/Calendars.netstandard1.7.cs +++ b/src/System.Globalization.Calendars/tests/Misc/Calendars.netstandard1.7.cs @@ -32,8 +32,8 @@ namespace System.Globalization.Tests [Theory] [MemberData(nameof(Calendars_TestData))] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] public static void CloningTest(Calendar calendar, int yearHasLeapMonth, CalendarAlgorithmType algorithmType) { Calendar cloned = (Calendar) calendar.Clone(); @@ -42,7 +42,7 @@ namespace System.Globalization.Tests [Theory] [MemberData(nameof(Calendars_TestData))] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] public static void GetLeapMonthTest(Calendar calendar, int yearHasLeapMonth, CalendarAlgorithmType algorithmType) { if (yearHasLeapMonth > 0) @@ -57,7 +57,7 @@ namespace System.Globalization.Tests [Theory] [MemberData(nameof(Calendars_TestData))] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] public static void ReadOnlyTest(Calendar calendar, int yearHasLeapMonth, CalendarAlgorithmType algorithmType) { Assert.False(calendar.IsReadOnly); @@ -69,14 +69,14 @@ namespace System.Globalization.Tests [Theory] [MemberData(nameof(Calendars_TestData))] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] public static void AlgorithmTypeTest(Calendar calendar, int yearHasLeapMonth, CalendarAlgorithmType algorithmType) { Assert.Equal(calendar.AlgorithmType, algorithmType); } [Fact] - [ActiveIssue(11605, Xunit.PlatformID.AnyUnix)] + [ActiveIssue(11605, TestPlatforms.AnyUnix)] public static void CalendarErasTest() { Assert.Equal(1, ChineseLunisolarCalendar.ChineseEra); |