mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 16:07:25 +08:00
87 lines
2.5 KiB
C#
87 lines
2.5 KiB
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using System.Collections.Generic;
|
|
using osu.Framework.Screens.Testing;
|
|
using osu.Game.Screens.Tournament;
|
|
using osu.Game.Screens.Tournament.Teams;
|
|
|
|
namespace osu.Desktop.VisualTests.Tests
|
|
{
|
|
internal class TestCaseDrawings : TestCase
|
|
{
|
|
public override string Description => "Tournament drawings";
|
|
|
|
public override void Reset()
|
|
{
|
|
base.Reset();
|
|
|
|
Add(new Drawings
|
|
{
|
|
TeamList = new TestTeamList(),
|
|
});
|
|
}
|
|
|
|
private class TestTeamList : ITeamList
|
|
{
|
|
public IEnumerable<Team> Teams { get; } = new[]
|
|
{
|
|
new Team
|
|
{
|
|
FlagName = "GB",
|
|
FullName = "United Kingdom",
|
|
Acronym = "UK"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "FR",
|
|
FullName = "France",
|
|
Acronym = "FRA"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "CN",
|
|
FullName = "China",
|
|
Acronym = "CHN"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "AU",
|
|
FullName = "Australia",
|
|
Acronym = "AUS"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "JP",
|
|
FullName = "Japan",
|
|
Acronym = "JPN"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "RO",
|
|
FullName = "Romania",
|
|
Acronym = "ROM"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "IT",
|
|
FullName = "Italy",
|
|
Acronym = "PIZZA"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "VE",
|
|
FullName = "Venezuela",
|
|
Acronym = "VNZ"
|
|
},
|
|
new Team
|
|
{
|
|
FlagName = "US",
|
|
FullName = "United States of America",
|
|
Acronym = "USA"
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|