Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

moves all tests into a "tests" submodule #187

Merged
merged 1 commit into from

2 participants

@larsrh
Collaborator

I checked that all tests are still being executed.

I didn't move the macro tests, because they don't depend on anything from core.

@non non merged commit 15e38aa into from
@larsrh larsrh deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 22, 2014
  1. @larsrh
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 5 deletions.
  1. +15 −3 project/Build.scala
  2. 0  {core → tests}/src/test/scala/spire/CforTest.scala
  3. 0  {core → tests}/src/test/scala/spire/SyntaxTest.scala
  4. 0  {core → tests}/src/test/scala/spire/algebra/GCDTest.scala
  5. 0  {core → tests}/src/test/scala/spire/algebra/NRootTest.scala
  6. 0  {core → tests}/src/test/scala/spire/algebra/RingTest.scala
  7. 0  {core → tests}/src/test/scala/spire/algebra/SignedTest.scala
  8. +0 −2  {scalacheck-binding → tests}/src/test/scala/spire/laws/LawTests.scala
  9. 0  {core → tests}/src/test/scala/spire/math/AlgebraicTest.scala
  10. 0  {core → tests}/src/test/scala/spire/math/ArbitrarySupport.scala
  11. 0  {core → tests}/src/test/scala/spire/math/BitStringTest.scala
  12. 0  {core → tests}/src/test/scala/spire/math/ComplexCheck.scala
  13. 0  {core → tests}/src/test/scala/spire/math/ComplexTest.scala
  14. 0  {core → tests}/src/test/scala/spire/math/CooperativeEqualityTest.scala
  15. 0  {core → tests}/src/test/scala/spire/math/FixedPointCheck.scala
  16. 0  {core → tests}/src/test/scala/spire/math/IntervalTest.scala
  17. 0  {core → tests}/src/test/scala/spire/math/LiteralsTest.scala
  18. 0  {core → tests}/src/test/scala/spire/math/NaturalTest.scala
  19. 0  {core → tests}/src/test/scala/spire/math/NumberTest.scala
  20. 0  {core → tests}/src/test/scala/spire/math/NumericTest.scala
  21. 0  {core → tests}/src/test/scala/spire/math/PackageCheck.scala
  22. 0  {core → tests}/src/test/scala/spire/math/PackageTest.scala
  23. 0  {core → tests}/src/test/scala/spire/math/PolynomialSamplingCheck.scala
  24. 0  {core → tests}/src/test/scala/spire/math/PolynomialTest.scala
  25. 0  {core → tests}/src/test/scala/spire/math/QuaternionCheck.scala
  26. 0  {core → tests}/src/test/scala/spire/math/RationalCheck.scala
  27. 0  {core → tests}/src/test/scala/spire/math/RationalTest.scala
  28. 0  {core → tests}/src/test/scala/spire/math/RealCheck.scala
  29. 0  {core → tests}/src/test/scala/spire/math/SafeLongTest.scala
  30. 0  {core → tests}/src/test/scala/spire/math/SearchTest.scala
  31. 0  {core → tests}/src/test/scala/spire/math/SelectionTest.scala
  32. 0  {core → tests}/src/test/scala/spire/math/SortingTest.scala
  33. 0  {core → tests}/src/test/scala/spire/math/TrigTest.scala
  34. 0  {core → tests}/src/test/scala/spire/math/TypeclassExistenceTest.scala
  35. 0  {core → tests}/src/test/scala/spire/math/UnsignedTest.scala
  36. 0  {core → tests}/src/test/scala/spire/math/fpf/FPFilterTest.scala
  37. 0  {core → tests}/src/test/scala/spire/math/fpf/MaybeDoubleTest.scala
  38. 0  {core → tests}/src/test/scala/spire/math/prime/FactorsCheck.scala
  39. 0  {core → tests}/src/test/scala/spire/math/real/BubbleUpDivsTest.scala
  40. 0  {core → tests}/src/test/scala/spire/random/GaussianTest.scala
  41. 0  {core → tests}/src/test/scala/spire/random/GeneratorTest.scala
  42. 0  {core → tests}/src/test/scala/spire/random/SamplingTest.scala
  43. 0  {core → tests}/src/test/scala/spire/random/ShufflingTest.scala
  44. 0  {core → tests}/src/test/scala/spire/util/PackCheck.scala
