wallpapers/image: add basic unit test for frontend
This adds 3 tests for the frontend, each with different fill modes and background colors. 1. Load image with the default settings 2. Load image with blur enabled and PreserveAspectFit fill mode 3. Load image with Pad fill mode This uses QQuickItem::grabImage to check the color is coorect in each test case.
parent
a85f5c19
Please register or sign in to comment