Commit 8c257d0
committed
Add light/dark screenshot tests and references
Split many existing screenshot tests into light and dark variants and add corresponding reference bitmaps. Renamed several reference files to *_dark/_light and added new BMP references for charging, alerts, temps, battery, armed states, ESC disconnected, high power/altitude, etc. Refactored test/test_screenshots.cpp: added new test cases for light/dark modes, alert/temperature scenarios, helpers save_and_compare and render_splash, and improved splash rendering to support dark mode. Tests now generate initial references when missing and save diff images on regression. Binary screenshot files were added/renamed under test/test_screenshots/reference/.1 parent 2cac54a commit 8c257d0
25 files changed
Lines changed: 297 additions & 85 deletions
File tree
- test/test_screenshots
- reference
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments