|
@@ -21,12 +21,20 @@
|
21
|
21
|
*/
|
22
|
22
|
package com.dmdirc.logger;
|
23
|
23
|
|
|
24
|
+import com.dmdirc.config.IdentityManager;
|
|
25
|
+import com.dmdirc.config.InvalidIdentityFileException;
|
24
|
26
|
import java.util.Arrays;
|
25
|
27
|
import java.util.Date;
|
|
28
|
+import org.junit.BeforeClass;
|
26
|
29
|
import org.junit.Test;
|
27
|
30
|
import static org.junit.Assert.*;
|
28
|
31
|
|
29
|
32
|
public class ProgramErrorTest {
|
|
33
|
+
|
|
34
|
+ @BeforeClass
|
|
35
|
+ public static void setup() throws InvalidIdentityFileException {
|
|
36
|
+ IdentityManager.load();
|
|
37
|
+ }
|
30
|
38
|
|
31
|
39
|
@Test
|
32
|
40
|
public void testConstructorNegativeID() {
|