Skip to content

Commit 9344330

Browse files
committed
Remove test debugging
1 parent 0767120 commit 9344330

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/test/java/com/rabbitmq/client/test/BrokerTestCase.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@
2020
import com.rabbitmq.tools.Host;
2121
import org.junit.After;
2222
import org.junit.Before;
23-
import org.junit.Rule;
24-
import org.junit.rules.TestRule;
25-
import org.junit.rules.TestWatcher;
26-
import org.junit.runner.Description;
2723

2824
import javax.net.ssl.SSLContext;
2925
import java.io.IOException;
3026
import java.security.NoSuchAlgorithmException;
3127
import java.util.Arrays;
32-
import java.util.Date;
3328
import java.util.Map;
3429
import java.util.UUID;
3530
import java.util.concurrent.TimeoutException;
@@ -38,26 +33,6 @@
3833

3934
public class BrokerTestCase {
4035

41-
@Rule
42-
public TestRule watcher = new TestWatcher() {
43-
protected void starting(Description description) {
44-
System.out.println(String.format(
45-
"Starting test %s.%s (%s)",
46-
description.getTestClass().getSimpleName(), description.getMethodName(),
47-
new Date().toString()
48-
));
49-
}
50-
51-
@Override
52-
protected void finished(Description description) {
53-
System.out.println(String.format(
54-
"Test finished %s.%s (%s)",
55-
description.getTestClass().getSimpleName(), description.getMethodName(),
56-
new Date().toString()
57-
));
58-
}
59-
};
60-
6136
protected ConnectionFactory connectionFactory = newConnectionFactory();
6237

6338
protected ConnectionFactory newConnectionFactory() {

0 commit comments

Comments
 (0)