mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-24 19:45:14 +01:00
Move TryToComplete from panel Package to tasks package.
This commit is contained in:
parent
f38aee6ed8
commit
7bb2ad09d3
@ -14,7 +14,7 @@ import world.bentobox.challenges.ChallengesAddon;
|
|||||||
import world.bentobox.challenges.ChallengesManager;
|
import world.bentobox.challenges.ChallengesManager;
|
||||||
import world.bentobox.challenges.database.object.Challenge;
|
import world.bentobox.challenges.database.object.Challenge;
|
||||||
import world.bentobox.challenges.panel.CommonGUI;
|
import world.bentobox.challenges.panel.CommonGUI;
|
||||||
import world.bentobox.challenges.panel.TryToComplete;
|
import world.bentobox.challenges.tasks.TryToComplete;
|
||||||
import world.bentobox.challenges.utils.GuiUtils;
|
import world.bentobox.challenges.utils.GuiUtils;
|
||||||
import world.bentobox.challenges.utils.LevelStatus;
|
import world.bentobox.challenges.utils.LevelStatus;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package world.bentobox.challenges.panel;
|
package world.bentobox.challenges.tasks;
|
||||||
|
|
||||||
|
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package world.bentobox.challenges.panel;
|
package world.bentobox.challenges.tasks;
|
||||||
|
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
import static org.mockito.Mockito.mock;
|
import static org.mockito.Mockito.mock;
|
||||||
@ -58,7 +58,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsSuccess() {
|
public void testRemoveItemsSuccess() {
|
||||||
@ -72,7 +72,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsMax() {
|
public void testRemoveItemsMax() {
|
||||||
@ -86,7 +86,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsZero() {
|
public void testRemoveItemsZero() {
|
||||||
@ -100,7 +100,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsSuccessMultiple() {
|
public void testRemoveItemsSuccessMultiple() {
|
||||||
@ -114,7 +114,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsSuccessMultipleOther() {
|
public void testRemoveItemsSuccessMultipleOther() {
|
||||||
@ -131,7 +131,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsMultipleOtherFail() {
|
public void testRemoveItemsMultipleOtherFail() {
|
||||||
@ -148,7 +148,7 @@ public class TryToCompleteTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}.
|
* Test method for {@link TryToComplete#removeItems(java.util.List)}.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRemoveItemsFail() {
|
public void testRemoveItemsFail() {
|
Loading…
Reference in New Issue
Block a user