Files
breeze/tests/settings_shell_test.sh
T
waozi 7a88e3df9e Move Inbe application logic to Kryon and refresh the app
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.

Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
2026-09-19 11:58:09 -03:00

30 lines
782 B
Bash

#!/usr/bin/env bash
set -euo pipefail
root="$(cd "$(dirname "$0")/.." && pwd)"
screen="$root/src/screens/settings/settings_screen.kry"
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"