Remove obsolete test classpath helpers

This commit is contained in:
Ilya Gorbunov
2018-01-31 21:17:09 +03:00
parent 381344141f
commit c06204d0d4
@@ -45,10 +45,6 @@ public class ForTestCompileRuntime {
public static File kotlinTestJarForTests() {
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
public static File reflectJarForTests() {
@@ -85,14 +81,6 @@ public class ForTestCompileRuntime {
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
private static File assertExists(@NotNull File file) {
if (!file.exists()) {