1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 14:24:18 +08:00

Use ExplicitAttribute instead of manual nunit ignore

This commit is contained in:
Dean Herbert
2025-08-12 15:14:35 +09:00
Unverified
parent e7f9f629a4
commit ade7641c53
@@ -6,9 +6,8 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Framework.Development;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Collections;
@@ -258,14 +257,12 @@ namespace osu.Game.Tests.Visual.SongSelectV2
#region Benchmarks
[Test]
[Explicit("Manual benchmark")]
public void TestPerformance()
{
const int sets_count = 100;
const int diffs_count = 100;
if (DebugUtils.IsNUnitRunning)
Assert.Ignore("For benchmarking purposes only.");
AddStep("log in", () =>
{
API.Login("user1", string.Empty); // match username in test scores.