Rename newly-added `.props` file, improve MSTest output

fixes 6df491c9d
This commit is contained in:
James Groom 2024-03-08 10:50:57 +00:00 committed by GitHub
parent 5a6fcce981
commit 49fa40f562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnTest.props" />
<Import Project="../TestProjects.props" />
<PropertyGroup>
<NoWarn>$(NoWarn);CA1310;CA1416</NoWarn>
</PropertyGroup>

View File

@ -34,7 +34,7 @@ namespace BizHawk.Tests.Testroms.GB.GambatteSuite
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({((GambatteHexStrTestCase) data![0]!).DisplayName()})";
=> $"{methodInfo.Name}(\"{((GambatteHexStrTestCase) data![0]!).DisplayName()}\")";
}
[AttributeUsage(AttributeTargets.Method)]
@ -51,7 +51,7 @@ namespace BizHawk.Tests.Testroms.GB.GambatteSuite
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({((GambatteRefImageTestCase) data![0]!).DisplayName()})";
=> $"{methodInfo.Name}(\"{((GambatteRefImageTestCase) data![0]!).DisplayName()}\")";
}
private static readonly byte[,] GLYPHS = {

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnTest.props" />
<Import Project="../TestProjects.props" />
<PropertyGroup>
<NoWarn>$(NoWarn);CA1310;CA1416</NoWarn>
</PropertyGroup>

View File

@ -69,7 +69,7 @@ namespace BizHawk.Tests.Testroms.GB
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({((AcidTestCase) data![0]!).DisplayName()})";
=> $"{methodInfo.Name}(\"{((AcidTestCase) data![0]!).DisplayName()}\")";
}
private const string SUITE_ID = "AcidTestroms";

View File

@ -27,7 +27,7 @@ namespace BizHawk.Tests.Testroms.GB
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({(CoreSetup) data![0]!})";
=> $"{methodInfo.Name}(\"{(CoreSetup) data![0]!}\")";
}
private const string ROM_EMBED_PATH = "res.BullyGB_artifact.bully.gb";

View File

@ -140,7 +140,7 @@ namespace BizHawk.Tests.Testroms.GB.CPPTestroms
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({((CPPTestromsHexStrTestCase) data![0]!).DisplayName()})";
=> $"{methodInfo.Name}(\"{((CPPTestromsHexStrTestCase) data![0]!).DisplayName()}\")";
}
private static readonly byte[,] GLYPHS = {

View File

@ -231,7 +231,7 @@ namespace BizHawk.Tests.Testroms.GB
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({((MealybugTestCase) data![0]!).DisplayName()})";
=> $"{methodInfo.Name}(\"{((MealybugTestCase) data![0]!).DisplayName()}\")";
}
private const string SUITE_ID = "Mealybug";

View File

@ -32,7 +32,7 @@ namespace BizHawk.Tests.Testroms.GB
}
public string? GetDisplayName(MethodInfo methodInfo, object?[]? data)
=> $"{methodInfo.Name}({(CoreSetup) data![0]!})";
=> $"{methodInfo.Name}(\"{(CoreSetup) data![0]!}\")";
}
private const string ROM_EMBED_PATH = "res.rtc3test_artifact.rtc3test.gb";

View File

@ -5,7 +5,7 @@
<PropertyGroup Condition=" '$(APPVEYOR)' != '' ">
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnTest.props" />
<Import Project="../TestProjects.props" />
<PropertyGroup>
<DefineConstants Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">$(DefineConstants);SKIP_PLATFORM_TESTS</DefineConstants>
</PropertyGroup>