Added test for main.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun main(args : Array<String>) {
|
||||
<caret>
|
||||
}
|
||||
@@ -27,9 +27,15 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class LiveTemplatesTest extends LightCodeInsightFixtureTestCase {
|
||||
public void testSout() {
|
||||
start();
|
||||
paremeterless();
|
||||
}
|
||||
|
||||
checkAfter();
|
||||
public void testSerr() {
|
||||
paremeterless();
|
||||
}
|
||||
|
||||
public void testMain() {
|
||||
paremeterless();
|
||||
}
|
||||
|
||||
public void testIter() {
|
||||
@@ -43,6 +49,14 @@ public class LiveTemplatesTest extends LightCodeInsightFixtureTestCase {
|
||||
checkAfter();
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void paremeterless() {
|
||||
start();
|
||||
|
||||
checkAfter();
|
||||
}
|
||||
|
||||
private void start() {
|
||||
myFixture.configureByFile(getTestName(true) + ".kt");
|
||||
myFixture.type(getTestName(true));
|
||||
|
||||
Reference in New Issue
Block a user