1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +08:00

Rename incorrectly named test cases

This commit is contained in:
Dean Herbert 2019-05-14 14:58:36 +09:00
parent cb2b14e501
commit ca2662e941
4 changed files with 6 additions and 8 deletions

View File

@ -11,7 +11,7 @@ using osu.Game.Rulesets;
namespace osu.Game.Tests.Visual.Online
{
[TestFixture]
public class TestCaseDirect : OsuTestCase
public class TestCaseDirectOverlay : OsuTestCase
{
private DirectOverlay direct;
private RulesetStore rulesets;

View File

@ -11,19 +11,18 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual.Online
{
[TestFixture]
public class TestCaseSocial : OsuTestCase
public class TestCaseSocialOverlay : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(UserPanel),
typeof(SocialPanel),
typeof(FilterControl),
typeof(SocialOverlay),
typeof(SocialGridPanel),
typeof(SocialListPanel)
};
public TestCaseSocial()
public TestCaseSocialOverlay()
{
SocialOverlay s = new SocialOverlay
{

View File

@ -38,7 +38,7 @@ namespace osu.Game.Tests.Visual.Online
header = new ProfileHeader();
Add(header);
AddStep("Show offline dummy", () => header.User.Value = TestCaseUserProfile.TEST_USER);
AddStep("Show offline dummy", () => header.User.Value = TestCaseUserProfileOverlay.TEST_USER);
AddStep("Show null dummy", () => header.User.Value = new User
{

View File

@ -17,7 +17,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual.Online
{
[TestFixture]
public class TestCaseUserProfile : OsuTestCase
public class TestCaseUserProfileOverlay : OsuTestCase
{
private readonly TestUserProfileOverlay profile;
@ -27,7 +27,6 @@ namespace osu.Game.Tests.Visual.Online
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(ProfileHeader),
typeof(UserProfileOverlay),
typeof(RankGraph),
typeof(LineGraph),
typeof(SectionsContainer<>),
@ -72,7 +71,7 @@ namespace osu.Game.Tests.Visual.Online
Achievements = new User.UserAchievement[0],
};
public TestCaseUserProfile()
public TestCaseUserProfileOverlay()
{
Add(profile = new TestUserProfileOverlay());
}