keeganwitt / gmock

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

Static closure shortcut #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support for a static closure shortcut like:

def mock = mock(Loader)
mock.static {
 methodA().returns(1)
 methodB(2).returns(2)
}

Original issue reported on code.google.com by julien.g...@gmail.com on 3 Feb 2009 at 6:45

GoogleCodeExporter commented 9 years ago
I would like to push this issue to an earlier release, by preference the 
current release.

Original comment by JohnnyJianHY on 4 Feb 2009 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 4 Feb 2009 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 4 Feb 2009 at 7:40

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 4 Feb 2009 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 5 Feb 2009 at 2:53