don't extend a test class from org.junit.Assert to use its static methods

This commit is contained in:
René Scheibe committed 2015-01-09 12:25:37 +01:00
1 parent 75eeccf866
commit 13ab787d5f
5 files changed
+17 -10

No files matched your search

@@ -1,8 +1,9 @@
package hudson.cli;
import static org.junit.Assert.assertEquals;
import hudson.remoting.FastPipedInputStream;
import hudson.remoting.FastPipedOutputStream;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@@ -13,7 +14,8 @@ import java.io.IOException;
/**
* @author Kohsuke Kawaguchi
*/
public class ConnectionTest extends Assert {
public class ConnectionTest {
Throwable e;
private Connection c1;
private Connection c2;