Update expected testdata of live templates test

This commit is contained in:
Dmitry Jemerov
2017-09-21 17:33:55 +02:00
parent 4c04eaa29a
commit 690eaa95bd
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import javax.swing.SwingUtilities
fun main(args : Array<String>) { fun main(args : Array<String>) {
SwingUtilities.invokeLater(object : Runnable { SwingUtilities.invokeLater(object : Runnable {
override fun run() { override fun run() {
throw UnsupportedOperationException() TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
} }
}) })
} }
+1 -1
View File
@@ -1,3 +1,3 @@
fun main(args : Array<String>) { fun main(args : Array<String>) {
System.err?.println(<caret>) System.err.println(<caret>)
} }
@@ -21,7 +21,6 @@ import com.intellij.codeInsight.template.TemplateManager
import com.intellij.codeInsight.template.impl.TemplateManagerImpl import com.intellij.codeInsight.template.impl.TemplateManagerImpl
import com.intellij.codeInsight.template.impl.TemplateState import com.intellij.codeInsight.template.impl.TemplateState
import com.intellij.ide.DataManager import com.intellij.ide.DataManager
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.command.CommandProcessor import com.intellij.openapi.command.CommandProcessor
import com.intellij.openapi.editor.actionSystem.EditorActionManager import com.intellij.openapi.editor.actionSystem.EditorActionManager
import com.intellij.testFramework.LightProjectDescriptor import com.intellij.testFramework.LightProjectDescriptor
@@ -85,7 +84,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
fun testSoutv() { fun testSoutv() {
start() start()
assertStringItems("ASSERTIONS_ENABLED", "args", "defaultBlockSize", "defaultBufferSize", "minimumBlockSize", "x", "y") assertStringItems("DEFAULT_BUFFER_SIZE", "args", "x", "y")
typeAndNextTab("y") typeAndNextTab("y")
checkAfter() checkAfter()
@@ -190,7 +189,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
fun testIter() { fun testIter() {
start() start()
assertStringItems("args", "myList", "o", "str", "stream") assertStringItems("args", "myList", "o", "str")
type("args") type("args")
nextTab(2) nextTab(2)