Skip to content

Commit aa1b358

Browse files
Add unit tests
1 parent 92ca020 commit aa1b358

File tree

4 files changed

+1309
-107
lines changed

4 files changed

+1309
-107
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
0.4.0 (unreleased)
1+
0.4.0
22
=====
33
- Add custom MposKeyboard with more than 50% bigger buttons, great for tiny touch screens!
44
- Apply theme changes (dark mode, color) immediately after saving
55
- About app: add a bit more info
6-
- Camera app: fix one-in-two "camera image stays blank" issue
6+
- Camera app: fix one-in-two 'camera image stays blank' issue
77
- OSUpdate app: enable scrolling with joystick/arrow keys
88
- OSUpdate app: Major rework with improved reliability and user experience
9-
- add WiFi monitoring - shows "Waiting for WiFi..." instead of error when no connection
9+
- add WiFi monitoring - shows 'Waiting for WiFi...' instead of error when no connection
1010
- add automatic pause/resume on WiFi loss during downloads using HTTP Range headers
1111
- add user-friendly error messages with specific guidance for each error type
12-
- add "Check Again" button for easy retry after errors
12+
- add 'Check Again' button for easy retry after errors
1313
- add state machine for better app state management
1414
- add comprehensive test coverage (42 tests: 31 unit tests + 11 graphical tests)
1515
- refactor code into testable components (NetworkMonitor, UpdateChecker, UpdateDownloader)
1616
- improve download error recovery with progress preservation
1717
- improve timeout handling (5-minute wait for WiFi with clear messaging)
1818
- Tests: add test infrastructure with mock classes for network, HTTP, and partition operations
1919
- Tests: add graphical test helper utilities for UI verification and screenshot capture
20-
- API: change "display" to mpos.ui.main_display
20+
- API: change 'display' to mpos.ui.main_display
2121
- API: change mpos.ui.th to mpos.ui.task_handler
2222
- waveshare-esp32-s3-touch-lcd-2: power off camera at boot to conserve power
2323
- waveshare-esp32-s3-touch-lcd-2: increase touch screen input clock frequency from 100kHz to 400kHz

0 commit comments

Comments
 (0)