Browse Source

Remove unnecessary asserts.

pull/786/head
Chris Smith 7 years ago
parent
commit
2e144015ac

+ 1
- 3
api/src/test/java/com/dmdirc/DummyTest.java View File

19
 
19
 
20
 import org.junit.Test;
20
 import org.junit.Test;
21
 
21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24
 /**
22
 /**
25
  * Our build system likes at least one test per project...
23
  * Our build system likes at least one test per project...
26
  */
24
  */
28
 
26
 
29
     @Test
27
     @Test
30
     public void testNothing() {
28
     public void testNothing() {
31
-        assertTrue(true);
29
+        // Do nothing. Woo.
32
     }
30
     }
33
 
31
 
34
 }
32
 }

+ 1
- 3
bundles/com.dmdirc.config.binding/src/test/java/com/dmdirc/DummyTest.java View File

19
 
19
 
20
 import org.junit.Test;
20
 import org.junit.Test;
21
 
21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24
 /**
22
 /**
25
  * Our build system likes at least one test per project...
23
  * Our build system likes at least one test per project...
26
  */
24
  */
28
 
26
 
29
     @Test
27
     @Test
30
     public void testNothing() {
28
     public void testNothing() {
31
-        assertTrue(true);
29
+        // Do nothing. Woo.
32
     }
30
     }
33
 
31
 
34
 }
32
 }

+ 1
- 3
bundles/com.dmdirc.events.eventbus/src/test/java/com/dmdirc/DummyTest.java View File

19
 
19
 
20
 import org.junit.Test;
20
 import org.junit.Test;
21
 
21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24
 /**
22
 /**
25
  * Our build system likes at least one test per project...
23
  * Our build system likes at least one test per project...
26
  */
24
  */
28
 
26
 
29
     @Test
27
     @Test
30
     public void testNothing() {
28
     public void testNothing() {
31
-        assertTrue(true);
29
+        // Do nothing. Woo.
32
     }
30
     }
33
 
31
 
34
 }
32
 }

+ 1
- 3
bundles/com.dmdirc.util.io.yaml/src/test/java/com/dmdirc/DummyTest.java View File

19
 
19
 
20
 import org.junit.Test;
20
 import org.junit.Test;
21
 
21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24
 /**
22
 /**
25
  * Our build system likes at least one test per project...
23
  * Our build system likes at least one test per project...
26
  */
24
  */
28
 
26
 
29
     @Test
27
     @Test
30
     public void testNothing() {
28
     public void testNothing() {
31
-        assertTrue(true);
29
+        // Do nothing. Woo.
32
     }
30
     }
33
 
31
 
34
 }
32
 }

+ 1
- 3
bundles/com.dmdirc.util.system/src/test/java/com/dmdirc/DummyTest.java View File

19
 
19
 
20
 import org.junit.Test;
20
 import org.junit.Test;
21
 
21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24
 /**
22
 /**
25
  * Our build system likes at least one test per project...
23
  * Our build system likes at least one test per project...
26
  */
24
  */
28
 
26
 
29
     @Test
27
     @Test
30
     public void testNothing() {
28
     public void testNothing() {
31
-        assertTrue(true);
29
+        // Do nothing. Woo.
32
     }
30
     }
33
 
31
 
34
 }
32
 }

Loading…
Cancel
Save