Break out bytecodeText/conditions tests into smaller tests for if/while/do-while.
This commit is contained in:
committed by
max-kammerer
parent
9eb11ff3e9
commit
3585792b3b
+78
-18
@@ -914,19 +914,49 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedDisjunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNonZeroCompare.kt")
|
||||
public void testNegatedNonZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNonZeroCompare.kt");
|
||||
@TestMetadata("negatedNonZeroCompareInDoWhile.kt")
|
||||
public void testNegatedNonZeroCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNonZeroCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNullCompare.kt")
|
||||
public void testNegatedNullCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNullCompare.kt");
|
||||
@TestMetadata("negatedNonZeroCompareInIf.kt")
|
||||
public void testNegatedNonZeroCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNonZeroCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedZeroCompare.kt")
|
||||
public void testNegatedZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedZeroCompare.kt");
|
||||
@TestMetadata("negatedNonZeroCompareInWhile.kt")
|
||||
public void testNegatedNonZeroCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNonZeroCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNullCompareInDoWhile.kt")
|
||||
public void testNegatedNullCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNullCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNullCompareInIf.kt")
|
||||
public void testNegatedNullCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNullCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedNullCompareInWhile.kt")
|
||||
public void testNegatedNullCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedNullCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedZeroCompareInDoWhile.kt")
|
||||
public void testNegatedZeroCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedZeroCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedZeroCompareInIf.kt")
|
||||
public void testNegatedZeroCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedZeroCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("negatedZeroCompareInWhile.kt")
|
||||
public void testNegatedZeroCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/negatedZeroCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noBoxingForBoxedEqPrimitive.kt")
|
||||
@@ -944,19 +974,49 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/noBoxingForPrimitiveEqObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonZeroCompare.kt")
|
||||
public void testNonZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompare.kt");
|
||||
@TestMetadata("nonZeroCompareInDoWhile.kt")
|
||||
public void testNonZeroCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompare.kt")
|
||||
public void testNullCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompare.kt");
|
||||
@TestMetadata("nonZeroCompareInIf.kt")
|
||||
public void testNonZeroCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("zeroCompare.kt")
|
||||
public void testZeroCompare() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/zeroCompare.kt");
|
||||
@TestMetadata("nonZeroCompareInWhile.kt")
|
||||
public void testNonZeroCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareInDoWhile.kt")
|
||||
public void testNullCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareInIf.kt")
|
||||
public void testNullCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareInWhile.kt")
|
||||
public void testNullCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("zeroCompareInDoWhile.kt")
|
||||
public void testZeroCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/zeroCompareInDoWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("zeroCompareInIf.kt")
|
||||
public void testZeroCompareInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/zeroCompareInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("zeroCompareInWhile.kt")
|
||||
public void testZeroCompareInWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/zeroCompareInWhile.kt");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user