Minor, optimize newly added tests on unsigned intrinsics
Remove "JVM_TARGET: 1.6" directive from box tests and remove tests with JVM target 1.8. By default, box tests are run with JVM target 1.6, and there's an additional configuration `codegenTarget8Jvm8Test` that runs all box tests with JVM target 1.8. Also, remove box tests with JVM target 1.6. They aren't needed because even if we manage to generate incorrect bytecode with target 1.6, the corresponding box tests will catch that
This commit is contained in:
-1
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
|
||||
fun box(): String {
|
||||
if (ua.compareTo(ub) > 0) {
|
||||
throw AssertionError()
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
val u = ua * ub
|
||||
|
||||
fun box(): String {
|
||||
val div = u / ua
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
val uc = 3456U
|
||||
val u = ua * ub + uc
|
||||
|
||||
fun box(): String {
|
||||
val rem = u % ub
|
||||
if (rem != uc) throw AssertionError("$rem")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
|
||||
fun box(): String {
|
||||
if (ua.compareTo(ub) > 0) {
|
||||
throw AssertionError()
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -16,4 +15,4 @@ fun box(): String {
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
val uai = ua.toUInt()
|
||||
val u = ua * ub
|
||||
|
||||
fun box(): String {
|
||||
val div = u / ua
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
val divInt = u / uai
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -13,4 +12,4 @@ fun box(): String {
|
||||
if (rem != uc) throw AssertionError("$rem")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
val uc = 3456UL
|
||||
val u = ua * ub + uc
|
||||
|
||||
fun box(): String {
|
||||
val rem = u % ub
|
||||
if (rem != uc) throw AssertionError("$rem")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
|
||||
fun box(): String {
|
||||
if (ua.compareTo(ub) > 0) {
|
||||
throw AssertionError()
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 INVOKESTATIC kotlin/UnsignedKt.uintCompare
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
val u = ua * ub
|
||||
|
||||
fun box(): String {
|
||||
val div = u / ua
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 INVOKESTATIC kotlin/UnsignedKt.uintDivide
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234U
|
||||
val ub = 5678U
|
||||
val uc = 3456U
|
||||
val u = ua * ub + uc
|
||||
|
||||
fun box(): String {
|
||||
val rem = u % ub
|
||||
if (rem != uc) throw AssertionError("$rem")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 kotlin/UnsignedKt.uintRemainder
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
|
||||
fun box(): String {
|
||||
if (ua.compareTo(ub) > 0) {
|
||||
throw AssertionError()
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 INVOKESTATIC kotlin/UnsignedKt.ulongCompare
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
val u = ua * ub
|
||||
|
||||
fun box(): String {
|
||||
val div = u / ua
|
||||
if (div != ub) throw AssertionError("$div")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 INVOKESTATIC kotlin/UnsignedKt.ulongDivide
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
val ua = 1234UL
|
||||
val ub = 5678UL
|
||||
val uc = 3456UL
|
||||
val u = ua * ub + uc
|
||||
|
||||
fun box(): String {
|
||||
val rem = u % ub
|
||||
if (rem != uc) throw AssertionError("$rem")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 1 kotlin/UnsignedKt.ulongRemainder
|
||||
+18
-48
@@ -25023,34 +25023,19 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedLiteralConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedIntCompare.kt")
|
||||
public void testUnsignedIntCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedIntDivide.kt")
|
||||
public void testUnsignedIntDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedIntRemainder.kt")
|
||||
public void testUnsignedIntRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
@@ -25063,34 +25048,19 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedLongCompare.kt")
|
||||
public void testUnsignedLongCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedLongDivide.kt")
|
||||
public void testUnsignedLongDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedLongRemainder.kt")
|
||||
public void testUnsignedLongRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
|
||||
@@ -3530,61 +3530,31 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
|
||||
+18
-48
@@ -25023,34 +25023,19 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedLiteralConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedIntCompare.kt")
|
||||
public void testUnsignedIntCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedIntDivide.kt")
|
||||
public void testUnsignedIntDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedIntRemainder.kt")
|
||||
public void testUnsignedIntRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
@@ -25063,34 +25048,19 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedLongCompare.kt")
|
||||
public void testUnsignedLongCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedLongDivide.kt")
|
||||
public void testUnsignedLongDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedLongRemainder.kt")
|
||||
public void testUnsignedLongRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
|
||||
+18
-48
@@ -25043,34 +25043,19 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedLiteralConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedIntCompare.kt")
|
||||
public void testUnsignedIntCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedIntDivide.kt")
|
||||
public void testUnsignedIntDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedIntRemainder.kt")
|
||||
public void testUnsignedIntRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
@@ -25083,34 +25068,19 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedLongCompare.kt")
|
||||
public void testUnsignedLongCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedLongDivide.kt")
|
||||
public void testUnsignedLongDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedLongRemainder.kt")
|
||||
public void testUnsignedLongRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
|
||||
-30
@@ -3540,61 +3540,31 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
|
||||
Generated
+18
-48
@@ -19253,34 +19253,19 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedLiteralConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedIntCompare.kt")
|
||||
public void testUnsignedIntCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedIntDivide.kt")
|
||||
public void testUnsignedIntDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedIntRemainder.kt")
|
||||
public void testUnsignedIntRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
@@ -19293,34 +19278,19 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedLongCompare.kt")
|
||||
public void testUnsignedLongCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedLongDivide.kt")
|
||||
public void testUnsignedLongDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedLongRemainder.kt")
|
||||
public void testUnsignedLongRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
|
||||
+18
-48
@@ -20398,34 +20398,19 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/signedToUnsignedLiteralConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedIntCompare.kt")
|
||||
public void testUnsignedIntCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedIntDivide.kt")
|
||||
public void testUnsignedIntDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedIntRemainder.kt")
|
||||
public void testUnsignedIntRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
@@ -20438,34 +20423,19 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
@TestMetadata("unsignedLongCompare.kt")
|
||||
public void testUnsignedLongCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@TestMetadata("unsignedLongDivide.kt")
|
||||
public void testUnsignedLongDivide() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
@TestMetadata("unsignedLongRemainder.kt")
|
||||
public void testUnsignedLongRemainder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
|
||||
Reference in New Issue
Block a user