gecko/services/sync/tests/unit
Edward Lee 3b4aa0220d Bug 550627 - Default reconciliation to server wins for older changed items [r=mconnor]
Save the time the tracker adds a new changed id and use that to compare the age of the record on the server vs the age of the local change to decide if it's server wins or client wins. Fix up various direct uses of changedIDs to use the API and make the save-to-disk lazy to avoid excessive writes. Add a test to make sure addChangedID only increases in time.
2010-04-01 15:54:53 -07:00
..
attic move non-working unit tests into subfolders so that 'make' works again. the non-working tests will need some major re-writing due to the move away from webdav 2008-12-02 16:48:07 -08:00
need-work move password tests to need-work because they've been broken for a year 2009-07-16 11:51:10 -04:00
bookmark_setup.js Share the logging _ code for tests. 2009-08-19 18:01:06 -07:00
fake_login_manager.js Bug 482178 - Clean up services -> lazy services. r=thunder 2009-03-10 06:30:30 -05:00
head_first.js Bug 552134 - Ensure that keyring/symmetric key haven't been tampered with [r=mconnor] 2010-03-25 19:23:44 -07:00
head_http_server.js bug 476539: use a XULRunner-based test harness for unit testing; r=thunder 2009-03-20 00:14:21 -07:00
Makefile WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
test_auth_manager.js Bug 511746 - Resource.foo shouldn't throw except in exceptional cases. r=thunder 2009-08-26 15:32:46 -07:00
test_bookmark_batch_fail.js Bug 512457 - Report errors before they get eaten up by runInBatchMode 2009-08-31 16:28:00 -07:00
test_bookmark_order.js Add tests to make sure bookmarks are in the right position after creating/updating. 2009-08-19 18:15:12 -07:00
test_bookmark_predecessor.js Update predecessor test to additionally test unsorted bookmark predecessors. 2009-10-13 21:07:32 -07:00
test_clients_escape.js Bug 552134 - Ensure that keyring/symmetric key haven't been tampered with [r=mconnor] 2010-03-25 19:23:44 -07:00
test_collection_inc_get.js Bug 547048 - Only allow clients to issue delete records [r=mconnor] 2010-03-16 16:31:56 -07:00
test_crypto_crypt.js Fix crypto component to not mangle certain strings when doing 8/16 bit character conversion. 2008-06-29 20:51:22 -07:00
test_crypto_keypair.js Bug 433949 - Use WeaveCrypto component (NSS) instead of OpenSSL 2008-06-23 16:23:57 -07:00
test_crypto_random.js Bug 433949 - Use WeaveCrypto component (NSS) instead of OpenSSL 2008-06-23 16:23:57 -07:00
test_crypto_rewrap.js Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
test_crypto_verify.js Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
test_engine_lastSync.js Bug 493816 - Timestamps need to be saved as string prefs 2009-06-16 17:22:59 -07:00
test_load_modules.js Bug 548066 - JavaScript strict warning: clientData.js, line 194: reference to undefined property this.clients[id] [r=mconnor] 2010-03-16 16:39:08 -07:00
test_log4moz.js bug 467085 log4moz updateParents messed up, doesn't support multilevel parenting properly, r=thunder 2008-12-02 21:42:20 +05:30
test_notifications.js If an exception is raised by a notification button callback, it is now logged. Also added a unit test for this new behavior. 2008-07-08 16:50:59 -07:00
test_records_crypto.js Bug 552134 - Ensure that keyring/symmetric key haven't been tampered with [r=mconnor] 2010-03-25 19:23:44 -07:00
test_records_cryptometa.js Bug 552134 - Ensure that keyring/symmetric key haven't been tampered with [r=mconnor] 2010-03-25 19:23:44 -07:00
test_records_keys.js Bug 511746 - Resource.foo shouldn't throw except in exceptional cases. r=thunder 2009-08-26 15:32:46 -07:00
test_records_wbo.js Bug 511746 - Resource.foo shouldn't throw except in exceptional cases. r=thunder 2009-08-26 15:32:46 -07:00
test_resource.js Bug 511746 - Resource.foo shouldn't throw except in exceptional cases. r=thunder 2009-08-26 15:32:46 -07:00
test_tracker_addChanged.js Bug 550627 - Default reconciliation to server wins for older changed items [r=mconnor] 2010-04-01 15:54:53 -07:00
test_utils_deepEquals.js Share the logging _ code for tests. 2009-08-19 18:01:06 -07:00