- Uninstall OI Safe from emulator or device:
adb uninstall org.openintents.safe
You may want to Backup the database first with Menu->Backup
- Install OI Safe and launch.
In Eclipse: right-click project OI Safe -> Run As -> Android Application
Or if build-private.properties is configured: project OI Safe -> (right-click)
build.xml -> Run As -> Ant Build
-
Launch OI Safe. Should be presented with EULA. Hit Cancel. Application should quit.
-
Launch OI Safe. At EULA, hit Accept. Should be presented with
AskPassword activity asking to create Master Password.
Leave fields empty.
- Hit Continue. Toast should remind user to provide at
least 4 characters of password.
- Type password in Master Password, leave Confirm empty. Hit Continue.
Toast should tell user that passwords do not match.
- Type correct password into Continue field. Hit Continue.
CategoryList should activiate with a dialog letting user know that
they should backup. Hit OK.
- At CategoryList, hit Menu->Add. CategoryEdit should launch.
- Leave blank and hit Save. Toast should complain about being empty.
Provide a name and hit Save. Should fall back to CategoryList with the new
category in the list.
- Long-click the newly created category and hit Delete. Because it's empty
it should disappear from the list.
- Uninstall OI Safe and reinstall. Launch. Instead of providing a new Master
Password, hit Restore. Restore Activity should launch.
- Provide wrong password for oisafe.xml. Hit Restore. Toast should indicate bad password.
- Provide correct password for oisafe.xml. Hit Restore. Dialog should prompt to overwrite
existing data. Hit No. Should drop back. Hit Restore and hit Yes. CategoryList
should launch with restored data.