mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +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
|
namespace osu.Game.Tests.Visual.Online
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestCaseDirect : OsuTestCase
|
public class TestCaseDirectOverlay : OsuTestCase
|
||||||
{
|
{
|
||||||
private DirectOverlay direct;
|
private DirectOverlay direct;
|
||||||
private RulesetStore rulesets;
|
private RulesetStore rulesets;
|
@ -11,19 +11,18 @@ using osu.Game.Users;
|
|||||||
namespace osu.Game.Tests.Visual.Online
|
namespace osu.Game.Tests.Visual.Online
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestCaseSocial : OsuTestCase
|
public class TestCaseSocialOverlay : OsuTestCase
|
||||||
{
|
{
|
||||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||||
{
|
{
|
||||||
typeof(UserPanel),
|
typeof(UserPanel),
|
||||||
typeof(SocialPanel),
|
typeof(SocialPanel),
|
||||||
typeof(FilterControl),
|
typeof(FilterControl),
|
||||||
typeof(SocialOverlay),
|
|
||||||
typeof(SocialGridPanel),
|
typeof(SocialGridPanel),
|
||||||
typeof(SocialListPanel)
|
typeof(SocialListPanel)
|
||||||
};
|
};
|
||||||
|
|
||||||
public TestCaseSocial()
|
public TestCaseSocialOverlay()
|
||||||
{
|
{
|
||||||
SocialOverlay s = new SocialOverlay
|
SocialOverlay s = new SocialOverlay
|
||||||
{
|
{
|
@ -38,7 +38,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
header = new ProfileHeader();
|
header = new ProfileHeader();
|
||||||
Add(header);
|
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
|
AddStep("Show null dummy", () => header.User.Value = new User
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ using osu.Game.Users;
|
|||||||
namespace osu.Game.Tests.Visual.Online
|
namespace osu.Game.Tests.Visual.Online
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class TestCaseUserProfile : OsuTestCase
|
public class TestCaseUserProfileOverlay : OsuTestCase
|
||||||
{
|
{
|
||||||
private readonly TestUserProfileOverlay profile;
|
private readonly TestUserProfileOverlay profile;
|
||||||
|
|
||||||
@ -27,7 +27,6 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||||
{
|
{
|
||||||
typeof(ProfileHeader),
|
typeof(ProfileHeader),
|
||||||
typeof(UserProfileOverlay),
|
|
||||||
typeof(RankGraph),
|
typeof(RankGraph),
|
||||||
typeof(LineGraph),
|
typeof(LineGraph),
|
||||||
typeof(SectionsContainer<>),
|
typeof(SectionsContainer<>),
|
||||||
@ -72,7 +71,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
Achievements = new User.UserAchievement[0],
|
Achievements = new User.UserAchievement[0],
|
||||||
};
|
};
|
||||||
|
|
||||||
public TestCaseUserProfile()
|
public TestCaseUserProfileOverlay()
|
||||||
{
|
{
|
||||||
Add(profile = new TestUserProfileOverlay());
|
Add(profile = new TestUserProfileOverlay());
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user