1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Attempt to fix tests by avoiding clash between import tests names

This commit is contained in:
Dean Herbert 2020-09-17 13:01:34 +09:00
parent 0d9f531e19
commit d2580ebc70

View File

@ -22,7 +22,7 @@ namespace osu.Game.Tests.Skins.IO
[Test]
public async Task TestBasicImport()
{
using (HeadlessGameHost host = new CleanRunHeadlessGameHost())
using (HeadlessGameHost host = new CleanRunHeadlessGameHost(nameof(ImportSkinTest)))
{
try
{
@ -43,7 +43,7 @@ namespace osu.Game.Tests.Skins.IO
[Test]
public async Task TestImportTwiceWithSameMetadata()
{
using (HeadlessGameHost host = new CleanRunHeadlessGameHost())
using (HeadlessGameHost host = new CleanRunHeadlessGameHost(nameof(ImportSkinTest)))
{
try
{
@ -68,7 +68,7 @@ namespace osu.Game.Tests.Skins.IO
[Test]
public async Task TestImportTwiceWithNoMetadata()
{
using (HeadlessGameHost host = new CleanRunHeadlessGameHost())
using (HeadlessGameHost host = new CleanRunHeadlessGameHost(nameof(ImportSkinTest)))
{
try
{
@ -94,7 +94,7 @@ namespace osu.Game.Tests.Skins.IO
[Test]
public async Task TestImportTwiceWithDifferentMetadata()
{
using (HeadlessGameHost host = new CleanRunHeadlessGameHost())
using (HeadlessGameHost host = new CleanRunHeadlessGameHost(nameof(ImportSkinTest)))
{
try
{