Anant Narayanan
|
6dde744f06
|
Update tests to reflect changes in store/syncCore methods
|
2008-06-30 12:31:02 -07:00 |
|
Justin Dolske
|
74d8b0e43a
|
Partial bustage fix: test was broken, is now less broken but still fails.
|
2008-06-29 16:46:59 -07:00 |
|
Atul Varma
|
f9ab00520c
|
Separated test_passwords into itself, which contains pure unit tests, and test_password_syncing, which contains a suite that's more along the lines of a system test, though still with plenty of stuff faked-out. fake_login_manager.js contains code shared between the two suites.
--HG--
rename : services/sync/tests/unit/test_passwords.log.expected => services/sync/tests/unit/test_password_syncing.log.expected
|
2008-06-23 21:21:40 -07:00 |
|
Atul Varma
|
0258487f7a
|
Refactored stuff out of test_passwords and into head.js to make creating new sync tests for different engines easier.
|
2008-06-23 20:57:10 -07:00 |
|
Atul Varma
|
088eeebfd3
|
Added some more visibility to the individual steps of test_passwords.
|
2008-06-23 18:01:48 -07:00 |
|
Justin Dolske
|
6ed3755104
|
Bug 433949 - Use WeaveCrypto component (NSS) instead of OpenSSL
|
2008-06-23 16:23:57 -07:00 |
|
Atul Varma
|
ed6f207586
|
Added 'resync on second computer' step to test_passwords.
|
2008-06-23 14:45:58 -07:00 |
|
Atul Varma
|
cd6f3ef8d3
|
Moved the FakeGUIDService from test_passwords.js to head.js.
|
2008-06-23 14:13:46 -07:00 |
|
Atul Varma
|
9baa177ade
|
A tiny bit more refactoring to test_passwords.
|
2008-06-20 18:36:33 -07:00 |
|
Atul Varma
|
7e429a9eba
|
Fake GUID generator now provides a different yet deterministic GUID upon each invocation.
|
2008-06-20 18:25:21 -07:00 |
|
Atul Varma
|
fd24f3706a
|
test_passwords now also removes a user after doing everything else.
|
2008-06-20 18:04:59 -07:00 |
|
Atul Varma
|
01b47a4865
|
Factored out the fake filesystem related functions in test_passwords.js into a FakeFilesystemService class in head.js.
|
2008-06-20 17:47:32 -07:00 |
|
Atul Varma
|
0d27ee6f89
|
Refactored test_passwords to make it more modular and readable, changed the formatting of some log messages to be more descriptive.
|
2008-06-20 15:39:07 -07:00 |
|
Atul Varma
|
4c78f8d170
|
Improved test_passwords so that it syncs, re-syncs, adds a new user, and re-syncs again.
Fixed a strict warning in engines.js.
|
2008-06-20 14:22:06 -07:00 |
|
Atul Varma
|
4e39258260
|
Made the tracking of async generators/coroutines more robust for debugging purposes.
Refactored code in syncCores.js to use Utils.makeTimerForCall().
Improved test_passwords to perform an additional sync after the initial one.
|
2008-06-20 13:58:56 -07:00 |
|
Atul Varma
|
a39acd2449
|
Added an expected-log for the passwords sync engine unit test.
|
2008-06-20 12:39:50 -07:00 |
|
Atul Varma
|
32c7be2a6f
|
Changed log level in a unit test.
|
2008-06-20 12:24:02 -07:00 |
|
Atul Varma
|
ea744597ab
|
Modified the way logging works in unit testing; fake testing components now log as part of the 'Testing' logger instead of the root logger.
|
2008-06-19 17:04:04 -07:00 |
|
Atul Varma
|
93520a6e78
|
Added more fake prefs to the password test to eliminate strict warnings, added logging code to identity.js to aid in debugging.
|
2008-06-19 16:03:42 -07:00 |
|
Atul Varma
|
6046183cfa
|
Finished test_passwords.js, although it raises a number of strict warnings.
|
2008-06-18 18:08:33 -07:00 |
|
Atul Varma
|
251f02b0f0
|
test_passwords.js now performs a fake sync, but I ran into an issue that may be a bug in remote.js.
|
2008-06-18 17:28:28 -07:00 |
|
Atul Varma
|
30046913d8
|
Refactored some file operations into a new function in Utils and out of engines.js.
|
2008-06-18 14:12:24 -07:00 |
|
Atul Varma
|
22a628bfea
|
Moved XPCOM-specific stuff from engines/passwords.js to util.js so they could be easily stubbed-out by unit tests.
|
2008-06-18 11:54:24 -07:00 |
|
Atul Varma
|
394167a10a
|
Added a unit test suite for modules/async.js.
|
2008-06-06 21:40:30 -07:00 |
|
Atul Varma
|
d3d41cc696
|
Added a basic testing suite for engines/passwords.js. It currently only tests _hashLoginInfo() and PasswordSyncCore._itemExists().
|
2008-06-03 18:37:36 -07:00 |
|