FYI: Fix BigDecimalInteger test and make exceptions cause failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FYI: Fix BigDecimalInteger test and make exceptions cause failure

gnu_andrew
This patch amends another of the Scanner tests so it correctly
uses harness.check (so we actually pass some tests).  It also
makes exceptions cause failure as they were being swallowed
by the Base class.

2008-09-01  Andrew John Hughes  <[hidden email]>

        * gnu/testlet/java/util/Scanner/Base.java:
        (test(TestHarness)): Fail if an exception is thrown.
        * gnu/testlet/java/util/Scanner/BigDecimalInteger.java:
        Use harness.check.

--
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

scanner-02.diff (3K) Download Attachment