Minor: add tests for KT-45893

This commit is contained in:
Dmitry Petrov
2021-04-05 15:47:35 +03:00
parent e10df86037
commit 120eba8d3d
10 changed files with 144 additions and 0 deletions
@@ -19213,6 +19213,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/ranges/forInCustomIterable.kt");
}
@TestMetadata("forInDoubleRangeWithCustomIterator.kt")
public void testForInDoubleRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInDoubleRangeWithCustomIterator.kt");
}
@TestMetadata("forInFloatRangeWithCustomIterator.kt")
public void testForInFloatRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -18634,6 +18634,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/forInCustomIterable.kt");
}
@TestMetadata("forInDoubleRangeWithCustomIterator.kt")
public void testForInDoubleRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInDoubleRangeWithCustomIterator.kt");
}
@TestMetadata("forInFloatRangeWithCustomIterator.kt")
public void testForInFloatRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -18684,6 +18684,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/forInCustomIterable.kt");
}
@TestMetadata("forInDoubleRangeWithCustomIterator.kt")
public void testForInDoubleRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInDoubleRangeWithCustomIterator.kt");
}
@TestMetadata("forInFloatRangeWithCustomIterator.kt")
public void testForInFloatRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");
@@ -11971,6 +11971,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/forByteProgressionWithIntIncrement.kt");
}
@TestMetadata("forInDoubleRangeWithCustomIterator.kt")
public void testForInDoubleRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInDoubleRangeWithCustomIterator.kt");
}
@TestMetadata("forInFloatRangeWithCustomIterator.kt")
public void testForInFloatRangeWithCustomIterator() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInFloatRangeWithCustomIterator.kt");
}
@TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt")
public void testForInRangeLiteralWithMixedTypeBounds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt");