Code insight: "Generate..." actions for test framework support methods
#KT-9355 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$SetUp
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {<caret>
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$SetUp
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$SetUp
|
||||
// NOT_APPLICABLE
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {<caret>
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$TearDown
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {<caret>
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$TearDown
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {
|
||||
override fun tearDown() {
|
||||
super.tearDown()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$TearDown
|
||||
// NOT_APPLICABLE
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {<caret>
|
||||
override fun tearDown() {
|
||||
super.tearDown()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$Test
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {<caret>
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$Test
|
||||
// CONFIGURE_LIBRARY: JUnit@lib/junit-4.12.jar
|
||||
import junit.framework.TestCase
|
||||
|
||||
class A : TestCase() {
|
||||
fun testName() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user