Add range iteration tests for rangeUntil

#KT-52932
This commit is contained in:
Ilya Gorbunov
2022-06-23 08:45:29 +03:00
committed by Space
parent 50247a0346
commit 1addc23b23
115 changed files with 7797 additions and 1 deletions
@@ -26430,6 +26430,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/expression/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/expression/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -27252,6 +27258,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/literal/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/literal/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -27827,6 +27839,180 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until")
@TestDataPath("$PROJECT_ROOT")
@@ -28437,6 +28623,168 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until")
@TestDataPath("$PROJECT_ROOT")
@@ -29074,6 +29422,180 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until")
@TestDataPath("$PROJECT_ROOT")
@@ -29684,6 +30206,168 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until")
@TestDataPath("$PROJECT_ROOT")
@@ -30005,6 +30689,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -30195,6 +30885,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -26424,6 +26424,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/expression/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/expression/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -27246,6 +27252,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/literal/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/literal/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -27821,6 +27833,180 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until")
@TestDataPath("$PROJECT_ROOT")
@@ -28467,6 +28653,180 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until")
@TestDataPath("$PROJECT_ROOT")
@@ -29122,6 +29482,180 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until")
@TestDataPath("$PROJECT_ROOT")
@@ -29768,6 +30302,180 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
public class RangeUntil {
@Test
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/emptyProgression.kt");
}
@Test
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepNegative.kt");
}
@Test
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@Test
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepZero.kt");
}
@Test
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@Test
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/singleElementStepTwo.kt");
}
@Test
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepOne.kt");
}
@Test
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToOutsideRange.kt");
}
@Test
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSmallerLast.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
public class NestedStep {
@Test
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@Test
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@Test
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
public class Reversed {
@Test
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@Test
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@Test
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@Test
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until")
@TestDataPath("$PROJECT_ROOT")
@@ -30107,6 +30815,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -30297,6 +31011,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt");
}
@Test
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRangeUntil.kt");
}
@Test
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
@@ -23580,6 +23580,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/expression/openRange.kt");
}
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/expression/openRangeUntil.kt");
}
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt");
@@ -24307,6 +24312,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/literal/openRange.kt");
}
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/literal/openRangeUntil.kt");
}
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt");
@@ -24828,6 +24838,165 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class RangeUntil extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/emptyProgression.kt");
}
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepNegative.kt");
}
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/illegalStepZero.kt");
}
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/singleElementStepTwo.kt");
}
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepOne.kt");
}
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToOutsideRange.kt");
}
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSameLast.kt");
}
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/stepToSmallerLast.kt");
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class NestedStep extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Reversed extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -25413,6 +25582,165 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class RangeUntil extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/emptyProgression.kt");
}
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepNegative.kt");
}
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/illegalStepZero.kt");
}
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/singleElementStepTwo.kt");
}
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepOne.kt");
}
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToOutsideRange.kt");
}
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSameLast.kt");
}
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/stepToSmallerLast.kt");
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class NestedStep extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Reversed extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -26010,6 +26338,165 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class RangeUntil extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/emptyProgression.kt");
}
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepNegative.kt");
}
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepThenLegalStep.kt");
}
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/illegalStepZero.kt");
}
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/legalStepThenIllegalStep.kt");
}
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/singleElementStepTwo.kt");
}
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepOne.kt");
}
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToOutsideRange.kt");
}
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSameLast.kt");
}
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/stepToSmallerLast.kt");
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class NestedStep extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Reversed extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStep.kt");
}
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversed.kt");
}
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -26595,6 +27082,165 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class RangeUntil extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInRangeUntil() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("emptyProgression.kt")
public void testEmptyProgression() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/emptyProgression.kt");
}
@TestMetadata("illegalStepNegative.kt")
public void testIllegalStepNegative() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepNegative.kt");
}
@TestMetadata("illegalStepThenLegalStep.kt")
public void testIllegalStepThenLegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepThenLegalStep.kt");
}
@TestMetadata("illegalStepZero.kt")
public void testIllegalStepZero() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/illegalStepZero.kt");
}
@TestMetadata("legalStepThenIllegalStep.kt")
public void testLegalStepThenIllegalStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/legalStepThenIllegalStep.kt");
}
@TestMetadata("singleElementStepTwo.kt")
public void testSingleElementStepTwo() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/singleElementStepTwo.kt");
}
@TestMetadata("stepOne.kt")
public void testStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepOne.kt");
}
@TestMetadata("stepToOutsideRange.kt")
public void testStepToOutsideRange() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToOutsideRange.kt");
}
@TestMetadata("stepToSameLast.kt")
public void testStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSameLast.kt");
}
@TestMetadata("stepToSmallerLast.kt")
public void testStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/stepToSmallerLast.kt");
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class NestedStep extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInNestedStep() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("stepOneThenStepOne.kt")
public void testStepOneThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepOneThenStepOne.kt");
}
@TestMetadata("stepThenSameStep.kt")
public void testStepThenSameStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepThenSameStep.kt");
}
@TestMetadata("stepToSameLastThenStepOne.kt")
public void testStepToSameLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepOne.kt");
}
@TestMetadata("stepToSameLastThenStepToSameLast.kt")
public void testStepToSameLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSameLastThenStepToSmallerLast.kt")
public void testStepToSameLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSameLastThenStepToSmallerLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepOne.kt")
public void testStepToSmallerLastThenStepOne() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepOne.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSameLast.kt")
public void testStepToSmallerLastThenStepToSameLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSameLast.kt");
}
@TestMetadata("stepToSmallerLastThenStepToSmallerLast.kt")
public void testStepToSmallerLastThenStepToSmallerLast() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Reversed extends AbstractIrCodegenBoxWasmTest {
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath);
}
public void testAllFilesPresentInReversed() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("reversedThenStep.kt")
public void testReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStep.kt");
}
@TestMetadata("reversedThenStepThenReversed.kt")
public void testReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversed.kt");
}
@TestMetadata("reversedThenStepThenReversedThenStep.kt")
public void testReversedThenStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/reversedThenStepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversed.kt")
public void testStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversed.kt");
}
@TestMetadata("stepThenReversedThenStep.kt")
public void testStepThenReversedThenStep() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStep.kt");
}
@TestMetadata("stepThenReversedThenStepThenReversed.kt")
public void testStepThenReversedThenStepThenReversed() throws Exception {
runTest("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeUntil/reversed/stepThenReversedThenStepThenReversed.kt");
}
}
}
@TestMetadata("compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -26901,6 +27547,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt");
}
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/openRangeUntil.kt");
}
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroDownToMaxValue.kt");
@@ -27064,6 +27715,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt");
}
@TestMetadata("openRangeUntil.kt")
public void testOpenRangeUntil() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/openRangeUntil.kt");
}
@TestMetadata("overflowZeroDownToMaxValue.kt")
public void testOverflowZeroDownToMaxValue() throws Exception {
runTest("compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroDownToMaxValue.kt");