Add multilevel sections support and corresponding renaming

This commit is contained in:
victor.petukhov
2018-09-24 23:27:06 +03:00
parent 2c313e12e5
commit 84dc28374c
140 changed files with 946 additions and 943 deletions
@@ -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).
*/
@@ -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.
*/
@@ -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
@@ -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
@@ -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.
*/
@@ -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).
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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
@@ -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).
*/
@@ -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
@@ -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
@@ -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).
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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.
*/
@@ -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).
*/