Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.8.0 #93

Merged
merged 9 commits into from
Oct 13, 2016
Merged

Release 0.8.0 #93

merged 9 commits into from
Oct 13, 2016

Conversation

nhaarman
Copy link
Collaborator

@nhaarman nhaarman commented Oct 13, 2016

desilvai and others added 9 commits October 13, 2016 13:19
This includes a check for whether the resource file
containing 'mock-maker-inline' is present to
determine whether or not a class is mockable.
It also adds an instanceof check before trying to
cast an unchecked mock to a MockAccess object.
Added doThrow methods to OngoingStubbing
The capture { } method's behavior did not match
the Java behavior.
For capturing single values, use one of the following:

 - argThat(T.() -> Boolean)
 - argForWhich(T.() -> Boolean)
 - check((T) -> Unit)

For capturing multiple values, use `argumentCaptor()` in
the traditional Java way.
Use the java class' name to create an array instance
@nhaarman nhaarman merged commit 5878bbe into master Oct 13, 2016
@nhaarman nhaarman deleted the release-0.8.0 branch October 13, 2016 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants