diff --git a/src/BizHawk.Tests.Testroms.GB/GB_GBC/BullyGB.cs b/src/BizHawk.Tests.Testroms.GB/GB_GBC/BullyGB.cs index 62ef6a6100..76e25078db 100644 --- a/src/BizHawk.Tests.Testroms.GB/GB_GBC/BullyGB.cs +++ b/src/BizHawk.Tests.Testroms.GB/GB_GBC/BullyGB.cs @@ -12,7 +12,7 @@ namespace BizHawk.Tests.Testroms.GB public sealed class BullyGB { [AttributeUsage(AttributeTargets.Method)] - private sealed class BullyTestData : Attribute, ITestDataSource + private sealed class BullyTestDataAttribute : Attribute, ITestDataSource { public IEnumerable GetData(MethodInfo methodInfo) { diff --git a/src/BizHawk.Tests.Testroms.GB/GB_GBC/RTC3Test.cs b/src/BizHawk.Tests.Testroms.GB/GB_GBC/RTC3Test.cs index de93175474..17f37b17ee 100644 --- a/src/BizHawk.Tests.Testroms.GB/GB_GBC/RTC3Test.cs +++ b/src/BizHawk.Tests.Testroms.GB/GB_GBC/RTC3Test.cs @@ -14,7 +14,7 @@ namespace BizHawk.Tests.Testroms.GB public sealed class RTC3Test { [AttributeUsage(AttributeTargets.Method)] - private sealed class RTC3TestData : Attribute, ITestDataSource + private sealed class RTC3TestDataAttribute : Attribute, ITestDataSource { public IEnumerable GetData(MethodInfo methodInfo) { diff --git a/src/BizHawk.Tests.Testroms.GB/ImageUtils.cs b/src/BizHawk.Tests.Testroms.GB/ImageUtils.cs index 3536a2e0a5..ec97eda063 100644 --- a/src/BizHawk.Tests.Testroms.GB/ImageUtils.cs +++ b/src/BizHawk.Tests.Testroms.GB/ImageUtils.cs @@ -19,7 +19,9 @@ namespace BizHawk.Tests.Testroms.GB /// w/o leading '.' private static (string Expect, string Actual, string Glob) GenFilenames((string Suite, string Case) id, string fileExt = "png") { - var prefix = $"{id.Suite}/{id.Case.GetHashCode():X8}"; // hashcode of string sadly not stable +#pragma warning disable RS0030 // hashcode of string sadly not stable so it's generally banned, but it's fine here + var prefix = $"{id.Suite}/{id.Case.GetHashCode():X8}"; +#pragma warning restore RS0030 var suffix = $"{id.Case.RemoveInvalidFileSystemChars().Replace(' ', '_').Replace("(no BIOS)", "noBIOS")}.{fileExt}"; return ($"{prefix}_expect_{suffix}", $"{prefix}_actual_{suffix}", $"{prefix}_*_{suffix}"); }