[Spec tests] Add property helpers to testMaps

This commit is contained in:
anastasiia.spaseeva
2020-05-06 18:18:29 +03:00
parent cbba52e43c
commit d9160a26e9
33 changed files with 265 additions and 132 deletions
@@ -8,7 +8,8 @@
"description": "checking of type for Boolean values: impossible to use as identifiers",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
],
"3": [
@@ -18,7 +19,8 @@
"description": "Checking of type for Boolean values",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
},
@@ -30,7 +32,8 @@
"description": "checking of type for Boolean values: possible to use as identifiers if surround with backticks",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
],
"3": [
@@ -40,7 +43,8 @@
"description": "Checking of type for Boolean values",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -48,7 +52,8 @@
"description": "Checking of subtype for Boolean values",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/pos/3.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
}
@@ -8,7 +8,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
],
"2": [
@@ -18,7 +19,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
},
@@ -30,7 +32,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
],
"2": [
@@ -40,7 +43,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
}
@@ -54,7 +58,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
],
"2": [
@@ -64,7 +69,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
},
@@ -76,7 +82,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
],
"2": [
@@ -86,7 +93,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
}
@@ -100,7 +108,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
},
{
"specVersion": "0.1-218",
@@ -108,7 +117,8 @@
"description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
},
@@ -120,7 +130,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
},
{
"specVersion": "0.1-218",
@@ -128,7 +139,8 @@
"description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-218",
@@ -136,7 +148,8 @@
"description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
}
@@ -150,7 +163,8 @@
"description": "A character literal defines a constant holding a unicode character value",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
},
{
"specVersion": "0.1-218",
@@ -158,7 +172,8 @@
"description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
},
{
"specVersion": "0.1-218",
@@ -166,7 +181,8 @@
"description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
}
@@ -180,7 +196,8 @@
"description": "to define a character the unicode codepoint escaped symbol \\u could be used with followed by exactly four hexadecimal digits.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
},
@@ -192,7 +209,8 @@
"description": "to define a character the unicode code point escaped symbol \\u could be used with followed by exactly four hexadecimal digits",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/pos/1.2.kt",
"unexpectedBehaviour": false,
"linkType": "primary"
"linkType": "primary",
"helpers": "checkType"
}
]
}
@@ -322,7 +322,8 @@
"description": "A type checking of a real literal with an exponent mark.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -330,7 +331,8 @@
"description": "A type checking of a real literal with omitted a whole-number part.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -338,7 +340,8 @@
"description": "A type checking of a real literal with omitted a whole-number part and an exponent mark.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -346,7 +349,8 @@
"description": "A type checking of a real literal with omitted a fraction part and an exponent mark.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -354,7 +358,8 @@
"description": "A type checking of a simple real literal (with/without underscores).",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
}
@@ -8,7 +8,8 @@
"description": "Various integer literals with not allowed long literal mark in lower case (type checking).",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -16,7 +17,8 @@
"description": "Check of integer type selection depends on the context (incopatible types).",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -24,7 +26,8 @@
"description": "Type checking (comparison with invalid types) of too a big integers.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -32,7 +35,8 @@
"description": "Type checking (comparison with invalid types) of various integer literals.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -40,7 +44,8 @@
"description": "Type checking (comparison with invalid types) of various integer literals with long literal mark.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
],
"1": [
@@ -78,7 +83,8 @@
"description": "Type checking of various integer literals with long literal mark.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.1.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -86,7 +92,8 @@
"description": "Check of integer type selection depends on the context.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.5.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -94,7 +101,8 @@
"description": "Type checking of binary integer literals.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -102,7 +110,8 @@
"description": "Type checking of hexadecimal integer literals.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
},
{
"specVersion": "0.1-100",
@@ -110,7 +119,8 @@
"description": "Type checking of decimal integer literals.",
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.kt",
"unexpectedBehaviour": false,
"linkType": "main"
"linkType": "main",
"helpers": "checkType"
}
]
}