Skip to content
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 @@ -235,7 +235,7 @@ public void ComparerDefaultShouldAttemptToUseTheGenericIComparableInterfaceFirst
[Theory]
[MemberData(nameof(NullableOfInt32ComparisonsData))]
[MemberData(nameof(NullableOfInt32EnumComparisonsData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58933", TestPlatforms.iOS | TestPlatforms.tvOS)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58933", TestPlatforms.iOS | TestPlatforms.tvOS)]
public void NullableComparisons<T>(T leftValue, bool leftHasValue, T rightValue, bool rightHasValue, int expected) where T : struct
{
// Comparer<T> is specialized (for perf reasons) when T : U? where U : IComparable<U>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void TestGetDrives()
}

[Fact]
[PlatformSpecific(TestPlatforms.AnyUnix & ~TestPlatforms.Browser)]
[PlatformSpecific(TestPlatforms.AnyUnix & ~TestPlatforms.Browser)]
public void PropertiesOfInvalidDrive()
{
string invalidDriveName = "NonExistentDriveName";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static void ToString_LegacyUnknownFamily_Success(AddressFamily family)
[Theory]
[InlineData(AddressFamily.Packet)]
[InlineData(AddressFamily.ControllerAreaNetwork)]
[SkipOnPlatform(TestPlatforms.Android | TestPlatforms.Linux | TestPlatforms.Browser, "Expected behavior is different on Android, Linux, or Browser")]
[SkipOnPlatform(TestPlatforms.Android | TestPlatforms.Linux | TestPlatforms.Browser, "Expected behavior is different on Android, Linux, or Browser")]
public static void ToString_UnsupportedFamily_Throws(AddressFamily family)
{
Assert.Throws<PlatformNotSupportedException>(() => new SocketAddress(family));
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/tests/bug-81673-interface.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// IMyInterface.cs created with MonoDevelop
// User: lluis at 15:47 18/05/2007
// User: lluis at 15:47 18/05/2007
//

using System;
Expand Down
4 changes: 2 additions & 2 deletions src/mono/mono/tests/bug-81673.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// App.cs created with MonoDevelop
// User: lluis at 15:46 18/05/2007
// User: lluis at 15:46 18/05/2007
//

using System;
Expand Down Expand Up @@ -30,7 +30,7 @@ public static int Main ()
return 1;
}
}

class MyClass: IMyInterface
{
public void Run ()
Expand Down
2 changes: 1 addition & 1 deletion src/tests/Common/XUnitWrapperGenerator/TestPlatforms.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public enum TestPlatforms
Android = 512,
Browser = 1024,
MacCatalyst = 2048,
AnyUnix = FreeBSD | Linux | NetBSD | OSX | illumos | Solaris | iOS | tvOS | MacCatalyst | Android | Browser,
AnyUnix = FreeBSD | Linux | NetBSD | OSX | illumos | Solaris | iOS | tvOS | MacCatalyst | Android | Browser,
Any = ~0
}
}
6 changes: 3 additions & 3 deletions src/tests/Interop/PInvoke/BestFitMapping/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public static void Validate<T, U>(bool bestFitMapping, bool throwOnUnmappableCha
T invalid = data.Invalid;
if (shouldThrowOnInvalid)
{
Assert.Throws<ArgumentException>(() => funcs.In(invalid));
Assert.Throws<ArgumentException>(() => funcs.In(invalid));

invalid = data.Invalid;
Assert.Throws<ArgumentException>(() => funcs.InByRef(ref invalid));
Assert.Throws<ArgumentException>(() => funcs.InByRef(ref invalid));

invalid = data.Invalid;
Assert.Throws<ArgumentException>(() => funcs.InOutByRef(ref invalid));
Assert.Throws<ArgumentException>(() => funcs.InOutByRef(ref invalid));
}
else
{
Expand Down