Edward Lee
|
6b910e2590
|
Share the logging _ code for tests.
|
2009-08-19 18:01:06 -07:00 |
|
Edward Lee
|
f69797ec49
|
Remove some async related code in head.js.
|
2009-06-09 14:48:49 -05:00 |
|
Myk Melez
|
e54cec2631
|
bug 476539: use a XULRunner-based test harness for unit testing; r=thunder
|
2009-03-20 00:14:21 -07:00 |
|
Dan Mills
|
e94731682b
|
add http js server for unit tests; add tests for resources, auth manager, base weave record types (WBOs, keys, crypto wrappers/crypto meta)
|
2008-11-03 14:41:39 -08:00 |
|
Atul Varma
|
4c44bcd581
|
Fixed a potential bug in Service.login() whereby a user's directory wouldn't be created if it didn't exist (though it would in Service.verifyLogin(), which is only called from the setup wizard).
|
2008-06-30 15:54:15 -07:00 |
|
Atul Varma
|
1b82e736e0
|
Updated test_passphrase_checking
|
2008-06-30 11:54:10 -07:00 |
|
Atul Varma
|
29f7b89a5a
|
Implemented DELETE and listFiles on fake DAV so that test_service doesn't raise an exception.
|
2008-06-26 17:48:39 -07:00 |
|
Atul Varma
|
2bd0a8ac17
|
Refactored some things in the test framework to make tests easier to write, and to make certain things possible to write.
|
2008-06-26 15:01:34 -07:00 |
|
Atul Varma
|
6e8d38ac08
|
Refactored client state-changing functions out of test_bookmark_syncing.js and into head.js, as part of the SyncTestingInfrastructure class, so that other test suites can use them.
|
2008-06-26 11:07:13 -07:00 |
|
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 |
|