mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Rename some test method names
This commit is contained in:
parent
b2a027742e
commit
28a9ea870f
@ -55,7 +55,7 @@ public class NewPlayerCreatorTest {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testCreateNewPlayer_Player() {
|
public void testCreateNewPlayer() {
|
||||||
IOfflinePlayer p = BukkitOfflinePlayer.wrap(MockUtils.mockPlayer2());
|
IOfflinePlayer p = BukkitOfflinePlayer.wrap(MockUtils.mockPlayer2());
|
||||||
UserData result = NewPlayerCreator.createNewOfflinePlayer(p);
|
UserData result = NewPlayerCreator.createNewOfflinePlayer(p);
|
||||||
UserData exp = new UserData(p);
|
UserData exp = new UserData(p);
|
||||||
@ -73,7 +73,7 @@ public class NewPlayerCreatorTest {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testCreateNewPlayer_OfflinePlayer() {
|
public void testCreateNewOfflinePlayer() {
|
||||||
IPlayer p = BukkitPlayer.wrap(MockUtils.mockPlayer2());
|
IPlayer p = BukkitPlayer.wrap(MockUtils.mockPlayer2());
|
||||||
UserData result = NewPlayerCreator.createNewPlayer(p);
|
UserData result = NewPlayerCreator.createNewPlayer(p);
|
||||||
UserData exp = new UserData(p);
|
UserData exp = new UserData(p);
|
||||||
@ -91,7 +91,7 @@ public class NewPlayerCreatorTest {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testCreateNewPlayer_OfflinePlayer_Gamemode() {
|
public void testCreateNewPlayerWithGameMode() {
|
||||||
IOfflinePlayer p = BukkitOfflinePlayer.wrap(MockUtils.mockPlayer());
|
IOfflinePlayer p = BukkitOfflinePlayer.wrap(MockUtils.mockPlayer());
|
||||||
UserData result = NewPlayerCreator.createNewPlayer(p, Gamemode.CREATIVE);
|
UserData result = NewPlayerCreator.createNewPlayer(p, Gamemode.CREATIVE);
|
||||||
UserData exp = new UserData(p);
|
UserData exp = new UserData(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user