Introduce MultiModuleHighlightingTest

Checks that analysis produces expected diagnostics when configured by real IDEA module
This commit is contained in:
Pavel V. Talanov
2014-08-14 19:56:37 +04:00
parent fbe894ea88
commit d6bd4535fa
7 changed files with 163 additions and 0 deletions
@@ -0,0 +1,27 @@
package m1
public class PublicClassInM1
class InternalClassInM1
private class PrivateClassInM1
public fun publicFunInM1() {
}
fun internalFunInM1() {
}
private fun privateFunInM1() {
}
fun testVisibility() {
<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: ClassInM2">ClassInM2</error>()
}
public open class A internal () {
private fun pri() {
}
fun int() {
}
protected fun pro() {
}
public fun pub() {
}
}