Misc: Make test superclass abstract
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import org.junit.Assert
|
|||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
open class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
abstract class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
||||||
@Throws(IOException::class)
|
@Throws(IOException::class)
|
||||||
override fun getIprFile(): File {
|
override fun getIprFile(): File {
|
||||||
val tempDir = FileUtil.generateRandomTemporaryPath()
|
val tempDir = FileUtil.generateRandomTemporaryPath()
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ import org.junit.Assert
|
|||||||
import java.io.File
|
import java.io.File
|
||||||
import java.nio.file.Path
|
import java.nio.file.Path
|
||||||
|
|
||||||
open class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
abstract class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
||||||
override fun getProjectDirOrFile(): Path {
|
override fun getProjectDirOrFile(): Path {
|
||||||
val tempDir = FileUtil.generateRandomTemporaryPath()
|
val tempDir = FileUtil.generateRandomTemporaryPath()
|
||||||
FileUtil.createTempDirectory("temp", null)
|
FileUtil.createTempDirectory("temp", null)
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ import org.junit.Assert
|
|||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
open class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
abstract class AbstractConfigureKotlinInTempDirTest : AbstractConfigureKotlinTest() {
|
||||||
@Throws(IOException::class)
|
@Throws(IOException::class)
|
||||||
override fun getIprFile(): File {
|
override fun getIprFile(): File {
|
||||||
val tempDir = FileUtil.generateRandomTemporaryPath()
|
val tempDir = FileUtil.generateRandomTemporaryPath()
|
||||||
|
|||||||
Reference in New Issue
Block a user