Add tests for obsolete codegen issues

#KT-8203 Obsolete
 #KT-15950 Obsolete
This commit is contained in:
Alexander Udalov
2019-01-08 19:25:44 +01:00
parent 9a059809bf
commit a9afee77d7
7 changed files with 60 additions and 0 deletions
@@ -1311,6 +1311,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/array.kt");
}
@TestMetadata("arrayGetIntrinsic.kt")
public void testArrayGetIntrinsic() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt");
}
@TestMetadata("coercionToUnit.kt")
public void testCoercionToUnit() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt");
@@ -6580,6 +6585,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt");
}
@TestMetadata("useThisInLambda.kt")
public void testUseThisInLambda() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt");
}
@TestMetadata("compiler/testData/codegen/box/defaultArguments/constructor")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -1311,6 +1311,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/array.kt");
}
@TestMetadata("arrayGetIntrinsic.kt")
public void testArrayGetIntrinsic() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt");
}
@TestMetadata("coercionToUnit.kt")
public void testCoercionToUnit() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt");
@@ -7625,6 +7630,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt");
}
@TestMetadata("useThisInLambda.kt")
public void testUseThisInLambda() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt");
}
@TestMetadata("compiler/testData/codegen/box/defaultArguments/constructor")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)