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

@@ -20,12 +20,11 @@ import static com.google.gerrit.index.SchemaUtil.getPersonParts;
import static com.google.gerrit.index.SchemaUtil.schema;
import static com.google.gerrit.testing.GerritJUnit.assertThrows;
import com.google.gerrit.testing.GerritBaseTests;
import java.util.Map;
import org.eclipse.jgit.lib.PersonIdent;
import org.junit.Test;
public class SchemaUtilTest extends GerritBaseTests {
public class SchemaUtilTest {
static class TestSchemas {
static final Schema<String> V1 = schema();
static final Schema<String> V2 = schema();

View File

@@ -14,11 +14,10 @@
package com.google.gerrit.index.query;
import com.google.gerrit.testing.GerritBaseTests;
import org.junit.Ignore;
@Ignore
public abstract class PredicateTest extends GerritBaseTests {
public abstract class PredicateTest {
protected static final class TestPredicate extends OperatorPredicate<String> {
protected TestPredicate(String name, String value) {
super(name, value);

View File

@@ -17,12 +17,11 @@ package com.google.gerrit.index.query;
import static com.google.common.truth.Truth.assertThat;
import com.google.common.truth.ThrowableSubject;
import com.google.gerrit.testing.GerritBaseTests;
import java.util.Collection;
import java.util.Objects;
import org.junit.Test;
public class QueryBuilderTest extends GerritBaseTests {
public class QueryBuilderTest {
private static class TestPredicate extends Predicate<Object> {
private final String field;
private final String value;

View File

@@ -23,11 +23,10 @@ import static com.google.gerrit.index.query.QueryParser.SINGLE_WORD;
import static com.google.gerrit.index.query.QueryParser.parse;
import static com.google.gerrit.index.query.testing.TreeSubject.assertThat;
import com.google.gerrit.testing.GerritBaseTests;
import org.antlr.runtime.tree.Tree;
import org.junit.Test;
public class QueryParserTest extends GerritBaseTests {
public class QueryParserTest {
@Test
public void fieldNameAndValue() throws Exception {
Tree r = parse("project:tools/gerrit");