blob: aa5f731fdada7d59fcabc84a0554fe1b7e9f0d17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.findUsages
import org.jetbrains.kotlin.idea.multiplatform.setupMppProjectFromDirStructure
import org.junit.internal.runners.JUnit38ClassRunner
import org.junit.runner.RunWith
import java.io.File
@RunWith(JUnit38ClassRunner::class)
open class FindUsagesMultiModuleTest : AbstractFindUsagesMultiModuleTest() {
fun testFindActualInterface() {
doTest()
}
fun testFindCommonClassFromActual() {
doTest()
}
fun testFindCommonFromActual() {
doTest()
}
fun testFindCommonPropertyFromActual() {
doTest()
}
fun testFindCommonSuperclass() {
doTest()
}
fun testFindImplFromHeader() {
doTest()
}
private fun doTest() {
setupMppProjectFromDirStructure(File(testDataPath + getTestName(true).removePrefix("test")))
doFindUsagesTest()
}
}
|