435 lines
9.9 KiB
JSON
435 lines
9.9 KiB
JSON
{
|
|
"suite": "vehicle_frontend_dry_run",
|
|
"passed": true,
|
|
"summary": {
|
|
"passed": 40,
|
|
"failed": 0,
|
|
"total": 40
|
|
},
|
|
"duration_ms": 1149,
|
|
"frontend_url": "http://127.0.0.1:8011",
|
|
"native_url": "http://127.0.0.1:8765",
|
|
"results": [
|
|
{
|
|
"id": "frontend-health",
|
|
"passed": true,
|
|
"detail": "frontend, CAN_DEV and native gateway are connected",
|
|
"status": 200
|
|
},
|
|
{
|
|
"id": "native-monitor-runtime",
|
|
"passed": true,
|
|
"detail": "adapter is receiving all required feedback families in monitor-only mode",
|
|
"tx_count": 0,
|
|
"feedback_ids": [
|
|
"0x388",
|
|
"0x404",
|
|
"0x407",
|
|
"0x41A",
|
|
"0x42E",
|
|
"0x494",
|
|
"0x4FA"
|
|
]
|
|
},
|
|
{
|
|
"id": "frontend-source-matrix",
|
|
"passed": true,
|
|
"detail": "all 24 tested actions are present in the visible frontend",
|
|
"missing": []
|
|
},
|
|
{
|
|
"id": "preset:seat-vent-on",
|
|
"passed": true,
|
|
"detail": "打开主驾座椅通风",
|
|
"expected_commands": [
|
|
"seat driver vent low"
|
|
],
|
|
"actual_commands": [
|
|
"seat driver vent low"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:seat-heat-on",
|
|
"passed": true,
|
|
"detail": "打开主驾座椅加热",
|
|
"expected_commands": [
|
|
"seat driver heat low"
|
|
],
|
|
"actual_commands": [
|
|
"seat driver heat low"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:seat-vent-off",
|
|
"passed": true,
|
|
"detail": "关闭主驾座椅通风",
|
|
"expected_commands": [
|
|
"seat driver vent off"
|
|
],
|
|
"actual_commands": [
|
|
"seat driver vent off"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:seat-heat-off",
|
|
"passed": true,
|
|
"detail": "关闭主驾座椅加热",
|
|
"expected_commands": [
|
|
"seat driver heat off"
|
|
],
|
|
"actual_commands": [
|
|
"seat driver heat off"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:climate-on",
|
|
"passed": true,
|
|
"detail": "打开空调",
|
|
"expected_commands": [
|
|
"ac on"
|
|
],
|
|
"actual_commands": [
|
|
"ac on"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:climate-24",
|
|
"passed": true,
|
|
"detail": "把空调温度调到24度",
|
|
"expected_commands": [
|
|
"ac temp driver 24",
|
|
"ac temp passenger 24"
|
|
],
|
|
"actual_commands": [
|
|
"ac temp driver 24",
|
|
"ac temp passenger 24"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:climate-fan3",
|
|
"passed": true,
|
|
"detail": "把空调风量调到3档",
|
|
"expected_commands": [
|
|
"ac fan 3"
|
|
],
|
|
"actual_commands": [
|
|
"ac fan 3"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:climate-auto",
|
|
"passed": true,
|
|
"detail": "把空调设置为自动模式",
|
|
"expected_commands": [
|
|
"ac control auto"
|
|
],
|
|
"actual_commands": [
|
|
"ac control auto"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:outlet-driver-left",
|
|
"passed": true,
|
|
"detail": "把主驾左风口调到中间位置",
|
|
"expected_commands": [
|
|
"outlet driver-left percent 50 50"
|
|
],
|
|
"actual_commands": [
|
|
"outlet driver-left percent 50 50"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:outlet-driver-right",
|
|
"passed": true,
|
|
"detail": "把主驾右风口调到中间位置",
|
|
"expected_commands": [
|
|
"outlet driver-right percent 50 50"
|
|
],
|
|
"actual_commands": [
|
|
"outlet driver-right percent 50 50"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:outlet-passenger-left",
|
|
"passed": true,
|
|
"detail": "把副驾左风口调到中间位置",
|
|
"expected_commands": [
|
|
"outlet passenger-left percent 50 50"
|
|
],
|
|
"actual_commands": [
|
|
"outlet passenger-left percent 50 50"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:outlet-passenger-right",
|
|
"passed": true,
|
|
"detail": "把副驾右风口调到中间位置",
|
|
"expected_commands": [
|
|
"outlet passenger-right percent 50 50"
|
|
],
|
|
"actual_commands": [
|
|
"outlet passenger-right percent 50 50"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:shade-open",
|
|
"passed": true,
|
|
"detail": "打开遮阳帘",
|
|
"expected_commands": [
|
|
"shade open"
|
|
],
|
|
"actual_commands": [
|
|
"shade open"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:shade-close",
|
|
"passed": true,
|
|
"detail": "关闭遮阳帘",
|
|
"expected_commands": [
|
|
"shade close"
|
|
],
|
|
"actual_commands": [
|
|
"shade close"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:shade-half",
|
|
"passed": true,
|
|
"detail": "把遮阳帘打开一半",
|
|
"expected_commands": [
|
|
"shade half"
|
|
],
|
|
"actual_commands": [
|
|
"shade half"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:shade-stop",
|
|
"passed": true,
|
|
"detail": "停止遮阳帘",
|
|
"expected_commands": [
|
|
"shade stop"
|
|
],
|
|
"actual_commands": [
|
|
"shade stop"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:light-indoor",
|
|
"passed": true,
|
|
"detail": "打开车内室内灯",
|
|
"expected_commands": [
|
|
"light indoor on"
|
|
],
|
|
"actual_commands": [
|
|
"light indoor on"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:light-reading",
|
|
"passed": true,
|
|
"detail": "打开全部阅读灯",
|
|
"expected_commands": [
|
|
"light reading all on"
|
|
],
|
|
"actual_commands": [
|
|
"light reading all on"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:light-ambient",
|
|
"passed": true,
|
|
"detail": "打开车内氛围灯",
|
|
"expected_commands": [
|
|
"light ambient on"
|
|
],
|
|
"actual_commands": [
|
|
"light ambient on"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:light-brightness",
|
|
"passed": true,
|
|
"detail": "把氛围灯亮度调到3档",
|
|
"expected_commands": [
|
|
"light ambient brightness 3"
|
|
],
|
|
"actual_commands": [
|
|
"light ambient brightness 3"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:window-open",
|
|
"passed": true,
|
|
"detail": "打开全部车窗",
|
|
"expected_commands": [
|
|
"window all open"
|
|
],
|
|
"actual_commands": [
|
|
"window all open"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:window-close",
|
|
"passed": true,
|
|
"detail": "关闭全部车窗",
|
|
"expected_commands": [
|
|
"window all close"
|
|
],
|
|
"actual_commands": [
|
|
"window all close"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:window-front-left-50",
|
|
"passed": true,
|
|
"detail": "把左前车窗打开到50%",
|
|
"expected_commands": [
|
|
"window front-left position 50"
|
|
],
|
|
"actual_commands": [
|
|
"window front-left position 50"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "preset:door-rear-lock",
|
|
"passed": true,
|
|
"detail": "锁上后排门锁",
|
|
"expected_commands": [
|
|
"door rear lock"
|
|
],
|
|
"actual_commands": [
|
|
"door rear lock"
|
|
],
|
|
"http_status": 200,
|
|
"report_status": "validated"
|
|
},
|
|
{
|
|
"id": "reject:01",
|
|
"passed": true,
|
|
"detail": "raw 123#0102",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:02",
|
|
"passed": true,
|
|
"detail": "status",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:03",
|
|
"passed": true,
|
|
"detail": "help",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:04",
|
|
"passed": true,
|
|
"detail": "quit",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:05",
|
|
"passed": true,
|
|
"detail": "window front-left position 101",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:06",
|
|
"passed": true,
|
|
"detail": "ac fan 8",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:07",
|
|
"passed": true,
|
|
"detail": "ac temp driver 17",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:08",
|
|
"passed": true,
|
|
"detail": "seat driver horizontal forward 99",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:09",
|
|
"passed": true,
|
|
"detail": "light ambient color 128",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:10",
|
|
"passed": true,
|
|
"detail": "outlet driver-left percent 101 50",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "reject:11",
|
|
"passed": true,
|
|
"detail": "shade position 101",
|
|
"http_status": 400
|
|
},
|
|
{
|
|
"id": "monitor-only-command-gate",
|
|
"passed": true,
|
|
"detail": "monitor-only gateway rejects command execution",
|
|
"http_status": 403
|
|
},
|
|
{
|
|
"id": "zero-transmit-invariant",
|
|
"passed": true,
|
|
"detail": "dry-run suite did not transmit CAN frames",
|
|
"before_tx": 0,
|
|
"after_tx": 0
|
|
}
|
|
]
|
|
}
|