Added some more visibility to the individual steps of test_passwords.

This commit is contained in:
Atul Varma 2008-06-23 18:01:48 -07:00
Родитель 23901bc549
Коммит c09f48513b
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -97,7 +97,9 @@ function __makeCallback() {
}
function runAndEnsureSuccess(name, func) {
getTestLogger().info("-----------------------------------------");
getTestLogger().info("Step '" + name + "' starting.");
getTestLogger().info("-----------------------------------------");
func(__makeCallback());
while (fts.processCallback()) {}
do_check_true(callbackCalled);

Просмотреть файл

@ -1,5 +1,7 @@
*** test pending
Testing INFO -----------------------------------------
Testing INFO Step 'initial sync' starting.
Testing INFO -----------------------------------------
Service.PasswordEngine INFO Beginning sync
Testing INFO HTTP MKCOL on user-data/passwords/
Service.RemoteStore DEBUG Downloading status file
@ -26,7 +28,9 @@ Service.SnapStore INFO Saving snapshot to disk
Testing INFO Opening 'weave/snapshots/passwords.json' for writing.
Testing INFO Writing data to local file 'weave/snapshots/passwords.json': {"version":0,"GUID":"fake-guid-0","snapshot":{"805ec58eb8dcded602999967e139be21acd0f194":{"hostname":"www.boogle.com","formSubmitURL":"http://www.boogle.com/search","httpRealm":"","username":"","password":"","usernameField":"test_person","passwordField":"test_password"}}}
Testing INFO Step 'initial sync' succeeded.
Testing INFO -----------------------------------------
Testing INFO Step 'trivial re-sync' starting.
Testing INFO -----------------------------------------
Testing INFO Opening 'weave/snapshots/passwords.json' for reading.
Testing INFO Reading from stream.
Service.SnapStore INFO Read saved snapshot from disk
@ -43,7 +47,9 @@ Service.RemoteStore DEBUG Using last sync snapshot as server snapshot (snap vers
Service.RemoteStore TRACE Local snapshot version == server maxVersion
Service.PasswordEngine INFO Sync complete: no changes needed on client or server
Testing INFO Step 'trivial re-sync' succeeded.
Testing INFO -----------------------------------------
Testing INFO Step 'add user and re-sync' starting.
Testing INFO -----------------------------------------
Testing INFO Opening 'weave/snapshots/passwords.json' for reading.
Testing INFO Reading from stream.
Service.SnapStore INFO Read saved snapshot from disk
@ -86,7 +92,9 @@ Testing INFO Opening 'weave/snapshots/passwords.json' for writing.
Testing INFO Writing data to local file 'weave/snapshots/passwords.json': {"version":1,"GUID":"fake-guid-0","snapshot":{"805ec58eb8dcded602999967e139be21acd0f194":{"hostname":"www.boogle.com","formSubmitURL":"http://www.boogle.com/search","httpRealm":"","username":"","password":"","usernameField":"test_person","passwordField":"test_password"},"1b3869fc36234b39cd354f661ed1d7d148394ca3":{"hostname":"www.yoogle.com","formSubmitURL":"http://www.yoogle.com/search","httpRealm":"","username":"","password":"","usernameField":"test_person2","passwordField":"test_password2"}}}
Service.PasswordEngine INFO Sync complete
Testing INFO Step 'add user and re-sync' succeeded.
Testing INFO -----------------------------------------
Testing INFO Step 'remove user and re-sync' starting.
Testing INFO -----------------------------------------
Testing INFO Opening 'weave/snapshots/passwords.json' for reading.
Testing INFO Reading from stream.
Service.SnapStore INFO Read saved snapshot from disk
@ -129,7 +137,9 @@ Testing INFO Opening 'weave/snapshots/passwords.json' for writing.
Testing INFO Writing data to local file 'weave/snapshots/passwords.json': {"version":2,"GUID":"fake-guid-0","snapshot":{"805ec58eb8dcded602999967e139be21acd0f194":{"hostname":"www.boogle.com","formSubmitURL":"http://www.boogle.com/search","httpRealm":"","username":"","password":"","usernameField":"test_person","passwordField":"test_password"}}}
Service.PasswordEngine INFO Sync complete
Testing INFO Step 'remove user and re-sync' succeeded.
Testing INFO -----------------------------------------
Testing INFO Step 'resync on second computer' starting.
Testing INFO -----------------------------------------
Service.PasswordEngine INFO Beginning sync
Testing INFO HTTP MKCOL on user-data/passwords/
Service.RemoteStore DEBUG Downloading status file