[TEST] Add test checking cast to DNN type

muted temporary due to required support in backends
This commit is contained in:
Roman Artemev
2021-10-28 12:47:00 +03:00
committed by TeamCityServer
parent 5b19c41373
commit 23ad0e7c63
9 changed files with 61 additions and 0 deletions
@@ -2834,6 +2834,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/casts/castGenericNull.kt");
}
@TestMetadata("castToDefinitelyNotNullType.kt")
public void testCastToDefinitelyNotNullType() throws Exception {
runTest("compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt");
}
@TestMetadata("dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt")
public void testDontCreateInconsistentTypeDuringStarProjectionSubstitution() throws Exception {
runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt");
@@ -2834,6 +2834,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/castGenericNull.kt");
}
@TestMetadata("castToDefinitelyNotNullType.kt")
public void testCastToDefinitelyNotNullType() throws Exception {
runTest("compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt");
}
@TestMetadata("dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt")
public void testDontCreateInconsistentTypeDuringStarProjectionSubstitution() throws Exception {
runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt");
@@ -2824,6 +2824,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/casts/castGenericNull.kt");
}
@TestMetadata("castToDefinitelyNotNullType.kt")
public void testCastToDefinitelyNotNullType() throws Exception {
runTest("compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt");
}
@TestMetadata("dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt")
public void testDontCreateInconsistentTypeDuringStarProjectionSubstitution() throws Exception {
runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt");
@@ -3152,6 +3152,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/castGenericNull.kt");
}
@Test
@TestMetadata("castToDefinitelyNotNullType.kt")
public void testCastToDefinitelyNotNullType() throws Exception {
runTest("compiler/testData/codegen/box/casts/castToDefinitelyNotNullType.kt");
}
@Test
@TestMetadata("dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt")
public void testDontCreateInconsistentTypeDuringStarProjectionSubstitution() throws Exception {