[Spec tests] Make main link nullable for case if implementation tests don't have this one

This commit is contained in:
anastasiia.spaseeva
2020-04-16 13:43:31 +03:00
parent 3a46b5a45a
commit 270972ca1c
23 changed files with 379 additions and 370 deletions
@@ -80,7 +80,7 @@
"description": "Exhaustive with nullability check before",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckBefore.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -88,7 +88,7 @@
"description": "Exhaustive with nullability check else",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveWithNullabilityCheckElse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
}
@@ -102,7 +102,7 @@
"description": "When type disjunctions",
"path": "compiler/testData/diagnostics/tests/when/WhenTypeDisjunctions.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-313",
@@ -110,7 +110,7 @@
"description": "Exhaustive break continue",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveBreakContinue.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
},
@@ -122,7 +122,7 @@
"description": "Exhaustive return throw",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturnThrow.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -130,7 +130,7 @@
"description": "Exhaustive return",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveReturn.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
}
@@ -8,7 +8,7 @@
"description": "Non exhaustive warning null",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -16,7 +16,7 @@
"description": "Non exhaustive warning",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -24,7 +24,7 @@
"description": "Exhaustive val over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -32,7 +32,7 @@
"description": "Non exhaustive warning false",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -40,7 +40,7 @@
"description": "Exhaustive var over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -48,7 +48,7 @@
"description": "Property not initialized",
"path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -56,7 +56,7 @@
"description": "Non exhaustive warning else",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
],
"3": [
@@ -66,7 +66,7 @@
"description": "Non exhaustive warning null",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningNull.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -74,7 +74,7 @@
"description": "Non exhaustive warning",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarning.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -82,7 +82,7 @@
"description": "Exhaustive val over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -90,7 +90,7 @@
"description": "Non exhaustive warning false",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -98,7 +98,7 @@
"description": "Exhaustive var over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -106,7 +106,7 @@
"description": "Property not initialized",
"path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -114,7 +114,7 @@
"description": "Non exhaustive warning else",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
},
@@ -126,7 +126,7 @@
"description": "Exhaustive nullable",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-313",
@@ -134,7 +134,7 @@
"description": "Exhaustive initialization",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-313",
@@ -142,7 +142,7 @@
"description": "Exhaustive no initialization",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
],
"3": [
@@ -152,7 +152,7 @@
"description": "Exhaustive nullable",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-313",
@@ -160,7 +160,7 @@
"description": "Exhaustive initialization",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveInitialization.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-313",
@@ -168,7 +168,7 @@
"description": "Exhaustive no initialization",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveNoInitialization.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
}
@@ -182,7 +182,7 @@
"description": "Exhaustive val over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -190,7 +190,7 @@
"description": "Non exhaustive warning false",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningFalse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -198,7 +198,7 @@
"description": "Exhaustive var over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -206,7 +206,7 @@
"description": "Property not initialized",
"path": "compiler/testData/diagnostics/tests/when/PropertyNotInitialized.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
},
{
"specVersion": "0.1-152",
@@ -214,7 +214,7 @@
"description": "Non exhaustive warning else",
"path": "compiler/testData/diagnostics/tests/when/NonExhaustiveWarningElse.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
],
"3": [
@@ -224,7 +224,7 @@
"description": "Exhaustive val over conditional init",
"path": "compiler/testData/diagnostics/tests/when/ExhaustiveValOverConditionalInit.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "primary"
}
]
}