-
Notifications
You must be signed in to change notification settings - Fork 334
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
Replace maxDiscarded with maxDiscardedFactor, to make more consistent with ScalaCheck #428
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flicken
force-pushed
the
max-discarded-ratio
branch
2 times, most recently
from
November 8, 2014 00:29
e33488f
to
6fd2084
Compare
flicken
changed the title
Replace maxDiscarded with maxDiscardRatio, to make more consistent with ScalaCheck
Replace maxDiscarded with maxDiscardFactor, to make more consistent with ScalaCheck
Nov 8, 2014
flicken
changed the title
Replace maxDiscarded with maxDiscardFactor, to make more consistent with ScalaCheck
Replace maxDiscarded with maxDiscardedFactor, to make more consistent with ScalaCheck
Nov 8, 2014
flicken
force-pushed
the
max-discarded-ratio
branch
from
November 8, 2014 01:31
6fd2084
to
70c9e90
Compare
flicken
force-pushed
the
max-discarded-ratio
branch
2 times, most recently
from
November 16, 2014 15:57
ff9a1f4
to
a80be7f
Compare
flicken
force-pushed
the
max-discarded-ratio
branch
2 times, most recently
from
November 26, 2014 04:29
b52e2f9
to
2de10b6
Compare
flicken
force-pushed
the
max-discarded-ratio
branch
8 times, most recently
from
December 5, 2014 22:41
5bded57
to
b1278e8
Compare
flicken
force-pushed
the
max-discarded-ratio
branch
from
December 8, 2014 23:47
d185c01
to
5904796
Compare
…ertyCheckConfig. (Uses PosX.from factory methods, because "you cannot use macro implementations in the same compilation run that defines them". If scalactic were in a separate compile, this would go away.)
Ensure all references to PropertyCheckConfig -> PropertyCheckConfiguration and update documentation. Add SizeRange and sizeRange, deprecating MaxSize and maxSize. Use private[scalatest] fields for legacy param values. Separate out PropertyCheckConfigurationHelperSuite.
TODO: Try to find a smoother upgrade path---compile errors would likely not indicate to a user that this change was required. Example error message: [error] /Users/broberts/Documents/workspace/scalatest/gentests/GenGen/target/scala-2.11/src_managed/test/scala/gengen/GeneratorDrivenPropertyChecksMixinSuite.scala:702: could not find implicit value for parameter config: GeneratorDrivenPropertyChecksMixinSuite.this.PropertyCheckConfiguration [error] forAll { (a: String) => [error] ^
…> PropertyCheckConfiguration change. See ConfigImplicitOverrideInClassTest.
…iguration and deprecated PropertyCheckConfig. This allows more seamless upgrades. See fixed ConfigImplicitOverrideInClassTest for an example where this is necessary.
flicken
force-pushed
the
max-discarded-ratio
branch
from
December 15, 2014 19:03
5904796
to
368f308
Compare
… to scalactic-macros project being separated out in scalatest#457
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ScalaCheck changed maxDiscarded to maxDiscardRatio. ScalaTest should follow, see: typelevel/scalacheck#11