[Test] Move java generation utils to :compiler:tests-compiler-utils module
This commit is contained in:
committed by
TeamCityServer
parent
cb7b1652e7
commit
8689fc43cd
+6
-3
@@ -32,6 +32,7 @@ import org.jetbrains.kotlin.psi.KtFile
|
||||
import org.jetbrains.kotlin.test.KotlinBaseTest.TestFile
|
||||
import org.jetbrains.kotlin.test.MockLibraryUtil
|
||||
import org.jetbrains.kotlin.test.testFramework.KtUsefulTestCase
|
||||
import org.jetbrains.kotlin.test.util.JUnit4Assertions
|
||||
import java.io.File
|
||||
|
||||
class DebuggerTestCompilerFacility(
|
||||
@@ -109,7 +110,8 @@ class DebuggerTestCompilerFacility(
|
||||
java.map { File(srcDir, it.name).absolutePath },
|
||||
mavenArtifacts + classesDir.absolutePath,
|
||||
listOf("-g"),
|
||||
classesDir
|
||||
classesDir,
|
||||
JUnit4Assertions
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -152,7 +154,8 @@ class DebuggerTestCompilerFacility(
|
||||
java.map { File(srcDir, it.name).absolutePath },
|
||||
getClasspath(module) + listOf(classesDir.absolutePath),
|
||||
listOf("-g"),
|
||||
classesDir
|
||||
classesDir,
|
||||
JUnit4Assertions
|
||||
)
|
||||
}
|
||||
|
||||
@@ -252,4 +255,4 @@ private fun splitByLanguage(files: List<TestFile>): TestFilesByLanguage {
|
||||
}
|
||||
|
||||
return TestFilesByLanguage(kotlin = kotlin, java = java, resources = resources)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user