forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| content | ||
| docs | ||
| resources | ||
| tests | ||
| BackupResources.sys.mjs | ||
| BackupService.sys.mjs | ||
| jar.mn | ||
| metrics.yaml | ||
| moz.build | ||