1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00
osu-lazer/osu.Game.Tournament.Tests/TestCaseDrawings.cs
Dean Herbert f0743ebecf Merge remote-tracking branch 'upstream/master' into tournament-tools
# Conflicts:
#	osu.Game.Tournament.Tests/TestCaseDrawings.cs
#	osu.Game/osu.Game.csproj
2019-02-17 17:25:09 +09:00

84 lines
2.4 KiB
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Tests.Visual;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.Drawings;
using osu.Game.Tournament.Screens.Drawings.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseDrawings : ScreenTestCase
{
public TestCaseDrawings()
{
LoadScreen(new DrawingsScreen
{
TeamList = new TestTeamList(),
});
}
private class TestTeamList : ITeamList
{
public IEnumerable<TournamentTeam> Teams { get; } = new[]
{
new TournamentTeam
{
FlagName = "GB",
FullName = "United Kingdom",
Acronym = "UK"
},
new TournamentTeam
{
FlagName = "FR",
FullName = "France",
Acronym = "FRA"
},
new TournamentTeam
{
FlagName = "CN",
FullName = "China",
Acronym = "CHN"
},
new TournamentTeam
{
FlagName = "AU",
FullName = "Australia",
Acronym = "AUS"
},
new TournamentTeam
{
FlagName = "JP",
FullName = "Japan",
Acronym = "JPN"
},
new TournamentTeam
{
FlagName = "RO",
FullName = "Romania",
Acronym = "ROM"
},
new TournamentTeam
{
FlagName = "IT",
FullName = "Italy",
Acronym = "PIZZA"
},
new TournamentTeam
{
FlagName = "VE",
FullName = "Venezuela",
Acronym = "VNZ"
},
new TournamentTeam
{
FlagName = "US",
FullName = "United States of America",
Acronym = "USA"
},
};
}
}
}