keeganwitt / gmock

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

Support cross usage of property mocking #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support for:

def mock = mock()
mock.something.sets(1)
play {
  mock.setSomething(1)
}

// and

def mock = mock()
mock.getSomething().returns(1)
play {
  assertEquals 1, mock.something
}

Original issue reported on code.google.com by JohnnyJianHY on 12 Nov 2008 at 8:27

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 16 Nov 2008 at 6:24

GoogleCodeExporter commented 9 years ago
Release 0.6 feel a bit empty - let's move the issue there.

Original comment by julien.g...@gmail.com on 16 Nov 2008 at 6:56

GoogleCodeExporter commented 9 years ago
(starting it to reserve on task...)

Original comment by julien.g...@gmail.com on 27 Jan 2009 at 7:36

GoogleCodeExporter commented 9 years ago
Actually, I have finished this task today, and I am sorry that I have not 
marked it
started as I have not got a network at that time.

If you haven't started the work, maybe I can commit the changes ;)

Original comment by JohnnyJianHY on 27 Jan 2009 at 1:27

GoogleCodeExporter commented 9 years ago
No I haven't started it. I was trying to reserve something for the weekend ;)

Original comment by julien.g...@gmail.com on 27 Jan 2009 at 6:36

GoogleCodeExporter commented 9 years ago
Aha, don't you know I am on winter vacation now :)

Original comment by JohnnyJianHY on 28 Jan 2009 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 28 Jan 2009 at 2:06