Rename some test method names

This commit is contained in:
Fuzzlemann 2017-08-14 22:54:50 +02:00
parent b2a027742e
commit 28a9ea870f

View File

@ -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);