mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 07:02:00 +02:00
Remove backported MockitoJUnitRule
Mockito in third_party is updated to 1.10. We do not need to backport this rule anymore. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237496086
This commit is contained in:
parent
5056e48363
commit
b573b10ae1
38 changed files with 85 additions and 107 deletions
|
@ -31,7 +31,6 @@ import com.google.common.reflect.TypeToken;
|
|||
import google.registry.model.poll.PollMessage;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
import google.registry.testing.CertificateSamples;
|
||||
import google.registry.testing.MockitoJUnitRule;
|
||||
import google.registry.testing.SystemPropertyRule;
|
||||
import google.registry.tools.params.ParameterFactory;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -44,6 +43,8 @@ import org.junit.Rule;
|
|||
import org.junit.rules.TemporaryFolder;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.JUnit4;
|
||||
import org.mockito.junit.MockitoJUnit;
|
||||
import org.mockito.junit.MockitoRule;
|
||||
|
||||
/**
|
||||
* Base class for all command tests.
|
||||
|
@ -64,7 +65,7 @@ public abstract class CommandTestCase<C extends Command> {
|
|||
|
||||
@Rule public final SystemPropertyRule systemPropertyRule = new SystemPropertyRule();
|
||||
|
||||
@Rule public final MockitoJUnitRule mocks = MockitoJUnitRule.create();
|
||||
@Rule public final MockitoRule mocks = MockitoJUnit.rule();
|
||||
|
||||
@Rule
|
||||
public TemporaryFolder tmpDir = new TemporaryFolder();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue