Philipp von Weitershausen
3065b1ede2
Bug 601973 - SyncEngine._testDecrypt() yields wrong result [r=mconnor]
...
Fix a 'this' scoping error in SyncEngine._testDecrypt(). Rename this method to canDecrypt() since it's clearly public API.
Provide tests for SyncEngine.canDecrypt() as well as Service.wipeClient().
2010-10-05 20:32:56 +02:00
Philipp von Weitershausen
753f9d8d3e
Bug 600995 - Use a record's "encryption" property only as a fallback, default to the engine's value. [r=mconnor]
2010-10-04 22:39:08 +02:00
Philipp von Weitershausen
6d91562b33
Bug 569968 - Migration requires client to remove absolute URLs in crypto records
...
Tests and test fixes
2010-08-12 22:19:41 +02:00
Philipp von Weitershausen
c29a0e55af
Bug 578671 - Sync which engines are enabled across clients, wipe data for disabled engines [r=mconnor]
2010-09-07 18:44:01 +02:00
Philipp von Weitershausen
9a3a4fc823
Bug 584722 - Make test_uploadOutgoing_failed (test_syncengine_sync.js) async [r=mconnor]
2010-08-06 16:55:06 +02:00
Justin Dolske
31c2a0210a
Bug 583949 - Fix leaks in Firefox Sync unit tests
2010-08-02 22:37:13 -07:00
Philipp von Weitershausen
a2466ae2e3
Bug 582083 - Should inspect POST responses for failed WBOs [r=Mardak]
...
Make sure records that failed to upload continue to be marked in the tracker so that they'll be uploaded again in the next sync.
2010-07-31 13:28:00 +02:00
Philipp von Weitershausen
0c89ecd876
Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
...
Explicitly set username pref so that when service.js starts up (which it does after 10s, thanks to Weave.js) it doesn't reset the WeaveID's username to ''.
2010-07-14 18:36:13 +02:00
Philipp von Weitershausen
fc4daed597
Bug 569744 - Delayed loading of service.js causes test failures [r=Mardak]
...
Have FakeCryptoService.generateRandomIV() return 24 bytes so that Weave.Service._checkCrypto() believes it's the real deal. Fix undeclared variable.
2010-06-23 12:36:48 +02:00
Edward Lee
80fc412879
Bug 573679 - Fix tests to pass on trunk
...
Use do_load_httpd_js for xpcshell tests and have consumers directly call new nsHttpServer().
2010-06-22 13:18:10 -07:00
Edward Lee
4e55362a90
Bug 570636 - Decide how to co-exist as a sync add-on and built-in sync [r=mconnor]
...
Map the modules directory to services-sync instead of weave and update imports.
2010-06-16 14:30:08 -07:00
Edward Lee
0d25dd2924
Bug 568677 - Failure to get CryptoMeta assumes it's missing [r=mconnor]
...
Explicitly check the status code to make sure we stop syncing on non-404 crypto meta failures. Add tests to check correct behavior of 404 and non-404 errors during syncStartup.
2010-06-14 15:16:53 -07:00
Philipp von Weitershausen
c0bcc6524a
Bug 570152 - engine.js tests should completely reset preferences [r=mconnor]
...
Switch to resetBranch("") instead of resetting individual prefs.
2010-06-04 16:38:38 +01:00
Edward Lee
4ef8492eaf
Bug 569746 - Test with sync with smaller numbers to speed up testing
...
Reduce test run time (w/ coverage tool) from 25 minutes to 2 minutes while maintaining the same code coverage by processing hundreds instead of thousands of records.
2010-06-02 16:51:48 -07:00
Philipp von Weitershausen
ceaa8fab03
Bug 557588 - code audit and create unit test plan for engines.js [r=mconnor]
...
Tests for SyncEngine.sync(), incl some additions to harness.
2010-06-01 15:07:50 -07:00