2019-01-24 08:43:03 +00:00
|
|
|
|
// 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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2018-08-25 12:40:40 +00:00
|
|
|
|
using osu.Game.Tests.Visual;
|
2018-08-25 16:24:19 +00:00
|
|
|
|
using osu.Game.Tournament.Components;
|
2018-08-25 12:40:40 +00:00
|
|
|
|
using osu.Game.Tournament.Screens.Drawings;
|
|
|
|
|
using osu.Game.Tournament.Screens.Drawings.Components;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2018-08-25 12:40:40 +00:00
|
|
|
|
namespace osu.Game.Tournament.Tests
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
2019-02-15 08:01:06 +00:00
|
|
|
|
public class TestCaseDrawings : ScreenTestCase
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
public TestCaseDrawings()
|
|
|
|
|
{
|
2019-02-17 10:48:58 +00:00
|
|
|
|
Add(new DrawingsScreen
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
TeamList = new TestTeamList(),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private class TestTeamList : ITeamList
|
|
|
|
|
{
|
2018-08-25 12:40:40 +00:00
|
|
|
|
public IEnumerable<TournamentTeam> Teams { get; } = new[]
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "GB",
|
|
|
|
|
FullName = "United Kingdom",
|
|
|
|
|
Acronym = "UK"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "FR",
|
|
|
|
|
FullName = "France",
|
|
|
|
|
Acronym = "FRA"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "CN",
|
|
|
|
|
FullName = "China",
|
|
|
|
|
Acronym = "CHN"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "AU",
|
|
|
|
|
FullName = "Australia",
|
|
|
|
|
Acronym = "AUS"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "JP",
|
|
|
|
|
FullName = "Japan",
|
|
|
|
|
Acronym = "JPN"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "RO",
|
|
|
|
|
FullName = "Romania",
|
|
|
|
|
Acronym = "ROM"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "IT",
|
|
|
|
|
FullName = "Italy",
|
|
|
|
|
Acronym = "PIZZA"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "VE",
|
|
|
|
|
FullName = "Venezuela",
|
|
|
|
|
Acronym = "VNZ"
|
|
|
|
|
},
|
2018-08-25 12:40:40 +00:00
|
|
|
|
new TournamentTeam
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
FlagName = "US",
|
|
|
|
|
FullName = "United States of America",
|
|
|
|
|
Acronym = "USA"
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|