Files
breeze/tests/settings_shell_test.sh
T
waoziandClaude Opus 5.5 dc67b1bfbe Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 15:40:52 -03:00

30 lines
781 B
Bash

#!/usr/bin/env bash
set -euo pipefail
root="$(cd "$(dirname "$0")/.." && pwd)"
screen="$root/src/screens/settings/settings_screen.zi"
for symbol in \
"settings_screen_normalize" \
"settings_screen_prepare" \
"settings_desktop_layout" \
"settings_desktop_draw_nav" \
"settings_desktop_draw_panel"; do
if ! grep -Fq "$symbol" "$screen"; then
echo "settings shell is missing $symbol"
exit 1
fi
done
if grep -Fq "IsMouseButtonReleased" "$screen"; then
echo "settings screen shell must not handle raw pointer release"
exit 1
fi
if grep -Fq "save_settings(app)" "$screen"; then
echo "settings screen shell must leave persistence to app_flush_deferred_settings or leaf controls"
exit 1
fi
echo "settings shell test passed"