Quick Fixes: Implement quickfix for missing library
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Add 'JUnit4' to classpath" "true"
|
||||
// ERROR: Unresolved reference: Before
|
||||
// ERROR: Unresolved reference: junit
|
||||
// UNCONFIGURE_LIBRARY: JUnit4
|
||||
package some
|
||||
|
||||
import org.<caret>junit.Before
|
||||
|
||||
open class KBase {
|
||||
@Before
|
||||
fun setUp() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// "Add 'JUnit4' to classpath" "true"
|
||||
// ERROR: Unresolved reference: Before
|
||||
// ERROR: Unresolved reference: junit
|
||||
// UNCONFIGURE_LIBRARY: JUnit4
|
||||
package some
|
||||
|
||||
import org.junit.Before
|
||||
|
||||
open class KBase {
|
||||
@Before
|
||||
fun setUp() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Add 'testng' to classpath" "true"
|
||||
// ERROR: Unresolved reference: BeforeMethod
|
||||
// ERROR: Unresolved reference: testng
|
||||
// UNCONFIGURE_LIBRARY: testng
|
||||
package some
|
||||
|
||||
abstract class KBase {
|
||||
@<caret>BeforeMethod
|
||||
fun setUp() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// "Add 'testng' to classpath" "true"
|
||||
// ERROR: Unresolved reference: BeforeMethod
|
||||
// ERROR: Unresolved reference: testng
|
||||
// UNCONFIGURE_LIBRARY: testng
|
||||
package some
|
||||
|
||||
import org.testng.annotations.BeforeMethod
|
||||
|
||||
abstract class KBase {
|
||||
@BeforeMethod
|
||||
fun setUp() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user