mirror of https://github.com/ppy/osu
85 lines
2.5 KiB
C#
85 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.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 TestCaseDrawings()
|
|
{
|
|
Add(new Drawings
|
|
{
|
|
TeamList = new TestTeamList(),
|
|
});
|
|
}
|
|
|
|
private class TestTeamList : ITeamList
|
|
{
|
|
public IEnumerable<DrawingsTeam> Teams { get; } = new[]
|
|
{
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "GB",
|
|
FullName = "United Kingdom",
|
|
Acronym = "UK"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "FR",
|
|
FullName = "France",
|
|
Acronym = "FRA"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "CN",
|
|
FullName = "China",
|
|
Acronym = "CHN"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "AU",
|
|
FullName = "Australia",
|
|
Acronym = "AUS"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "JP",
|
|
FullName = "Japan",
|
|
Acronym = "JPN"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "RO",
|
|
FullName = "Romania",
|
|
Acronym = "ROM"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "IT",
|
|
FullName = "Italy",
|
|
Acronym = "PIZZA"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "VE",
|
|
FullName = "Venezuela",
|
|
Acronym = "VNZ"
|
|
},
|
|
new DrawingsTeam
|
|
{
|
|
FlagName = "US",
|
|
FullName = "United States of America",
|
|
Acronym = "USA"
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|