Change testData for IntentionsTestGenerated to avoid using javax and sql packages
- Those packages are missing in the mockJdk 1.8 in intellij repository, and it leads to those tests failing in kotlin-ide repository
This commit is contained in:
committed by
Roman Golyshev
parent
22b558110d
commit
7d662bf5d1
@@ -1,27 +1,24 @@
|
||||
// INTENTION_TEXT: "Add import for 'javax.swing.SwingUtilities.invokeLater'"
|
||||
// INTENTION_TEXT: "Add import for 'java.util.regex.Pattern.matches'"
|
||||
// WITH_RUNTIME
|
||||
// ERROR: Unresolved reference: SomethingElse
|
||||
// ERROR: Unresolved reference: somethingElse
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
import javax.swing.SwingUtilities
|
||||
import javax.swing.SwingUtilities.invokeLater
|
||||
import java.util.regex.Pattern
|
||||
import java.util.regex.Pattern.matches
|
||||
|
||||
fun foo() {
|
||||
invokeLater {}
|
||||
matches("", "")
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
invokeLater {
|
||||
}
|
||||
matches("", "")
|
||||
|
||||
invokeLater(Runnable {
|
||||
invokeLater { }
|
||||
})
|
||||
matches("", "")
|
||||
|
||||
SwingUtilities.invokeAndWait { }
|
||||
Pattern.compile("")
|
||||
|
||||
SomethingElse.invokeLater()
|
||||
SomethingElse.matches("", "")
|
||||
|
||||
somethingElse.SwingUtilities.invokeLater()
|
||||
somethingElse.Pattern.matches("", "")
|
||||
}
|
||||
Reference in New Issue
Block a user