Remove obsolete test classpath helpers
This commit is contained in:
-12
@@ -45,10 +45,6 @@ public class ForTestCompileRuntime {
|
|||||||
public static File kotlinTestJarForTests() {
|
public static File kotlinTestJarForTests() {
|
||||||
return assertExists(new File("dist/kotlinc/lib/kotlin-test.jar"));
|
return assertExists(new File("dist/kotlinc/lib/kotlin-test.jar"));
|
||||||
}
|
}
|
||||||
@NotNull
|
|
||||||
public static File kotlinTestJunitJarForTests() {
|
|
||||||
return assertExists(new File("dist/kotlinc/lib/kotlin-test-junit.jar"));
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public static File reflectJarForTests() {
|
public static File reflectJarForTests() {
|
||||||
@@ -85,14 +81,6 @@ public class ForTestCompileRuntime {
|
|||||||
return assertExists(new File("dist/kotlinc/lib/kotlin-annotations-android.jar"));
|
return assertExists(new File("dist/kotlinc/lib/kotlin-annotations-android.jar"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Do not use these classes, remove them after stdlib tests are merged in the same build as the compiler
|
|
||||||
@NotNull
|
|
||||||
@Deprecated
|
|
||||||
public static File[] runtimeClassesForTests() {
|
|
||||||
// TODO: replace hardcoded path with something flexible
|
|
||||||
return new File[] { assertExists(new File("dist/builtins")), assertExists(new File("build/kotlin-stdlib/classes/java/builtins")), assertExists(new File("build/kotlin-stdlib/classes/java/main")) };
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private static File assertExists(@NotNull File file) {
|
private static File assertExists(@NotNull File file) {
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user