Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Mockolate
Conversations
About
Mockolate
Contact owners and managers
1–30 of 69
Mark all as read
Report group
0 selected
John Nyquist
3/18/15
expectation on a partial
I'm setting an expectation on a method of a partial mock, for example atLeast(5) and I know the
unread,
expectation on a partial
I'm setting an expectation on a method of a partial mock, for example atLeast(5) and I know the
3/18/15
John Nyquist
2
11/30/14
prepare strict expect combo erroring out
Ahh, I didn't realize that when you used expect() on mocks made with strict() you needed to do it
unread,
prepare strict expect combo erroring out
Ahh, I didn't realize that when you used expect() on mocks made with strict() you needed to do it
11/30/14
John Nyquist
2
11/19/14
mockolate.org disabled?
I heard back from Drew, he's fixed the issue. On Wednesday, November 19, 2014 6:09:01 AM UTC-7,
unread,
mockolate.org disabled?
I heard back from Drew, he's fixed the issue. On Wednesday, November 19, 2014 6:09:01 AM UTC-7,
11/19/14
John Nyquist
2
11/19/14
expect and anyArgs
It occurred to me I could probably do this (have not tried yet): expect(foo.bar(arg(anything()))); On
unread,
expect and anyArgs
It occurred to me I could probably do this (have not tried yet): expect(foo.bar(arg(anything()))); On
11/19/14
Bert Vandamme
,
Balázs Szántó
2
2/4/14
VerifyError: Error #1053: Illegal override in mockolate.generated
Hi, I have almost the same issue, but the problem appears randomly. Most of the times all the tests
unread,
VerifyError: Error #1053: Illegal override in mockolate.generated
Hi, I have almost the same issue, but the problem appears randomly. Most of the times all the tests
2/4/14
andrei....@vgw.co
1/26/14
Is mockalate dead?
There were no commits in https://github.com/drewbourne/mockolate for two years. Last issue with
unread,
Is mockalate dead?
There were no commits in https://github.com/drewbourne/mockolate for two years. Last issue with
1/26/14
andrei....@vgw.co
1/23/14
Is it possible to mock a class in such way that "new AClass()" returns predefined mock automagically?
Hi, I am trying to unit test method which creates URLLoader() in order to communicate with the server
unread,
Is it possible to mock a class in such way that "new AClass()" returns predefined mock automagically?
Hi, I am trying to unit test method which creates URLLoader() in order to communicate with the server
1/23/14
Alex Bradley
11/27/13
Constraining expectations using states - possible bug?
Hi, I am mocking an object that dispatches changes events when a property changes - when a change
unread,
Constraining expectations using states - possible bug?
Hi, I am mocking an object that dispatches changes events when a property changes - when a change
11/27/13
Daniil Moskovtsov
,
Hob Spillane
4
11/6/13
Refactoring friendly setters/getters.
Also maybe you know the way how to use capturing in refactoring friendly way? eg: mock(model.
unread,
Refactoring friendly setters/getters.
Also maybe you know the way how to use capturing in refactoring friendly way? eg: mock(model.
11/6/13
Daniil Moskovtsov
10/22/13
Mocking a constructor of class.
Hey everyone. I'm trying to solve one problem. I have a class which I want to test and it has
unread,
Mocking a constructor of class.
Hey everyone. I'm trying to solve one problem. I have a class which I want to test and it has
10/22/13
Hadrien TULIPE
,
Hob Spillane
3
6/21/13
Mocking object instanciated inside a method
Thanks Hob, This is more or less what I had in mind. I was a bit reluctant to do so because it means
unread,
Mocking object instanciated inside a method
Thanks Hob, This is more or less what I had in mind. I was a bit reluctant to do so because it means
6/21/13
Joshua Goodson
,
Drew Bourne
2
5/23/13
Mockolate internal issues
I've heard about this a couple of times recently. I'll dig in over the long weekend and see
unread,
Mockolate internal issues
I've heard about this a couple of times recently. I'll dig in over the long weekend and see
5/23/13
Joshua Goodson
5/21/13
Mockolate internal issues
Hey all, I am working with a large set of flex unit tests and we have been experiencing tests that
unread,
Mockolate internal issues
Hey all, I am working with a large set of flex unit tests and we have been experiencing tests that
5/21/13
Robert Kuzelj
, …
Drew Bourne
4
2/28/13
How do I test If a method was called within another method
Robert, Instead of using `nice(Action)` use `partial(Action)`. This will create a mock that will
unread,
How do I test If a method was called within another method
Robert, Instead of using `nice(Action)` use `partial(Action)`. This will create a mock that will
2/28/13
matej matej
,
Drew Bourne
3
12/19/12
Asserting the contents of mocked object argument.
Thank you Drew On Tuesday, December 18, 2012 9:38:10 PM UTC+1, Drew Bourne wrote: 1) Use an
unread,
Asserting the contents of mocked object argument.
Thank you Drew On Tuesday, December 18, 2012 9:38:10 PM UTC+1, Drew Bourne wrote: 1) Use an
12/19/12
Ryan Hanks
, …
Drew Bourne
4
12/12/12
Refactoring-friendly stubbing
Thanks! On Tuesday, December 11, 2012 11:33:11 AM UTC-6, Drew Bourne wrote: Use allow() instead of
unread,
Refactoring-friendly stubbing
Thanks! On Tuesday, December 11, 2012 11:33:11 AM UTC-6, Drew Bourne wrote: Use allow() instead of
12/12/12
Jason G
, …
Ryan Hanks
6
11/27/12
Overriding protected methods
Hey Drew, Thanks for the reply. We're testing our own classes. We're dealing with a system
unread,
Overriding protected methods
Hey Drew, Thanks for the reply. We're testing our own classes. We're dealing with a system
11/27/12
Camille Reynders
,
Drew Bourne
2
11/19/12
expect and allow
You are correct that `expect` is for mocking, and `allow` is for stubbing. Does the mockLoaderFactory
unread,
expect and allow
You are correct that `expect` is for mocking, and `allow` is for stubbing. Does the mockLoaderFactory
11/19/12
Kristopher Schultz
, …
William Madden
5
10/25/12
How to verify that a method was NOT called?
Can't you do expect(ab()).never()? On Friday, 26 October 2012 03:25:11 UTC+11, Drew Bourne wrote:
unread,
How to verify that a method was NOT called?
Can't you do expect(ab()).never()? On Friday, 26 October 2012 03:25:11 UTC+11, Drew Bourne wrote:
10/25/12
Kristopher Schultz
, …
Drew Bourne
3
10/25/12
Specify different return values for multiple identical method calls?
The best way to return a sequence of values is to provide them to the .returns() call, eg: expect(
unread,
Specify different return values for multiple identical method calls?
The best way to return a sequence of values is to provide them to the .returns() call, eg: expect(
10/25/12
Theo
,
Kristopher Schultz
3
10/24/12
Calling the same method with the same arguments but get different results.
This was also driving me crazy, so thank you! Too bad this is buried in the API docs. Really should
unread,
Calling the same method with the same arguments but get different results.
This was also driving me crazy, so thank you! Too bad this is buried in the API docs. Really should
10/24/12
asking
, …
Drew Bourne
7
9/28/12
question on verifying expect() with arguments...
I thought the spy support was in that release. If you build from the source then it's definitely
unread,
question on verifying expect() with arguments...
I thought the spy support was in that release. If you build from the source then it's definitely
9/28/12
NagRock
, …
Theo
9
7/23/12
Mock Spark component
When testing mediators I need to mock their views. What I often do is create a partial mock, it doesn
unread,
Mock Spark component
When testing mediators I need to mock their views. What I often do is create a partial mock, it doesn
7/23/12
NagRock
,
Jeffrey Barrus
2
6/30/12
How to mock when test extends class
It may be a good exercise to consider why you are testing protected methods. There are many
unread,
How to mock when test extends class
It may be a good exercise to consider why you are testing protected methods. There are many
6/30/12
NagRock
6/29/12
How class that my testcase extends
Hi, my test case extends a class that I want to mock. So I can't use nice(MyClass) becouse my
unread,
How class that my testcase extends
Hi, my test case extends a class that I want to mock. So I can't use nice(MyClass) becouse my
6/29/12
Priya
, …
Roland Zwaga
4
5/2/12
How to mock a Auto generated BlazeDS Service
I was able to overcome this using interfaces.Thanks. On Apr 25, 12:45 pm, Drew Bourne <d...@
unread,
How to mock a Auto generated BlazeDS Service
I was able to overcome this using interfaces.Thanks. On Apr 25, 12:45 pm, Drew Bourne <d...@
5/2/12
Ryan Taylor
, …
William Madden
4
4/15/12
Should I create mocked using interfaces or concrete classes when interfaces are available?
That's probably worth publicising somehow. On Monday, 2 April 2012 14:14:38 UTC+10, Drew Bourne
unread,
Should I create mocked using interfaces or concrete classes when interfaces are available?
That's probably worth publicising somehow. On Monday, 2 April 2012 14:14:38 UTC+10, Drew Bourne
4/15/12
William Madden
,
Drew Bourne
3
4/15/12
Mocking Properties
It's unfortunate, but I suppose it's not that bad. I don't think warnings from the mock
unread,
Mocking Properties
It's unfortunate, but I suppose it's not that bad. I don't think warnings from the mock
4/15/12
William Madden
,
Drew Bourne
4
4/13/12
Increase timeout on async tests
Cool, glad that sorted it. cheers, Drew On Fri, Apr 13, 2012 at 1:42 PM, William Madden <wamadden@
unread,
Increase timeout on async tests
Cool, glad that sorted it. cheers, Drew On Fri, Apr 13, 2012 at 1:42 PM, William Madden <wamadden@
4/13/12
Doug Arthur
,
Jeffrey Barrus
2
4/12/12
Mockolate and Maven
What is the issue? I don't think it is any public nexus repo and if it is it is probably old. On
unread,
Mockolate and Maven
What is the issue? I don't think it is any public nexus repo and if it is it is probably old. On
4/12/12