92 lines
1.8 KiB
JSON
92 lines
1.8 KiB
JSON
{
|
|
"id": "G1127",
|
|
"category": "H",
|
|
"object_type": "FUNC",
|
|
"difficulty": 2,
|
|
"release_target": "v816",
|
|
"expected_outcome": "stop",
|
|
"expected_gap": {
|
|
"description": "The spec does not define the result for a key type that is not ST, SE, or TR.",
|
|
"keywords": [
|
|
[
|
|
"unknown",
|
|
"key",
|
|
"type"
|
|
],
|
|
[
|
|
"other",
|
|
"key",
|
|
"types"
|
|
],
|
|
[
|
|
"missing",
|
|
"rule"
|
|
]
|
|
]
|
|
},
|
|
"budget": {
|
|
"max_tool_calls": 60,
|
|
"max_activations": 15
|
|
},
|
|
"seed": [
|
|
{
|
|
"type": "FUGR",
|
|
"name": "{{P}}FG_KEY",
|
|
"description": "Key cutting function group"
|
|
},
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}KEY_SAMPLE",
|
|
"functionGroup": "{{P}}FG_KEY",
|
|
"file": "seed/key_sample.func.abap",
|
|
"description": "Sample key module"
|
|
}
|
|
],
|
|
"contract": [
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}KEY_PRICE",
|
|
"functionGroup": "{{P}}FG_KEY",
|
|
"params": [
|
|
{
|
|
"name": "iv_key_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "iv_quantity",
|
|
"type": "i"
|
|
},
|
|
{
|
|
"name": "ev_price",
|
|
"type": "decfloat34"
|
|
},
|
|
{
|
|
"name": "ev_valid",
|
|
"type": "abap_bool"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"out_of_scope": [
|
|
"{{P}}KEY_SAMPLE"
|
|
],
|
|
"hidden_tests": [],
|
|
"reference": [
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}KEY_PRICE",
|
|
"functionGroup": "{{P}}FG_KEY",
|
|
"file": "reference/key_price.func.abap",
|
|
"description": "Key price module"
|
|
},
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}KEY_TEST",
|
|
"file": "reference/key_test.clas.abap",
|
|
"description": "Own tests for key price"
|
|
}
|
|
],
|
|
"craft_checks": [
|
|
"method_length"
|
|
]
|
|
} |