Update expected testdata of live templates test
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import javax.swing.SwingUtilities
|
||||
fun main(args : Array<String>) {
|
||||
SwingUtilities.invokeLater(object : Runnable {
|
||||
override fun run() {
|
||||
throw UnsupportedOperationException()
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun main(args : Array<String>) {
|
||||
System.err?.println(<caret>)
|
||||
System.err.println(<caret>)
|
||||
}
|
||||
|
||||
+2
-3
@@ -21,7 +21,6 @@ import com.intellij.codeInsight.template.TemplateManager
|
||||
import com.intellij.codeInsight.template.impl.TemplateManagerImpl
|
||||
import com.intellij.codeInsight.template.impl.TemplateState
|
||||
import com.intellij.ide.DataManager
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.command.CommandProcessor
|
||||
import com.intellij.openapi.editor.actionSystem.EditorActionManager
|
||||
import com.intellij.testFramework.LightProjectDescriptor
|
||||
@@ -85,7 +84,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
fun testSoutv() {
|
||||
start()
|
||||
|
||||
assertStringItems("ASSERTIONS_ENABLED", "args", "defaultBlockSize", "defaultBufferSize", "minimumBlockSize", "x", "y")
|
||||
assertStringItems("DEFAULT_BUFFER_SIZE", "args", "x", "y")
|
||||
typeAndNextTab("y")
|
||||
|
||||
checkAfter()
|
||||
@@ -190,7 +189,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
fun testIter() {
|
||||
start()
|
||||
|
||||
assertStringItems("args", "myList", "o", "str", "stream")
|
||||
assertStringItems("args", "myList", "o", "str")
|
||||
type("args")
|
||||
nextTab(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user