2017-03-03 19:21:11 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
2017-03-08 14:50:52 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2017-03-03 19:21:11 +08:00
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2017-02-27 13:19:07 +08:00
|
|
|
|
using osu.Game.Screens.Tournament;
|
2017-03-03 19:42:22 +08:00
|
|
|
|
using osu.Game.Screens.Tournament.Teams;
|
2017-02-27 13:19:07 +08:00
|
|
|
|
|
2017-08-04 14:37:31 +08:00
|
|
|
|
namespace osu.Desktop.Tests.Visual
|
2017-02-27 13:19:07 +08:00
|
|
|
|
{
|
2017-08-04 14:37:31 +08:00
|
|
|
|
internal class TestCaseDrawings : OsuTestCase
|
2017-02-27 13:19:07 +08:00
|
|
|
|
{
|
|
|
|
|
public override string Description => "Tournament drawings";
|
|
|
|
|
|
2017-07-07 20:05:55 +08:00
|
|
|
|
public TestCaseDrawings()
|
2017-02-27 13:19:07 +08:00
|
|
|
|
{
|
2017-03-03 19:21:11 +08:00
|
|
|
|
Add(new Drawings
|
|
|
|
|
{
|
|
|
|
|
TeamList = new TestTeamList(),
|
|
|
|
|
});
|
2017-03-03 17:47:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
2017-03-07 09:59:19 +08:00
|
|
|
|
private class TestTeamList : ITeamList
|
2017-03-03 17:47:56 +08:00
|
|
|
|
{
|
2017-05-02 17:00:37 +08:00
|
|
|
|
public IEnumerable<DrawingsTeam> Teams { get; } = new[]
|
2017-03-03 17:47:56 +08:00
|
|
|
|
{
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "GB",
|
|
|
|
|
FullName = "United Kingdom",
|
|
|
|
|
Acronym = "UK"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "FR",
|
|
|
|
|
FullName = "France",
|
|
|
|
|
Acronym = "FRA"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "CN",
|
|
|
|
|
FullName = "China",
|
|
|
|
|
Acronym = "CHN"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "AU",
|
|
|
|
|
FullName = "Australia",
|
|
|
|
|
Acronym = "AUS"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "JP",
|
|
|
|
|
FullName = "Japan",
|
|
|
|
|
Acronym = "JPN"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "RO",
|
|
|
|
|
FullName = "Romania",
|
|
|
|
|
Acronym = "ROM"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "IT",
|
|
|
|
|
FullName = "Italy",
|
|
|
|
|
Acronym = "PIZZA"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 19:21:11 +08:00
|
|
|
|
{
|
|
|
|
|
FlagName = "VE",
|
|
|
|
|
FullName = "Venezuela",
|
|
|
|
|
Acronym = "VNZ"
|
|
|
|
|
},
|
2017-05-02 17:00:37 +08:00
|
|
|
|
new DrawingsTeam
|
2017-03-03 17:47:56 +08:00
|
|
|
|
{
|
2017-03-03 19:21:11 +08:00
|
|
|
|
FlagName = "US",
|
|
|
|
|
FullName = "United States of America",
|
|
|
|
|
Acronym = "USA"
|
|
|
|
|
},
|
|
|
|
|
};
|
2017-02-27 13:19:07 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|