Polish
This commit is contained in:
@@ -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;
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user