ソースを参照

Remove unnecessary asserts.

pull/786/head
Chris Smith 7年前
コミット
2e144015ac

+ 1
- 3
api/src/test/java/com/dmdirc/DummyTest.java ファイルの表示

@@ -19,8 +19,6 @@ package com.dmdirc;
19 19
 
20 20
 import org.junit.Test;
21 21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24 22
 /**
25 23
  * Our build system likes at least one test per project...
26 24
  */
@@ -28,7 +26,7 @@ public class DummyTest {
28 26
 
29 27
     @Test
30 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 ファイルの表示

@@ -19,8 +19,6 @@ package com.dmdirc;
19 19
 
20 20
 import org.junit.Test;
21 21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24 22
 /**
25 23
  * Our build system likes at least one test per project...
26 24
  */
@@ -28,7 +26,7 @@ public class DummyTest {
28 26
 
29 27
     @Test
30 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 ファイルの表示

@@ -19,8 +19,6 @@ package com.dmdirc;
19 19
 
20 20
 import org.junit.Test;
21 21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24 22
 /**
25 23
  * Our build system likes at least one test per project...
26 24
  */
@@ -28,7 +26,7 @@ public class DummyTest {
28 26
 
29 27
     @Test
30 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 ファイルの表示

@@ -19,8 +19,6 @@ package com.dmdirc;
19 19
 
20 20
 import org.junit.Test;
21 21
 
22
-import static org.junit.Assert.assertTrue;
23
-
24 22
 /**
25 23
  * Our build system likes at least one test per project...
26 24
  */
@@ -28,7 +26,7 @@ public class DummyTest {
28 26
 
29 27
     @Test
30 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 ファイルの表示

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

読み込み中…
キャンセル
保存