Get rid of jvm specific code in some tests

This commit is contained in:
Mikhael Bogdanov
2018-12-21 16:59:13 +01:00
parent 7d51be17c8
commit ac5f5bd453
5 changed files with 43 additions and 7 deletions
@@ -2183,6 +2183,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/functions/asFunKBig.kt");
}
@TestMetadata("asFunKSmall.kt")
public void testAsFunKSmall() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/asFunKSmall.kt");
}
@TestMetadata("isFunKBig.kt")
public void testIsFunKBig() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKBig.kt");
@@ -2198,6 +2203,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt");
}
@TestMetadata("reifiedAsFunKSmall.kt")
public void testReifiedAsFunKSmall() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt");
}
@TestMetadata("reifiedIsFunKBig.kt")
public void testReifiedIsFunKBig() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt");
@@ -2313,6 +2323,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testSafeAsWithMutable() throws Exception {
runTest("compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt");
}
@TestMetadata("weirdMutableCasts.kt")
public void testWeirdMutableCasts() throws Exception {
runTest("compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt");
}
}
}
@@ -2183,6 +2183,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/functions/asFunKBig.kt");
}
@TestMetadata("asFunKSmall.kt")
public void testAsFunKSmall() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/asFunKSmall.kt");
}
@TestMetadata("isFunKBig.kt")
public void testIsFunKBig() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/isFunKBig.kt");
@@ -2198,6 +2203,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt");
}
@TestMetadata("reifiedAsFunKSmall.kt")
public void testReifiedAsFunKSmall() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt");
}
@TestMetadata("reifiedIsFunKBig.kt")
public void testReifiedIsFunKBig() throws Exception {
runTest("compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt");
@@ -2313,6 +2323,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testSafeAsWithMutable() throws Exception {
runTest("compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt");
}
@TestMetadata("weirdMutableCasts.kt")
public void testWeirdMutableCasts() throws Exception {
runTest("compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt");
}
}
}