Share

Mock Objects

Tracker: Bugs

5 AssertMo.failNotEquals() has wrong visibility - ID: 1629943
Last Update: Comment added ( nobody )

The com.mockobjects.util.AssertMo.failNotEquals()method is declared as
static protected void. However, since JUnit 3.8.2 (actually, CVS revision
1.19 of Assert), the visibility of junit.framework.Assert.failNotEquals()
has changed from private to public.

This means that the com.mockobjects.util.AssertMo class will not compile
against JUnit 3.8.2.

This needs to be fixed by modifying the visibility of the
AssertMo.failNotEquals() method from protected to public. I have attached a
file with this change made, based on revision 1.3.2.1 of the AssertMo
class.


David Emmett ( davidemmett ) - 2007-01-07 15:51

5

Closed

Wont Fix

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2008-11-28 03:01
Sender: nobody

LkpAOo <a href="http://gradesfozniw.com/">gradesfozniw</a>,
[url=http://ynbvfidklrni.com/]ynbvfidklrni[/url],
[link=http://nswcxowximzu.com/]nswcxowximzu[/link],
http://lhimxsloayvk.com/


Date: 2007-01-07 17:18
Sender: davidemmett


Thanks for the info. I needed it because building groovy on Gentoo Linux
required mockobjects. I've contacted the Java herd at Gentoo and submitted
a patch to them.




Date: 2007-01-07 16:51
Sender: smgfProject Admin


Thanks for your contribution, but this project is pretty much dead. I
suggest you look at jMock or, for assertions, Hamcrest.


Log in to comment.

Attached File ( 1 )

Filename Description Download
AssertMo.java AssertMO Source file with modified visibility Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-01-07 16:51 smgf
resolution_id None 2007-01-07 16:51 smgf
close_date - 2007-01-07 16:51 smgf
File Added 210158: AssertMo.java 2007-01-07 15:51 davidemmett