Minor, ignore failing box tests for light analysis
This commit is contained in:
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt"
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// WITH_RUNTIME
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
|
||||
@@ -15,4 +15,4 @@ fun box(): String {
|
||||
|
||||
fun sum(i: UInt, z: UInt?): UInt {
|
||||
return i + z!!
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt"
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// WITH_RUNTIME
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
|
||||
@@ -15,4 +15,4 @@ fun box(): String {
|
||||
|
||||
fun sum(i: UInt, z: UInt?): UInt {
|
||||
return i + z!!
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt"
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// WITH_RUNTIME
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
|
||||
@@ -14,4 +14,4 @@ fun box(): String {
|
||||
|
||||
fun sum(i: UInt, z: UInt?): UInt {
|
||||
return i + z!!
|
||||
}
|
||||
}
|
||||
|
||||
+15
-15
@@ -23644,6 +23644,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class NullableLoopParameter extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("progressionExpression.kt")
|
||||
public void ignoreProgressionExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeExpression.kt")
|
||||
public void ignoreRangeExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeLiteral.kt")
|
||||
public void ignoreRangeLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -23651,21 +23666,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testAllFilesPresentInNullableLoopParameter() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("progressionExpression.kt")
|
||||
public void testProgressionExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeExpression.kt")
|
||||
public void testRangeExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeLiteral.kt")
|
||||
public void testRangeLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user