mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
don't extend a test class from org.junit.Assert to use its static methods
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user