Added all missing comments

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@213 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-05-10 03:54:48 +02:00
parent 4a860e53cf
commit 3b49b2053e
38 changed files with 696 additions and 263 deletions

View file

@ -2,10 +2,13 @@ package jrummikub.util;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Test class for {@link Event}
*/
public class EventTest {
boolean fired, fired2;
/** */
@Test
public void singleListener() {
fired = false;
@ -26,6 +29,7 @@ public class EventTest {
assertTrue(fired);
}
/** */
@Test
public void twoListeners() {
fired = false;
@ -55,6 +59,7 @@ public class EventTest {
}
/** */
@Test
public void removeListener() {
fired = false;
@ -80,6 +85,7 @@ public class EventTest {
assertTrue(fired);
}
/** */
@Test
public void removeListenerByConnection() {
fired = false;