JiangYongGang / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

EqualsWithGetClassTest won't pass from time to time #418

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
EqualsWithGetClassTest is in the powermock framework, and this class cann't 
pass all the test in juit4. Method 
callingGetClassOnAMockFailsWhenTheCallWasUnexpectedAndMockStandardMethodsIsSet 
is the failure one.
I dig into the code and find MockGateway.MOCK_GET_CLASS_METHOD is still false. 

Original issue reported on code.google.com by cndoublehero@gmail.com on 19 Dec 2012 at 1:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
the file are my patch, please check this out

Original comment by cndoublehero@gmail.com on 19 Dec 2012 at 1:20

Attachments:

GoogleCodeExporter commented 9 years ago
I can confirm that this issue exists.

Original comment by rene.sch...@gmail.com on 17 Jan 2015 at 12:29

GoogleCodeExporter commented 9 years ago
Thanks for the patch but you could please provide the patch as a pull request 
on github instead?

Original comment by johan.ha...@gmail.com on 18 Jan 2015 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 26 Jan 2015 at 11:58