Run on any device, but make sure images from src/androidTest/resources are on the
devices's Downloads
folder:
- IMG_5218.JPG, IMG_5219.JPG and IMG_5220.JPG were taken April 19th, 2019
- IMG_6685.JPG, IMG_6686.JPG and IMG_6687.JPG were taken April 23rd, 2019
After adding images, do a reboot to force a media scan.
(To change the system navigation style: Settings > Accessibility > System controls > System navigation > 3-button navigation)
This document describes a series of tests to perform manually, as the implementation of automated tests seems overly complicated
- move your mouse to where you want the centre of the pinch zoom. (do NOT press the mouse button)
- press SHIFT (do not press the mouse button)
- press CTRL (do not press the mouse button)
- Press left mouse button
- Drag 'n' drop
- Compare image activity
- Pan/zoom sync enabled
- Zoom lower image
- Pan lower image
- Top image is zoomed accordingly
- Top image is panned accordingly
- Run "test case 1" with images "image_landscape.JPG" and "image_portrait.JPG"
- Test case 1 executed
- Page to next image on bottom pager
- Bottom image has zoom and pan adjusted to that of previous image
- Test case 1 executed
- Disable pan/zoom sync
- Pan lower image
- Enable pan/zoom sync
- Pan lower image
- In step (2), top image is not moved at all
- In step (4), top image is panned relative to movement in (4)
- It would be a bug if the top image snaps to mirror the pan movement in step (2)