diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-11-05 16:52:24 +0100 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-11-06 10:00:06 +0100 |
commit | 790ddb2983bce01d2d0b5b1049d5576fa0c136a8 (patch) | |
tree | b15de385044a2f9de8eff812f8b1d1653958b58d /org.eclipse.jgit.test/exttst | |
parent | 00235c77d6e636aac5896f0b1e76b1e43e84410f (diff) | |
download | jgit-790ddb2983bce01d2d0b5b1049d5576fa0c136a8.tar.gz jgit-790ddb2983bce01d2d0b5b1049d5576fa0c136a8.zip |
Don't throw away the stack trace when tests fail
Most unexpected exceptions are completely useless yielding message
like "null" or "3" or in the best cases something reasonable, but
still out of context.
Just declare the test as throwing an exception. That will retain
the full stack trace leading to the point of failure without using
a debugger or changing the code.
Change-Id: Id2454d328d1aa665606ae002de2c3805fe7baa8e
Diffstat (limited to 'org.eclipse.jgit.test/exttst')
0 files changed, 0 insertions, 0 deletions