]> err.no Git - varnish/commit
Miscellaneous improvements to regression test framework, most notably
authorknutroy <knutroy@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 14 Jun 2007 12:08:15 +0000 (12:08 +0000)
committerknutroy <knutroy@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 14 Jun 2007 12:08:15 +0000 (12:08 +0000)
commit1652cc1d030da8b1890d9b81e7fd20055762a222
tree26fc80eea36c4461e41c43ea6eac459a7f2676aa
parentb639f4911c2543a85f0233b3d27cb9ad7376d895
Miscellaneous improvements to regression test framework, most notably
changes regarding how events are processed. We now state what events
we are waiting for when calling run_loop. The central event dispatcher
monitors this list and decides when to pause the loop. Return value
from run_loop is the event name and whatever arguments were sent by
the event creator, if the event triggered no explicit handler, or
otherwise, the return value(s) from the event handler. If subsequent
events occur between a loop-pausing event and the time the loop
actually pauses, such events are queued and eligible candidates for
return value of the next call to run_loop. This way, events will not
be lost accidentally, which might happen in previous revisions.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1513 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-tools/regress/lib/Varnish/Test.pm
varnish-tools/regress/lib/Varnish/Test/Case.pm
varnish-tools/regress/lib/Varnish/Test/Case/Ticket056.pm
varnish-tools/regress/lib/Varnish/Test/Case/Ticket102.pm
varnish-tools/regress/lib/Varnish/Test/Client.pm
varnish-tools/regress/lib/Varnish/Test/Engine.pm
varnish-tools/regress/lib/Varnish/Test/Varnish.pm