Parser tests: add tests for contract description blocks
This commit is contained in:
@@ -380,6 +380,16 @@ public class ParsingTestGenerated extends AbstractParsingTest {
|
||||
runTest("compiler/testData/psi/FunctionTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionWithMultilineContract.kt")
|
||||
public void testFunctionWithMultilineContract() throws Exception {
|
||||
runTest("compiler/testData/psi/FunctionWithMultilineContract.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionWithTypeConstraintsAndContract.kt")
|
||||
public void testFunctionWithTypeConstraintsAndContract() throws Exception {
|
||||
runTest("compiler/testData/psi/FunctionWithTypeConstraintsAndContract.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Functions.kt")
|
||||
public void testFunctions() throws Exception {
|
||||
runTest("compiler/testData/psi/Functions.kt");
|
||||
@@ -620,6 +630,11 @@ public class ParsingTestGenerated extends AbstractParsingTest {
|
||||
runTest("compiler/testData/psi/SimpleExpressions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SimpleFunctionWithContract.kt")
|
||||
public void testSimpleFunctionWithContract() throws Exception {
|
||||
runTest("compiler/testData/psi/SimpleFunctionWithContract.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SimpleModifiers.kt")
|
||||
public void testSimpleModifiers() throws Exception {
|
||||
runTest("compiler/testData/psi/SimpleModifiers.kt");
|
||||
|
||||
Reference in New Issue
Block a user