This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 15616 - Missing methods in junit.framework.Assert
Summary: Missing methods in junit.framework.Assert
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-19 09:52 UTC by Jan Stola
Modified: 2003-07-02 12:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2001-09-19 09:52:43 UTC
It seems that xtest uses its own version
of junit.framework.Assert class. But this
class does NOT contain ALL methods of the original
class from junit 3.6(the version used by xtest).

For example method assertEquals(String, int, int) is omitted
which means that my tests are failing with
java.lang.NoSuchMethodError.
Comment 1 Milan Kubec 2001-09-20 16:08:48 UTC
Yes, it seems that "our" Assert class was based on junit 3.5. There
will be better way of extending Junit, which will allow just plug in
new version.
Comment 2 Milan Kubec 2001-10-10 08:41:24 UTC
Xtest extensions are independent from used version of junit. Current
version of junit is 3.7 now. You can use full set of aserts from junit
3.7 + xtest extensions (assertFile()).
Comment 3 Jan Stola 2001-11-05 14:57:18 UTC
Verified.
Comment 4 Quality Engineering 2003-07-02 12:22:02 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.