fune/browser/components/backup/tests
Mike Conley 9dd96ec1eb Bug 1886614 - Write a marionette test for the BackupService.createBackup method. r=backup-reviewers,kpatenio
This test can be run via:

./mach marionette-test browser/components/backup/test/marionette/test_backup.py

This also makes it so that BackupResource.copySqliteDatabases does not throw if
one of the passed in database files doesn't exist - it'll just ignore it and
move on. This required me to update some tests in order to create some fake
SQLite databases to ensure that the fake Sqlite connection was made and the
backup stub was called for the SQLite databases being copied.

Finally, this also fixes something I noticed - some of our BackupResource's
weren't returning null or objects as their ManifestEntry. This fixes that
and adds tests to cover that case.

Differential Revision: https://phabricator.services.mozilla.com/D207811
2024-04-23 02:54:49 +00:00
..
marionette Bug 1886614 - Write a marionette test for the BackupService.createBackup method. r=backup-reviewers,kpatenio 2024-04-23 02:54:49 +00:00
xpcshell Bug 1886614 - Write a marionette test for the BackupService.createBackup method. r=backup-reviewers,kpatenio 2024-04-23 02:54:49 +00:00