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:
parent
cb2b14e501
commit
ca2662e941
@ -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;
|
@ -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
|
||||
{
|
@ -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
|
||||
{
|
||||
|
@ -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());
|
||||
}
|
Loading…
Reference in New Issue
Block a user