Remove/rename redundant ExpectedException rules

These now come from GerritBaseTests.

Change-Id: I1f235ed6bee1ee9e171d3f2bf1c4d2cc90cd21f1
This commit is contained in:
Dave Borowitz
2018-11-20 10:35:04 -08:00
parent 14e1ad52d6
commit 95f16db6d2
15 changed files with 55 additions and 118 deletions

View File

@@ -37,13 +37,9 @@ import com.google.inject.Injector;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
public class ProcMetricModuleTest extends GerritBaseTests {
@Rule public ExpectedException exception = ExpectedException.none();
@Inject MetricMaker metrics;
@Inject MetricRegistry registry;