93 lines
2.0 KiB
JSON
93 lines
2.0 KiB
JSON
{
|
|
"id": "G1945",
|
|
"category": "D",
|
|
"object_type": "MSAG",
|
|
"difficulty": 2,
|
|
"release_target": "v816",
|
|
"expected_outcome": "implement",
|
|
"budget": {
|
|
"max_tool_calls": 60,
|
|
"max_activations": 15
|
|
},
|
|
"seed": [],
|
|
"contract": [
|
|
{
|
|
"type": "MSAG",
|
|
"name": "{{P}}SCAF_MSG",
|
|
"messages": [
|
|
{
|
|
"msgno": "001"
|
|
},
|
|
{
|
|
"msgno": "002"
|
|
},
|
|
{
|
|
"msgno": "003"
|
|
},
|
|
{
|
|
"msgno": "004"
|
|
},
|
|
{
|
|
"msgno": "005"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}CX_SCAF_ORDER"
|
|
}
|
|
],
|
|
"out_of_scope": [],
|
|
"hidden_tests": [
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}T21_HIDDEN",
|
|
"file": "hidden/t21_hidden.clas.abap",
|
|
"description": "Hidden tests for the message class {{P}}SCAF_MSG and the exception class {{P}}CX_SCAF_ORDER"
|
|
}
|
|
],
|
|
"reference": [
|
|
{
|
|
"type": "MSAG",
|
|
"name": "{{P}}SCAF_MSG",
|
|
"description": "Messages of the scaffolding hire company",
|
|
"messages": [
|
|
{
|
|
"msgno": "001",
|
|
"text": "Scaffolding order &1 is blocked: &2"
|
|
},
|
|
{
|
|
"msgno": "002",
|
|
"text": "Scaffold part &1 is not in stock"
|
|
},
|
|
{
|
|
"msgno": "003",
|
|
"text": "Quantity &1 is not valid for part &2"
|
|
},
|
|
{
|
|
"msgno": "004",
|
|
"text": "Order &1 exceeds the load limit of &2 kg"
|
|
},
|
|
{
|
|
"msgno": "005",
|
|
"text": "Order &1 was released for site &2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}CX_SCAF_ORDER",
|
|
"file": "reference/cx_scaf_order.clas.abap",
|
|
"description": "Class-based exception of a blocked scaffolding order"
|
|
},
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}T21_TEST",
|
|
"file": "reference/t21_test.clas.abap",
|
|
"description": "Own tests of the message class and of the exception class"
|
|
}
|
|
],
|
|
"craft_checks": [
|
|
"method_length"
|
|
]
|
|
} |