Add multilevel sections support and corresponding renaming
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Smartcasts using Returns effects with simple type checking, not-null conditions and custom condition (condition for smartcast outside contract).
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 10
|
||||
DESCRIPTION: Check the lack of smartcasts after non-null assertions or not-null value assignment in lambdas of contract function with 'unknown' or 'at most once' CallsInPlace effects.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 11
|
||||
DESCRIPTION: Check smartcasts using double negation (returnsFalse/invert type checking/not operator).
|
||||
UNEXPECTED BEHAVIOUR
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 12
|
||||
DESCRIPTION: Check smartcast to upper bound of the types in disjunction.
|
||||
UNEXPECTED BEHAVIOUR
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 13
|
||||
DESCRIPTION: Smartcast using many of the various Returns effects on the same values.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions outside contract (custom condition).
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 4
|
||||
DESCRIPTION: Smartcasts using Returns effects with simple type checking and not-null conditions on receiver inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 5
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 6
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver and some values (mixed) inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 7
|
||||
DESCRIPTION: Smartcasts using Returns effects with nested or subsequent contract function calls.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 8
|
||||
DESCRIPTION: Smartcasts using some Returns effects.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 9
|
||||
DESCRIPTION: Smartcasts after non-null assertions or not-null value assignment in lambdas of contract function with 'exactly once' or 'at least once' CallsInPlace effects.
|
||||
UNEXPECTED BEHAVIOUR
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 1
|
||||
DESCRIPTION: Smartcasts using Returns effects with simple type checking, not-null conditions and custom condition (condition for smartcast outside contract).
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 10
|
||||
DESCRIPTION: Smartcasts with correspond contract function with default value in last parameter.
|
||||
ISSUES: KT-26444
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 11
|
||||
DESCRIPTION: Check smartcasts with passing same fields of instances of the same class in contract function with conjunction not-null condition.
|
||||
ISSUES: KT-26300
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 2
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions outside contract (custom condition).
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 3
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 4
|
||||
DESCRIPTION: Smartcasts using Returns effects with simple type checking and not-null conditions on receiver inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 5
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 6
|
||||
DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver and some values (mixed) inside contract.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 7
|
||||
DESCRIPTION: Smartcasts using Returns effects with nested or subsequent contract function calls.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 8
|
||||
DESCRIPTION: Smartcasts using some Returns effects.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE)
|
||||
|
||||
SECTION: contracts
|
||||
CATEGORY: analysis, smartcasts
|
||||
CATEGORIES: analysis, smartcasts
|
||||
NUMBER: 9
|
||||
DESCRIPTION: Smartcast using complex condition with some contract functions (Returns effect).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user