Remove GerritBaseTests
All functionality has been removed from this class. Change-Id: I16e7bb8eccba0280e4bd638e4dd61bb8677f7cbf
This commit is contained in:
		@@ -17,10 +17,9 @@ package com.google.gerrit.common;
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.auto.value.AutoValue;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class AutoValueTest extends GerritBaseTests {
 | 
			
		||||
public class AutoValueTest {
 | 
			
		||||
  @AutoValue
 | 
			
		||||
  abstract static class Auto {
 | 
			
		||||
    static Auto create(String val) {
 | 
			
		||||
 
 | 
			
		||||
@@ -18,14 +18,13 @@ import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
import static com.google.gerrit.testing.GerritJUnit.assertThrows;
 | 
			
		||||
 | 
			
		||||
import com.google.common.collect.ImmutableList;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import java.util.Locale;
 | 
			
		||||
import org.junit.Before;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class AccessSectionTest extends GerritBaseTests {
 | 
			
		||||
public class AccessSectionTest {
 | 
			
		||||
  private static final String REF_PATTERN = "refs/heads/master";
 | 
			
		||||
 | 
			
		||||
  private AccessSection accessSection;
 | 
			
		||||
 
 | 
			
		||||
@@ -16,10 +16,9 @@ package com.google.gerrit.common.data;
 | 
			
		||||
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class EncodePathSeparatorTest extends GerritBaseTests {
 | 
			
		||||
public class EncodePathSeparatorTest {
 | 
			
		||||
  @Test
 | 
			
		||||
  public void defaultBehaviour() {
 | 
			
		||||
    assertThat(new GitwebType().replacePathSeparator("a/b")).isEqualTo("a/b");
 | 
			
		||||
 
 | 
			
		||||
@@ -16,10 +16,9 @@ package com.google.gerrit.common.data;
 | 
			
		||||
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class FilenameComparatorTest extends GerritBaseTests {
 | 
			
		||||
public class FilenameComparatorTest {
 | 
			
		||||
  private FilenameComparator comparator = FilenameComparator.INSTANCE;
 | 
			
		||||
 | 
			
		||||
  @Test
 | 
			
		||||
 
 | 
			
		||||
@@ -19,10 +19,9 @@ import static com.google.gerrit.testing.GerritJUnit.assertThrows;
 | 
			
		||||
 | 
			
		||||
import com.google.gerrit.reviewdb.client.AccountGroup;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.AccountGroup.UUID;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class GroupReferenceTest extends GerritBaseTests {
 | 
			
		||||
public class GroupReferenceTest {
 | 
			
		||||
  @Test
 | 
			
		||||
  public void forGroupDescription() {
 | 
			
		||||
    String name = "foo";
 | 
			
		||||
 
 | 
			
		||||
@@ -22,14 +22,13 @@ import com.google.gerrit.reviewdb.client.Change;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.LabelId;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.PatchSet;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.PatchSetApproval;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import java.sql.Date;
 | 
			
		||||
import java.time.Instant;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class LabelFunctionTest extends GerritBaseTests {
 | 
			
		||||
public class LabelFunctionTest {
 | 
			
		||||
  private static final String LABEL_NAME = "Verified";
 | 
			
		||||
  private static final LabelId LABEL_ID = LabelId.create(LABEL_NAME);
 | 
			
		||||
  private static final Change.Id CHANGE_ID = Change.id(100);
 | 
			
		||||
 
 | 
			
		||||
@@ -17,10 +17,9 @@ package com.google.gerrit.common.data;
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.common.collect.ImmutableList;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class LabelTypeTest extends GerritBaseTests {
 | 
			
		||||
public class LabelTypeTest {
 | 
			
		||||
  @Test
 | 
			
		||||
  public void sortLabelValues() {
 | 
			
		||||
    LabelValue v0 = new LabelValue((short) 0, "Zero");
 | 
			
		||||
 
 | 
			
		||||
@@ -17,12 +17,11 @@ package com.google.gerrit.common.data;
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.common.collect.ImmutableMap;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import java.util.HashMap;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class ParameterizedStringTest extends GerritBaseTests {
 | 
			
		||||
public class ParameterizedStringTest {
 | 
			
		||||
  @Test
 | 
			
		||||
  public void emptyString() {
 | 
			
		||||
    ParameterizedString p = new ParameterizedString("");
 | 
			
		||||
 
 | 
			
		||||
@@ -19,11 +19,10 @@ import static com.google.gerrit.testing.GerritJUnit.assertThrows;
 | 
			
		||||
 | 
			
		||||
import com.google.gerrit.common.data.PermissionRule.Action;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.AccountGroup;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import org.junit.Before;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class PermissionRuleTest extends GerritBaseTests {
 | 
			
		||||
public class PermissionRuleTest {
 | 
			
		||||
  private GroupReference groupReference;
 | 
			
		||||
  private PermissionRule permissionRule;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -18,13 +18,12 @@ import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.common.collect.ImmutableList;
 | 
			
		||||
import com.google.gerrit.reviewdb.client.AccountGroup;
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import org.junit.Before;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class PermissionTest extends GerritBaseTests {
 | 
			
		||||
public class PermissionTest {
 | 
			
		||||
  private static final String PERMISSION_NAME = "foo";
 | 
			
		||||
 | 
			
		||||
  private Permission permission;
 | 
			
		||||
 
 | 
			
		||||
@@ -16,12 +16,11 @@ package com.google.gerrit.common.data;
 | 
			
		||||
 | 
			
		||||
import static com.google.common.truth.Truth.assertThat;
 | 
			
		||||
 | 
			
		||||
import com.google.gerrit.testing.GerritBaseTests;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.Collection;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class SubmitRecordTest extends GerritBaseTests {
 | 
			
		||||
public class SubmitRecordTest {
 | 
			
		||||
  private static final SubmitRecord OK_RECORD;
 | 
			
		||||
  private static final SubmitRecord FORCED_RECORD;
 | 
			
		||||
  private static final SubmitRecord NOT_READY_RECORD;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user