Add regression tests for obsolete issues

#KT-1291 Obsolete
 #KT-2895 Obsolete
 #KT-3060 Obsolete
 #KT-3298 Obsolete
 #KT-3613 Obsolete
 #KT-3862 Obsolete
This commit is contained in:
Alexander Udalov
2014-02-13 04:41:38 +04:00
parent 320c23494f
commit 8b918ef1aa
7 changed files with 119 additions and 0 deletions
@@ -1241,6 +1241,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/classes/kt3546.kt");
}
@TestMetadata("kt3862.kt")
public void testKt3862() throws Exception {
doTest("compiler/testData/codegen/box/classes/kt3862.kt");
}
@TestMetadata("kt454.kt")
public void testKt454() throws Exception {
doTest("compiler/testData/codegen/box/classes/kt454.kt");
@@ -1974,6 +1979,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/defaultArguments/constructor/kt2852.kt");
}
@TestMetadata("kt3060.kt")
public void testKt3060() throws Exception {
doTest("compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/defaultArguments/function")
@@ -2391,6 +2401,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt");
}
@TestMetadata("kt3298.kt")
public void testKt3298() throws Exception {
doTest("compiler/testData/codegen/box/extensionFunctions/kt3298.kt");
}
@TestMetadata("kt3646.kt")
public void testKt3646() throws Exception {
doTest("compiler/testData/codegen/box/extensionFunctions/kt3646.kt");
@@ -2732,6 +2747,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/functions/kt1199.kt");
}
@TestMetadata("kt1291.kt")
public void testKt1291() throws Exception {
doTest("compiler/testData/codegen/box/functions/kt1291.kt");
}
@TestMetadata("kt1413.kt")
public void testKt1413() throws Exception {
doTest("compiler/testData/codegen/box/functions/kt1413.kt");
@@ -2876,6 +2896,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("kt2895.kt")
public void testKt2895() throws Exception {
doTest("compiler/testData/codegen/box/functions/localFunctions/kt2895.kt");
}
@TestMetadata("kt3978.kt")
public void testKt3978() throws Exception {
doTest("compiler/testData/codegen/box/functions/localFunctions/kt3978.kt");
@@ -4316,6 +4341,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/primitiveTypes/kt3576.kt");
}
@TestMetadata("kt3613.kt")
public void testKt3613() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@TestMetadata("kt4097.kt")
public void testKt4097() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt4097.kt");