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

Introduce instance creators. #23

Merged
merged 4 commits into from
Jun 1, 2016
Merged

Introduce instance creators. #23

merged 4 commits into from
Jun 1, 2016

Conversation

nhaarman
Copy link
Collaborator

These are functions () -> T that are invoked when
an instance of T is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.

@nhaarman nhaarman force-pushed the instance-creators branch from cdc3e8e to d010dd1 Compare March 19, 2016 09:57
@nhaarman nhaarman force-pushed the instance-creators branch 2 times, most recently from 1bb058c to 0bff4f7 Compare April 17, 2016 10:10
nhaarman added 4 commits May 14, 2016 16:16
These are functions `() -> T` that are invoked when
an instance of `T` is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.
This ensures that ordering of tests does not influence
the initialization of the instance creators, assuming
this is done in the setup phase of the test.
@nhaarman nhaarman force-pushed the instance-creators branch from 0bff4f7 to f765a31 Compare June 1, 2016 13:40
@nhaarman nhaarman merged commit aa49bde into dev Jun 1, 2016
@nhaarman nhaarman deleted the instance-creators branch June 1, 2016 13:43
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.

1 participant