summaryrefslogtreecommitdiff
path: root/test-framework
diff options
context:
space:
mode:
authorYan Zhulanow <yan.zhulanow@jetbrains.com>2020-07-25 04:57:10 +0900
committerkotlin-ide-monorepo-bot <kotlin-ide-monorepo-bot-no-reply@jetbrains.com>2020-07-24 20:09:05 +0000
commitb379ffc1af7ac6efb085389e5f78b3eb3266ffa6 (patch)
treef0967ffa275770ca75059ab35314d0e32d67fb39 /test-framework
parent1d3cd6f74d3374e1449ce1f2b59d28d216a332f9 (diff)
downloadintellij-kotlin-b379ffc1af7ac6efb085389e5f78b3eb3266ffa6.tar.gz
KotlinRoot.PATH now returns a Path, not a path String
GitOrigin-RevId: da170f9b2113c4e87cc9467170446974c96ebebc
Diffstat (limited to 'test-framework')
-rw-r--r--test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt2
-rw-r--r--test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt b/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt
index 63adb840cd70..56067d2ce6c3 100644
--- a/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt
+++ b/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt
@@ -92,7 +92,7 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
UnusedSymbolInspection()
}
- VfsRootAccess.allowRootAccess(myFixture.testRootDisposable, KotlinRoot.PATH)
+ VfsRootAccess.allowRootAccess(myFixture.testRootDisposable, KotlinRoot.DIR.path)
editorTrackerProjectOpened(project)
diff --git a/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt b/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt
index 2155b7480471..8f501f4d5319 100644
--- a/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt
+++ b/test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightPlatformCodeInsightFixtureTestCase.kt
@@ -19,7 +19,7 @@ abstract class KotlinLightPlatformCodeInsightFixtureTestCase : LightPlatformCode
override fun setUp() {
super.setUp()
enableKotlinOfficialCodeStyle(project)
- VfsRootAccess.allowRootAccess(myFixture.testRootDisposable, KotlinRoot.PATH)
+ VfsRootAccess.allowRootAccess(myFixture.testRootDisposable, KotlinRoot.DIR.path)
if (!isFirPlugin()) {
invalidateLibraryCache(project)