How I should implement java testing in kotlin idea...
# kontributors
s
How I should implement java testing in kotlin idea plugin? I successful added java testing in https://github.com/semoro/kotlin/commit/1cb764c2907b2d57d10049d3cee621f70ff88013?diff=unified But there is problem with resolving java packages, so 'package' directive not applied and class not resolving Assume my name.test file is located in idea/testData/quickfix/autoImports And it's content
Copy code
// FILE: first.before.kt
// "Static import" "true"
// ERROR: Unresolved reference: foobar

//KT-9009

fun f() {
    val k = foobar<caret>
}


// FILE: Bar.java

//package foo; //It will not work

public class Bar {
    public static final String foobar = "foobar";
}

// FILE: first.after.kt
import Bar.foobar

// "Static import" "true"
// ERROR: Unresolved reference: foobar

//KT-9009

fun f() {
    val k = foobar<caret>
}