Selaa lähdekoodia

Fix unit test.

pull/507/head
Greg Holmes 9 vuotta sitten
vanhempi
commit
138249675b
1 muutettua tiedostoa jossa 0 lisäystä ja 12 poistoa
  1. 0
    12
      test/com/dmdirc/logger/ProgramErrorTest.java

+ 0
- 12
test/com/dmdirc/logger/ProgramErrorTest.java Näytä tiedosto

@@ -58,18 +58,6 @@ public class ProgramErrorTest {
58 58
                 eventBus, true);
59 59
     }
60 60
 
61
-    @Test(expected = NullPointerException.class)
62
-    public void testConstructorNullMessage() {
63
-        new ProgramError(ErrorLevel.HIGH, null, null, Lists.newArrayList(), null, new Date(),
64
-                eventBus, true);
65
-    }
66
-
67
-    @Test(expected = IllegalArgumentException.class)
68
-    public void testConstructorEmptyMessage() {
69
-        new ProgramError(ErrorLevel.HIGH, "", null, Lists.newArrayList(), null, new Date(),
70
-                eventBus, true);
71
-    }
72
-
73 61
     @Test(expected = NullPointerException.class)
74 62
     public void testConstructorNullDate() {
75 63
         new ProgramError(ErrorLevel.HIGH, "moo", null, Lists.newArrayList(), null, null,

Loading…
Peruuta
Tallenna