|
@@ -26,15 +26,15 @@ import com.dmdirc.Main;
|
26
|
26
|
import com.dmdirc.ServerManager;
|
27
|
27
|
import com.dmdirc.config.IdentityManager;
|
28
|
28
|
import com.dmdirc.addons.ui_dummy.DummyController;
|
29
|
|
-import org.junit.Before;
|
|
29
|
+import org.junit.BeforeClass;
|
30
|
30
|
import org.junit.Ignore;
|
31
|
31
|
import org.junit.Test;
|
32
|
32
|
import static org.junit.Assert.*;
|
33
|
33
|
|
34
|
34
|
public class IrcAddressTest {
|
35
|
35
|
|
36
|
|
- @Before
|
37
|
|
- public void setUp() {
|
|
36
|
+ @BeforeClass
|
|
37
|
+ public static void setUp() {
|
38
|
38
|
IdentityManager.load();
|
39
|
39
|
Main.setUI(new DummyController());
|
40
|
40
|
}
|
|
@@ -156,7 +156,4 @@ public class IrcAddressTest {
|
156
|
156
|
assertEquals("#DMDirc", address1.getChannels().get(0));
|
157
|
157
|
}
|
158
|
158
|
|
159
|
|
- public static junit.framework.Test suite() {
|
160
|
|
- return new junit.framework.JUnit4TestAdapter(IrcAddressTest.class);
|
161
|
|
- }
|
162
|
159
|
}
|