K1/K2: add BB test for (add/remove)(First/Last) calls on mutable list
Related to KT-64640
This commit is contained in:
committed by
Space Team
parent
940c3c81ad
commit
8c2f5c767f
+16
@@ -802,4 +802,20 @@ public class LLFirBlackBoxModernJdkCodegenBasedTestGenerated extends AbstractLLF
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava21")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava21 {
|
||||
@Test
|
||||
@TestMetadata("addRemoveOnMutableList.kt")
|
||||
public void testAddRemoveOnMutableList() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava21/addRemoveOnMutableList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava21() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava21"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
@@ -802,4 +802,20 @@ public class LLFirReversedBlackBoxModernJdkCodegenBasedTestGenerated extends Abs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava21")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava21 {
|
||||
@Test
|
||||
@TestMetadata("addRemoveOnMutableList.kt")
|
||||
public void testAddRemoveOnMutableList() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava21/addRemoveOnMutableList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava21() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava21"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user