2015-01-03 08:43:53 |
Arto Jalkanen |
description |
Autopilot tests are needed for merge proposal (after it has been approved at least):
https://code.launchpad.net/~ajalkane/ubuntu-filemanager-app/sdcard-support/+merge/245483
Basically the test cases should be something like:
- existing directory under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places
- adding directory under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places
- removing directory under /mount/$USER (for example /mount/$USER/SDCard) will get it removed from Places
Optional (as I'm not sure how easily these can be done):
- If no full access (ie. PIN/password required to view all files), then files inside the SDCard directory can not be seen before unlocking full access.
- If no full access required, then files inside the SDCard directory can be seen. |
Autopilot tests are needed for merge proposal (after it has been approved at least):
https://code.launchpad.net/~ajalkane/ubuntu-filemanager-app/sdcard-support/+merge/245483
Basically the test cases should be something like:
- Existing SDCard that is mounted under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places when FileManager is started.
- Mounting SDCard under /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places when FileManager is running.
- Unmounting SDCard from /mount/$USER (for example /mount/$USER/SDCard) will be displayed in Places
Optional (as I'm not sure how easily these can be done):
- If no full access (ie. PIN/password required to view all files), then files inside the SDCard directory can not be seen before unlocking full access.
- If no full access required, then files inside the SDCard directory can be seen.
If doing real SDCard mounting is not possible, tests can perhaps be written to simulate it for example by mounting and unmounting some directory to the correct path:
# fakesdcarddev and SDCard directories must exist
sudo mount --bind /tmp/fakesdcarddev /media/$USER/SDCard
# Unmounting:
sudo umount /media/$USER/SDCard |
|