Special instructions added for calls and other constructs
This commit is contained in:
@@ -46,11 +46,21 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/ArrayAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrayAccessExpression.kt")
|
||||
public void testArrayAccessExpression() throws Exception {
|
||||
doTest("compiler/testData/cfg/arrayAccessExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Assignments.kt")
|
||||
public void testAssignments() throws Exception {
|
||||
doTest("compiler/testData/cfg/Assignments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("backingFieldAccess.kt")
|
||||
public void testBackingFieldAccess() throws Exception {
|
||||
doTest("compiler/testData/cfg/backingFieldAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
doTest("compiler/testData/cfg/Basic.kt");
|
||||
@@ -96,6 +106,16 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/If.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incrementAtTheEnd.kt")
|
||||
public void testIncrementAtTheEnd() throws Exception {
|
||||
doTest("compiler/testData/cfg/incrementAtTheEnd.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
doTest("compiler/testData/cfg/invoke.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LazyBooleans.kt")
|
||||
public void testLazyBooleans() throws Exception {
|
||||
doTest("compiler/testData/cfg/LazyBooleans.kt");
|
||||
@@ -111,6 +131,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/MultiDecl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multiDeclarationWithError.kt")
|
||||
public void testMultiDeclarationWithError() throws Exception {
|
||||
doTest("compiler/testData/cfg/multiDeclarationWithError.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ObjectExpression.kt")
|
||||
public void testObjectExpression() throws Exception {
|
||||
doTest("compiler/testData/cfg/ObjectExpression.kt");
|
||||
@@ -121,6 +146,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/OnlyWhileInFunctionBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertySafeCall.kt")
|
||||
public void testPropertySafeCall() throws Exception {
|
||||
doTest("compiler/testData/cfg/propertySafeCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnFromExpression.kt")
|
||||
public void testReturnFromExpression() throws Exception {
|
||||
doTest("compiler/testData/cfg/ReturnFromExpression.kt");
|
||||
|
||||
Reference in New Issue
Block a user