Closed Bug 1174119 Opened 9 years ago Closed 6 years ago

Extend testHomeProvider to test migration in upgradeDatabase()

Categories

(Firefox for Android Graveyard :: Testing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sebastian, Unassigned)

References

Details

HomeProvider.jsm contains code to migrate the database from version 1 to 2 and from version 2 to 3 (for version 3 see bug 1157539). This code should be tested in testHomeProvider to ensure that the migration path does not break.

Idea: Create v1 database, run migration code and check that the result is the same as creating the database from scratch using the latest schema.
Unfortunately upgradeDatabase() of HomeProvider.jsm can't be accessed from testHomeProvider.js.
Blocks: home-panel-addons
No longer blocks: home-panels
Mass closing Firefox for Android :: Testing bugs with no progress in 2017.

If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.