tests for obsolete/fixed issues
#KT-1038 fixed #KT-1127 fixed #KT-1145 fixed #KT-1410 fixed #KT-1718 fixed #KT-2286 fixed #KT-1431 fixed #KT-2394 fixed
This commit is contained in:
@@ -15,12 +15,15 @@
|
||||
*/
|
||||
package org.jetbrains.jet.checkers;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.checkers.AbstractDiagnosticsTestWithEagerResolve;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.checkers.AbstractDiagnosticsTestWithEagerResolve}. DO NOT MODIFY MANUALLY */
|
||||
public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEagerResolve {
|
||||
@@ -1362,11 +1365,31 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1031.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1127.kt")
|
||||
public void testKt1127() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1127.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1145.kt")
|
||||
public void testKt1145() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1145.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1410.kt")
|
||||
public void testKt1410() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1410.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1558.kt")
|
||||
public void testKt1558() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1558.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1718.kt")
|
||||
public void testKt1718() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1718.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1944.kt")
|
||||
public void testKt1944() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1944.kt");
|
||||
@@ -1387,6 +1410,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2283.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2286.kt")
|
||||
public void testKt2286() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2286.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2294.kt")
|
||||
public void testKt2294() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2294.kt");
|
||||
@@ -1501,6 +1529,16 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/kt1402.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1431.kt")
|
||||
public void testKt1431() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/kt1431.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2394.kt")
|
||||
public void testKt2394() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/kt2394.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OverrideVararg.kt")
|
||||
public void testOverrideVararg() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/j+k/OverrideVararg.kt");
|
||||
|
||||
@@ -159,6 +159,10 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
generateToText();
|
||||
}
|
||||
|
||||
public void testKt1038() {
|
||||
blackBoxFile("regressions/kt1038.kt");
|
||||
}
|
||||
|
||||
public static class WithJavaFunctionGenTest extends CodegenTestCase {
|
||||
private void blackBoxFileWithJava(@NotNull String ktFile) throws Exception {
|
||||
File javaClassesTempDirectory = new File(FileUtil.getTempDirectory(), "java-classes");
|
||||
|
||||
Reference in New Issue
Block a user