You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/11/01 00:20:01 UTC
DO NOT REPLY [Bug 14151] New: -
TestMap.tearDown() should throw Exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14151>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14151
TestMap.tearDown() should throw Exception
Summary: TestMap.tearDown() should throw Exception
Product: Commons
Version: 2.1 Final
Platform: All
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Collections
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: rich@rd.gen.nz
TestMap.tearDown() overrides TestCase.tearDown(). The original method throws an
Exception, however the redeclared method doesn't. This means that methods which
override TestMap.tearDown() cannot throw an Exception. In my case, I'm creating
and removing a test database in the setUp() and tearDown() so an Exception could
easily be thrown.
I realise that TestMap isn't part of Collections' public API, however I thought
I'd mention this in case other people want to reuse your excellent testing code.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>