1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-30 09:07:25 +08:00
osu-lazer/osu.Game.Tournament.Tests/TestCaseDrawings.cs

84 lines
2.4 KiB
C#
Raw Normal View History

2018-04-13 17:19:50 +08:00
// Copyright (c) 2007-2018 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.Game.Tests.Visual;
2018-08-26 00:24:19 +08:00
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.Drawings;
using osu.Game.Tournament.Screens.Drawings.Components;
2018-04-13 17:19:50 +08:00
namespace osu.Game.Tournament.Tests
2018-04-13 17:19:50 +08:00
{
public class TestCaseDrawings : OsuTestCase
{
public TestCaseDrawings()
{
Add(new DrawingsScreen
2018-04-13 17:19:50 +08:00
{
TeamList = new TestTeamList(),
});
}
private class TestTeamList : ITeamList
{
public IEnumerable<TournamentTeam> Teams { get; } = new[]
2018-04-13 17:19:50 +08:00
{
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "GB",
FullName = "United Kingdom",
Acronym = "UK"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "FR",
FullName = "France",
Acronym = "FRA"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "CN",
FullName = "China",
Acronym = "CHN"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "AU",
FullName = "Australia",
Acronym = "AUS"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "JP",
FullName = "Japan",
Acronym = "JPN"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "RO",
FullName = "Romania",
Acronym = "ROM"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "IT",
FullName = "Italy",
Acronym = "PIZZA"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "VE",
FullName = "Venezuela",
Acronym = "VNZ"
},
new TournamentTeam
2018-04-13 17:19:50 +08:00
{
FlagName = "US",
FullName = "United States of America",
Acronym = "USA"
},
};
}
}
}