diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/RelocatableJpsCachesTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/RelocatableJpsCachesTest.kt index 76e024d7ffb..382f4b974b0 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/RelocatableJpsCachesTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/RelocatableJpsCachesTest.kt @@ -55,20 +55,15 @@ class RelocatableJpsCachesTest : BaseKotlinJpsBuildTestCase() { assertEqualDirectories(test1KotlinCachesDir, test2KotlinCachesDir, forgiveExtraFiles = false) } - private class RelocatableCacheTestCaseIml( - private val testName: String, - projectWorkingDir: File, - dirToCopyKotlinCaches: File - ) : RelocatableCacheTestCase(projectWorkingDir, dirToCopyKotlinCaches) { - override fun getName() = testName - } - private fun runTestAndCopyKotlinCaches( projectWorkingDir: File, dirToCopyKotlinCaches: File, testMethod: KFunction1 ) { - val testCase = RelocatableCacheTestCaseIml(testMethod.name, projectWorkingDir, dirToCopyKotlinCaches) + val testCase = object : RelocatableCacheTestCase(projectWorkingDir, dirToCopyKotlinCaches) { + override fun getName() = testMethod.name + } + testCase.exposedPrivateApi.setUp() try { diff --git a/jps/jps-plugin/testData/general/SourcePackageLongPrefix/kotlinProject.ipr b/jps/jps-plugin/testData/general/SourcePackageLongPrefix/kotlinProject.ipr index c1a403dd047..307b7f1015c 100644 --- a/jps/jps-plugin/testData/general/SourcePackageLongPrefix/kotlinProject.ipr +++ b/jps/jps-plugin/testData/general/SourcePackageLongPrefix/kotlinProject.ipr @@ -22,7 +22,7 @@ - +