feat: dev-5.1 分支基线(v1.3.35 发版后代码 + 5.1 声道改造文档)
- 以 main(ccc65af) 为基线提交当前工作区代码
- 新增 5.1 声道改造文档两份
- .gitignore 补充 .vscode/、.screenshots/
This commit is contained in:
22
test/voice_helper/jump_category.sh
Normal file
22
test/voice_helper/jump_category.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# jump_category.sh - 分类跳转测试
|
||||
# 用法: jump_category.sh [categoryId] [categoryName]
|
||||
|
||||
set -e
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
# shellcheck disable=SC1091
|
||||
source "${SCRIPT_DIR}/lib/common.sh"
|
||||
|
||||
require_adb
|
||||
check_receiver_exists
|
||||
|
||||
CATEGORY_ID="${1:-cat-demo-001}"
|
||||
CATEGORY_NAME="${2:-动作片}"
|
||||
|
||||
print_header "分类跳转 JUMP/CATEGORY"
|
||||
PAYLOAD=$(build_jump_payload CATEGORY \
|
||||
"categoryId=${CATEGORY_ID}" \
|
||||
"categoryName=${CATEGORY_NAME}")
|
||||
|
||||
send_voice_broadcast "JUMP" "${PAYLOAD}"
|
||||
log_ok "预期进入 ListActivity 并加载该分类"
|
||||
Reference in New Issue
Block a user