This commit is contained in:
Phillip Webb
2024-04-04 21:31:48 -07:00
parent f7397b9557
commit 3ed77ae5f3
33 changed files with 108 additions and 246 deletions

View File

@@ -44,9 +44,11 @@ import org.springframework.util.StringUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Base class for jar mode tests.
*
* @author Moritz Halbritter
*/
abstract class AbstractTests {
abstract class AbstractJarModeTests {
@TempDir
File tempDir;

View File

@@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
*
* @author Moritz Halbritter
*/
class ExtractCommandTests extends AbstractTests {
class ExtractCommandTests extends AbstractJarModeTests {
private static final Instant CREATION_TIME = Instant.parse("2020-01-01T00:00:00Z");

View File

@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Moritz Halbritter
*/
class ListLayersCommandTests extends AbstractTests {
class ListLayersCommandTests extends AbstractJarModeTests {
@Test
void shouldListLayers() throws IOException {

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Moritz Halbritter
*/
class ToolsJarModeTests extends AbstractTests {
class ToolsJarModeTests extends AbstractJarModeTests {
private ToolsJarMode mode;