mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-13 10:42:54 +00:00
@@ -69,9 +69,9 @@ public class WorldEventDispatcherImplTest {
|
||||
|
||||
@Test
|
||||
public void testListeners1() throws InterruptedException {
|
||||
final L2Character character1 = new L2Character(null);
|
||||
final L2Character character1 = new L2Character(null, null);
|
||||
character1.setID(cidFactory.createID());
|
||||
final L2Character character2 = new L2Character(null);
|
||||
final L2Character character2 = new L2Character(null, null);
|
||||
character2.setID(cidFactory.createID());
|
||||
final Item item1 = new Item(null);
|
||||
item1.setID(iidFactory.createID());
|
||||
@@ -110,9 +110,9 @@ public class WorldEventDispatcherImplTest {
|
||||
|
||||
@Test
|
||||
public void testListeners2() throws InterruptedException {
|
||||
final L2Character character1 = new L2Character(null);
|
||||
final L2Character character1 = new L2Character(null, null);
|
||||
character1.setID(cidFactory.createID());
|
||||
final L2Character character2 = new L2Character(null);
|
||||
final L2Character character2 = new L2Character(null, null);
|
||||
character2.setID(cidFactory.createID());
|
||||
final Item item1 = new Item(null);
|
||||
item1.setID(iidFactory.createID());
|
||||
|
||||
@@ -57,28 +57,28 @@ public class WorldServiceImplTest {
|
||||
|
||||
@Test
|
||||
public void testAdd() {
|
||||
final L2Character character = new L2Character(null);
|
||||
final L2Character character = new L2Character(null, null);
|
||||
world.add(character);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRemove() {
|
||||
final L2Character character = new L2Character(null);
|
||||
final L2Character character = new L2Character(null, null);
|
||||
world.add(character);
|
||||
world.remove(character);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testContains() {
|
||||
final L2Character character = new L2Character(null);
|
||||
final L2Character character = new L2Character(null, null);
|
||||
world.add(character);
|
||||
Assert.assertTrue(world.contains(character));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testIterator() {
|
||||
final L2Character character1 = new L2Character(null);
|
||||
final L2Character character2 = new L2Character(null);
|
||||
final L2Character character1 = new L2Character(null, null);
|
||||
final L2Character character2 = new L2Character(null, null);
|
||||
final Item item1 = new Item(null);
|
||||
world.add(character1);
|
||||
world.add(character2);
|
||||
|
||||
Reference in New Issue
Block a user