View
18 project/Build.scala
@@ -113,13 +113,13 @@ object MyBuild extends Build {
// Main
lazy val spire = Project("spire", file(".")).
- aggregate(macros, core, examples, scalacheckBinding, benchmark).
+ aggregate(macros, core, examples, scalacheckBinding, tests, benchmark).
settings(spireSettings: _*)
lazy val spireSettings = Seq(
name := "spire-aggregate"
) ++ noPublish ++ unidocSettings ++ Seq(
- excludedProjects in unidoc in ScalaUnidoc ++= Seq("examples", "benchmark")
+ excludedProjects in unidoc in ScalaUnidoc ++= Seq("examples", "benchmark", "tests")
) ++ releaseSettings ++ Seq(
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
@@ -200,11 +200,23 @@ object MyBuild extends Build {
name := "spire-scalacheck-binding",
libraryDependencies ++= Seq(
"org.typelevel" %% "discipline" % "0.1",
- scalaTest % "test",
scalaCheck
)
)
+ // Tests
+
+ lazy val tests = Project("tests", file("tests")).
+ settings(testsSettings: _*).
+ dependsOn(core, scalacheckBinding)
+
+ lazy val testsSettings = Seq(
+ name := "spire-tests",
+ libraryDependencies ++= Seq(
+ scalaTest % "test"
+ )
+ ) ++ noPublish
+
// Benchmark
View
0  core/src/test/scala/spire/CforTest.scala → tests/src/test/scala/spire/CforTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/SyntaxTest.scala → tests/src/test/scala/spire/SyntaxTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/algebra/GCDTest.scala → tests/src/test/scala/spire/algebra/GCDTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/algebra/NRootTest.scala → tests/src/test/scala/spire/algebra/NRootTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/algebra/RingTest.scala → tests/src/test/scala/spire/algebra/RingTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/algebra/SignedTest.scala → tests/src/test/scala/spire/algebra/SignedTest.scala
File renamed without changes
View
2  ...-binding/src/test/scala/spire/laws/LawTests.scala → tests/src/test/scala/spire/laws/LawTests.scala
@@ -70,5 +70,3 @@ class LawTests extends FunSuite with Discipline {
checkAll("String", VectorSpaceLaws[String, Int].metricSpace)
}
-
-// vim: expandtab:ts=2:sw=2
View
0  core/src/test/scala/spire/math/AlgebraicTest.scala → tests/src/test/scala/spire/math/AlgebraicTest.scala
File renamed without changes
View
0  .../src/test/scala/spire/math/ArbitrarySupport.scala → .../src/test/scala/spire/math/ArbitrarySupport.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/BitStringTest.scala → tests/src/test/scala/spire/math/BitStringTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/ComplexCheck.scala → tests/src/test/scala/spire/math/ComplexCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/ComplexTest.scala → tests/src/test/scala/spire/math/ComplexTest.scala
File renamed without changes
View
0  ...st/scala/spire/math/CooperativeEqualityTest.scala → ...st/scala/spire/math/CooperativeEqualityTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/FixedPointCheck.scala → ...s/src/test/scala/spire/math/FixedPointCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/IntervalTest.scala → tests/src/test/scala/spire/math/IntervalTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/LiteralsTest.scala → tests/src/test/scala/spire/math/LiteralsTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/NaturalTest.scala → tests/src/test/scala/spire/math/NaturalTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/NumberTest.scala → tests/src/test/scala/spire/math/NumberTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/NumericTest.scala → tests/src/test/scala/spire/math/NumericTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/PackageCheck.scala → tests/src/test/scala/spire/math/PackageCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/PackageTest.scala → tests/src/test/scala/spire/math/PackageTest.scala
File renamed without changes
View
0  ...st/scala/spire/math/PolynomialSamplingCheck.scala → ...st/scala/spire/math/PolynomialSamplingCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/PolynomialTest.scala → tests/src/test/scala/spire/math/PolynomialTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/QuaternionCheck.scala → ...s/src/test/scala/spire/math/QuaternionCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/RationalCheck.scala → tests/src/test/scala/spire/math/RationalCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/RationalTest.scala → tests/src/test/scala/spire/math/RationalTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/RealCheck.scala → tests/src/test/scala/spire/math/RealCheck.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/SafeLongTest.scala → tests/src/test/scala/spire/math/SafeLongTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/SearchTest.scala → tests/src/test/scala/spire/math/SearchTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/SelectionTest.scala → tests/src/test/scala/spire/math/SelectionTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/SortingTest.scala → tests/src/test/scala/spire/math/SortingTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/TrigTest.scala → tests/src/test/scala/spire/math/TrigTest.scala
File renamed without changes
View
0  ...est/scala/spire/math/TypeclassExistenceTest.scala → ...est/scala/spire/math/TypeclassExistenceTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/math/UnsignedTest.scala → tests/src/test/scala/spire/math/UnsignedTest.scala
File renamed without changes
View
0  .../src/test/scala/spire/math/fpf/FPFilterTest.scala → .../src/test/scala/spire/math/fpf/FPFilterTest.scala
File renamed without changes
View
0  ...c/test/scala/spire/math/fpf/MaybeDoubleTest.scala → ...c/test/scala/spire/math/fpf/MaybeDoubleTest.scala
File renamed without changes
View
0  ...rc/test/scala/spire/math/prime/FactorsCheck.scala → ...rc/test/scala/spire/math/prime/FactorsCheck.scala
File renamed without changes
View
0  ...test/scala/spire/math/real/BubbleUpDivsTest.scala → ...test/scala/spire/math/real/BubbleUpDivsTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/random/GaussianTest.scala → tests/src/test/scala/spire/random/GaussianTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/random/GeneratorTest.scala → ...s/src/test/scala/spire/random/GeneratorTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/random/SamplingTest.scala → tests/src/test/scala/spire/random/SamplingTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/random/ShufflingTest.scala → ...s/src/test/scala/spire/random/ShufflingTest.scala
File renamed without changes
View
0  core/src/test/scala/spire/util/PackCheck.scala → tests/src/test/scala/spire/util/PackCheck.scala
File renamed without changes
Something went wrong with that request. Please try again.