This commit is contained in:
Phillip Webb
2019-05-30 09:52:05 -07:00
parent 23a923d189
commit 68aec8b6ee
21 changed files with 76 additions and 47 deletions

View File

@@ -31,7 +31,7 @@ import org.testcontainers.lifecycle.Startable;
* @author Andy Wilkinson
* @author Madhura Bhave
*/
public class SkippableContainer<T extends GenericContainer> implements Startable {
public class SkippableContainer<T extends GenericContainer<?>> implements Startable {
private final Supplier<T> containerFactory;

View File

@@ -21,7 +21,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.CoreMatchers.isA;
import static org.hamcrest.Matchers.isA;
/**
* Tests for {@link ModifiedClassPathRunner} excluding entries from the class path.