Annotate abstract test classes with @Ignore

According to I1a9b6ed53 Buck's test runner doesn't skip abstract
classes, but will if they are annotated as @Ignore.

This may not be true any more; Buck seems to be marking the classes as
NOTESTS.

Mark them as @Ignore anyway, even if it's only as documentation.

Also make classes abstract.

Change-Id: Ifc8deef60037bbf0b446542498ba9055037bf5d9
This commit is contained in:
David Pursehouse
2016-02-24 15:42:56 +09:00
parent f896a3eaa0
commit 2583a1736e
7 changed files with 20 additions and 3 deletions

View File

@@ -15,10 +15,12 @@
package com.google.gerrit.pgm.init;
import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
import org.junit.Ignore;
import java.io.IOException;
import java.nio.file.Path;
@Ignore
public abstract class InitTestCase extends LocalDiskRepositoryTestCase {
protected Path newSitePath() throws IOException {
return createWorkRepository().getWorkTree().toPath().resolve("test_site");