Remove GerritBaseTests

All functionality has been removed from this class.

Change-Id: I16e7bb8eccba0280e4bd638e4dd61bb8677f7cbf
This commit is contained in:
Dave Borowitz
2019-05-02 09:14:47 -07:00
parent 0700c0e1f8
commit a36b35809f
151 changed files with 150 additions and 318 deletions

View File

@@ -19,7 +19,6 @@ import static com.google.common.truth.Truth.assertThat;
import com.google.common.collect.ImmutableList;
import com.google.common.io.MoreFiles;
import com.google.common.io.RecursiveDeleteOption;
import com.google.gerrit.testing.GerritBaseTests;
import java.nio.file.Files;
import java.nio.file.Path;
import org.eclipse.jgit.internal.storage.dfs.DfsRepositoryDescription;
@@ -36,7 +35,7 @@ import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterized.Parameters;
@RunWith(Parameterized.class)
public class RefUpdateUtilRepoTest extends GerritBaseTests {
public class RefUpdateUtilRepoTest {
public enum RepoSetup {
LOCAL_DISK {
@Override

View File

@@ -19,7 +19,6 @@ import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assert_;
import com.google.common.collect.ImmutableList;
import com.google.gerrit.testing.GerritBaseTests;
import java.io.IOException;
import java.util.function.Consumer;
import org.eclipse.jgit.internal.storage.dfs.DfsRepositoryDescription;
@@ -33,7 +32,7 @@ import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class RefUpdateUtilTest extends GerritBaseTests {
public class RefUpdateUtilTest {
private static final Consumer<ReceiveCommand> OK = c -> c.setResult(ReceiveCommand.Result.OK);
private static final Consumer<ReceiveCommand> LOCK_FAILURE =
c -> c.setResult(ReceiveCommand.Result.LOCK_FAILURE);

View File

@@ -18,10 +18,9 @@ import static com.google.common.truth.Truth.assertThat;
import static com.google.gerrit.git.testing.PushResultSubject.parseProcessed;
import static com.google.gerrit.git.testing.PushResultSubject.trimMessages;
import com.google.gerrit.testing.GerritBaseTests;
import org.junit.Test;
public class PushResultSubjectTest extends GerritBaseTests {
public class PushResultSubjectTest {
@Test
public void testTrimMessages() {
assertThat(trimMessages(null)).isNull();