keeganwitt / gmock

Automatically exported from code.google.com/p/gmock
6 stars 2 forks source link

Get rid of the dependency of junit #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is only one place depending on junit at source level of gmock: 
InternalMockController line 171, junit.framework.Assert.fail().

It doesn't make any sense to throw a junit exception while using testng. And I 
think it is a good idea to throw an exception of gmock's own.

Original issue reported on code.google.com by JohnnyJianHY on 18 Dec 2011 at 9:22

GoogleCodeExporter commented 8 years ago
We can just use java.lang.AssertionError. Any objection?

Original comment by JohnnyJianHY on 19 Dec 2011 at 2:45

GoogleCodeExporter commented 8 years ago
Yes. Make sense.

Original comment by julien.g...@gmail.com on 19 Dec 2011 at 8:43

GoogleCodeExporter commented 8 years ago

Original comment by JohnnyJianHY on 19 Dec 2011 at 8:54

GoogleCodeExporter commented 8 years ago

Original comment by JohnnyJianHY on 19 Dec 2011 at 9:12