[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Add diagnostic output to svnversion_tests.py

From: <kfogel_at_collab.net>
Date: 2003-08-05 18:18:47 CEST

Erik Hülsmann <e.huelsmann@gmx.net> writes:
> Actually, my first design was like that, but then I looked at the tests
> which use the run_and_verify_* api for testing subversion calls and
> I discovered that the error is thrown by the calling test, not by
> within the api.

Not all of the tests have been fully converted over to the new
exception system (for example, I was just noticing in update_tests.py
that they explictly return 1 if sbox.build() fails, when they really
should just let sbox.build() throw an exception).

So take what you see in the tests with a grain of salt. If your
callee throws an exception the way you expect, then you should depend
on that, even if other example code doesn't seem to do this.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 5 18:58:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.