Atul Varma
|
b5dc3b878a
|
Added a really, really basic sync test for bookmarks.
|
2008-06-24 16:55:56 -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 |
|
Justin Dolske
|
6ed3755104
|
Bug 433949 - Use WeaveCrypto component (NSS) instead of OpenSSL
|
2008-06-23 16:23:57 -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
|
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
|
2f9945b9d3
|
Added more informative output for fake DAV, so that log-based tests are both more self-documenting re: Weave's behavior and serve as more robust test cases.
|
2008-06-20 12:49:25 -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
|
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
|
7829070424
|
Refactoring; moved code out of test_service.js and into unit/head.js for use by other tests.
|
2008-06-18 16:51:54 -07:00 |
|
Atul Varma
|
459e94fa97
|
Factored out fake-timer code into a separate class and moved it to head.js.
|
2008-06-16 16:42:32 -07:00 |
|
Atul Varma
|
de38af3819
|
Refactored head.js for unit tests so that we now have an 'initTestLogging()' function.
|
2008-06-16 16:22:00 -07:00 |
|
Atul Varma
|
2675855ed4
|
Defined Cu -> Components.utils in head.js so that test files don't have to put it in as boilerplate.
|
2008-06-16 14:06:05 -07:00 |
|
Atul Varma
|
9c1413e024
|
Factored out all the logging+async setup code from test_sharing.js into a new global function, makeAsyncTestRunner(), which turns an async.js-style generator into a unit test.
|
2008-06-09 20:51:23 -07:00 |
|
Atul Varma
|
394167a10a
|
Added a unit test suite for modules/async.js.
|
2008-06-06 21:40:30 -07:00 |
|
Dan Mills
|
d205f55def
|
add a simple unit test harness based on xpcshell; add two tests for PBE and to load all the modules; add some hacks to the component's makefile to make tests work correctly
|
2008-04-30 13:01:17 -07:00 |
|