-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Drop the timer in Ultimately for an Executor Change the behaviour of Ultimately to spawn a single daemon thread for handling dispatching of futures. * Move ulimately scheduler to object * Added a type annotation for clarity in Ultimately and added a tolerance to an UltimatelySpec test to reduce the likelihood of flicker. * Get NonEmptyArray and its tests to compile in scala 2.10. * Removed the use of deprecated getStackTraceString in FuturesSpec. * Enhanced README.md to include instruction to build and publish for Scala 2.13. * Changed default scala version to 2.11.11. * Fixed occasionally failing tests in PosIntSpec and PosZIntSpec when tests run under scala 2.10, which is caused by range size cannot be more than Int.MaxValue, added code to make sure the limit is not violated in the test. * Fixed stack depth problem in RefSpecLike and fixture.SpecLike under Scala 2.12 and 2.13. * Removed special treatment of validating method for scala 2.12. * Extends special handle of Predef string printing to scala 2.13 in RequirementsSpec.scala. * Extends special handle of Predef string printing to scala 2.13 in AssertionsSpec.scala. * Make source compatible to build with Scala 2.10, 2.11, 2.12 and 2.13.0-M2. Conflicts: project/build.properties project/plugins.sbt project/scalatest.scala * Fixed failing tests in NegIntSpec, NegZIntSpec and NonZeroIntSpec when built under Scala 2.10. * Fixed failing tests in PosIntSpec and PosZIntSpec when built under Scala 2.10. * Make examples.js runnable by not copying examples that use java.io.File when generating examples.js. * Make source compatible to build with Scala 2.10, 2.11, 2.12 and 2.13.0-M2. * In travis, bumped up scala versions, removed jdk7 build, added add-on to install jdk6, make builds for scala 2.10 and 2.11 to use jdk6 and 2.12 to use jdk8. * Added dist: trusty and change sudo value to required. * Got the right set of external dependencies version to get genRegularTests5 passes. * Got genRegularTests5 to work again. * Increased stack size to 10M in travis_build.sh. * Changed JVM_OPTS to SBT_OPTS in travis_build.sh. * Added scala 2.13.0-M2 to travis build. * Fixed genInspectorsShorthandsTests2 problem when runs under scala 2.13.0-M2. * Added scala version to gentests shared settings. * Make sure compile in travis is using 10M stack size. * Rewritten time limited examples to be scala-js friendly. * Changed back sudo to false in .travis.yml, trying to fix some test in the matrix failed before it started problem. * Changed to use scala 2.12.4 as default scala version. * Changed getJavaHome in build to throw error when Java 6 is not used to build for Scala 2.10 and 2.11. * Updated .travis.yml and README.md to use scala 2.12.4. * Commentted out SbtCommandParser, which we currently doesn't support, to get rid of combinator parser dependency that it brought in. * Should exclude scala 2.12.4 not 2.12.3 in travis. * Made scalactic and scalatest project to generate scala source directly under sourceManaged root, making them friendlier to IDE. * Work in progress fixing sourceManaged problem for GenRegularTests. * Fixed sourceManaged up to must matchers tests generators. * Fixed sourceManaged problem for all generated tests. * Completed fixing remaining projects for sourceManaged. * Exclude Ultimately from scalatest-js. * Adjusted command to run generated tests in README.md. (cherry picked from commit 3803aae) * Make generators to generate files only when necessary. (cherry picked from commit 68d9c29) Conflicts: project/GenTable.scala * Made all test generators and scala-js generators to generate files only when necessary, completed this behavior now. (cherry picked from commit a996db8) * Fixed Tolerance related failing tests.
- Loading branch information
Showing
65 changed files
with
2,798 additions
and
2,174 deletions.
There are no files selected for viewing
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
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
20 changes: 20 additions & 0 deletions
20
common-test/src/main/scala/org/scalatest/CompatParColls.scala
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.scalatest | ||
|
||
/** | ||
* This compatibility workaround is taken from https://github.com/scala/scala-parallel-collections/issues/22 | ||
*/ | ||
private[org] object CompatParColls { | ||
val Converters = { | ||
import Compat._ | ||
|
||
{ | ||
import scala.collection.parallel._ | ||
|
||
CollectionConverters | ||
} | ||
} | ||
|
||
object Compat { | ||
object CollectionConverters | ||
} | ||
} |
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
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
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
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
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
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
Oops, something went wrong.