Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class TestsEventSourceLifetime
/// alive.
/// </summary>
[Fact]
[PlatformSpecific(PlatformID.Windows)] // non-Windows EventSources don't have lifetime
[PlatformSpecific(Xunit.PlatformID.Windows)] // non-Windows EventSources don't have lifetime
public void Test_EventSource_Lifetime()
{
TestUtilities.CheckNoEventSourcesRunning("Start");
Expand Down
2 changes: 1 addition & 1 deletion src/System.Runtime/tests/System/GCTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public static void LatencyRoundtrips(GCLatencyMode value)
}

[Theory]
[PlatformSpecific(PlatformID.Windows)] //Concurent GC is not enabled on Unix. Recombine to TestLatencyRoundTrips once addressed.
[PlatformSpecific(Xunit.PlatformID.Windows)] //Concurent GC is not enabled on Unix. Recombine to TestLatencyRoundTrips once addressed.
[InlineData(GCLatencyMode.LowLatency)]
[InlineData(GCLatencyMode.SustainedLowLatency)]
public static void LatencyRoundtrips_LowLatency(GCLatencyMode value) => LatencyRoundtrips(value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void WaitAll_SameHandles()
}

[Fact]
[PlatformSpecific(PlatformID.Windows)] // names aren't supported on Unix
[PlatformSpecific(Xunit.PlatformID.Windows)] // names aren't supported on Unix
public static void WaitAll_SameNames()
{
Mutex[] wh = new Mutex[2];
Expand Down
8 changes: 4 additions & 4 deletions src/System.Runtime/tests/System/TimeZoneInfoTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ public static void IsInvalidTime()
}

[Fact]
[PlatformSpecific(PlatformID.AnyUnix)]
[PlatformSpecific(Xunit.PlatformID.AnyUnix)]
public static void IsDaylightSavingTime_CatamarcaMultiYearDaylightSavings()
{
// America/Catamarca had DST from
Expand All @@ -1694,7 +1694,7 @@ public static void IsDaylightSavingTime_CatamarcaMultiYearDaylightSavings()
}

[Theory]
[PlatformSpecific(PlatformID.AnyUnix)]
[PlatformSpecific(Xunit.PlatformID.AnyUnix)]
[InlineData("1940-02-24T23:59:59.0000000Z", false, "0:00:00")]
[InlineData("1940-02-25T00:00:00.0000000Z", true, "1:00:00")]
[InlineData("1940-11-20T00:00:00.0000000Z", true, "1:00:00")]
Expand All @@ -1718,7 +1718,7 @@ public static void IsDaylightSavingTime_CasablancaMultiYearDaylightSavings(strin
}

[Theory]
[PlatformSpecific(PlatformID.AnyUnix)]
[PlatformSpecific(Xunit.PlatformID.AnyUnix)]
// in 1996 Europe/Lisbon changed from standard time to DST without changing the UTC offset
[InlineData("1995-09-30T17:00:00.0000000Z", false, "1:00:00")]
[InlineData("1996-03-31T00:59:59.0000000Z", false, "1:00:00")]
Expand Down Expand Up @@ -1835,7 +1835,7 @@ public static void DaylightTransitionsExactTime()
/// See https://github.com/dotnet/coreclr/issues/2185
/// </summary>
[Fact]
[PlatformSpecific(PlatformID.AnyUnix)]
[PlatformSpecific(Xunit.PlatformID.AnyUnix)]
public static void DaylightTransitionsExactTime_Johannesburg()
{
DateTimeOffset transition = new DateTimeOffset(1943, 3, 20, 23, 0, 0, TimeSpan.Zero);
Expand Down