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

Lars Hupel Erik Osheim
Lars Hupel
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.

Erik Osheim non merged commit 15e38aa into from
Lars Hupel 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. Lars Hupel
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
18 project/Build.scala
View
@@ -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
0  core/src/test/scala/spire/CforTest.scala → tests/src/test/scala/spire/CforTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/SyntaxTest.scala → tests/src/test/scala/spire/SyntaxTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/algebra/GCDTest.scala → tests/src/test/scala/spire/algebra/GCDTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/algebra/NRootTest.scala → tests/src/test/scala/spire/algebra/NRootTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/algebra/RingTest.scala → tests/src/test/scala/spire/algebra/RingTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/algebra/SignedTest.scala → tests/src/test/scala/spire/algebra/SignedTest.scala
View
File renamed without changes
2  ...-binding/src/test/scala/spire/laws/LawTests.scala → tests/src/test/scala/spire/laws/LawTests.scala
View
@@ -70,5 +70,3 @@ class LawTests extends FunSuite with Discipline {
checkAll("String", VectorSpaceLaws[String, Int].metricSpace)
}
-
-// vim: expandtab:ts=2:sw=2
0  core/src/test/scala/spire/math/AlgebraicTest.scala → tests/src/test/scala/spire/math/AlgebraicTest.scala
View
File renamed without changes
0  .../src/test/scala/spire/math/ArbitrarySupport.scala → .../src/test/scala/spire/math/ArbitrarySupport.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/BitStringTest.scala → tests/src/test/scala/spire/math/BitStringTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/ComplexCheck.scala → tests/src/test/scala/spire/math/ComplexCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/ComplexTest.scala → tests/src/test/scala/spire/math/ComplexTest.scala
View
File renamed without changes
0  ...st/scala/spire/math/CooperativeEqualityTest.scala → ...st/scala/spire/math/CooperativeEqualityTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/FixedPointCheck.scala → ...s/src/test/scala/spire/math/FixedPointCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/IntervalTest.scala → tests/src/test/scala/spire/math/IntervalTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/LiteralsTest.scala → tests/src/test/scala/spire/math/LiteralsTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/NaturalTest.scala → tests/src/test/scala/spire/math/NaturalTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/NumberTest.scala → tests/src/test/scala/spire/math/NumberTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/NumericTest.scala → tests/src/test/scala/spire/math/NumericTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/PackageCheck.scala → tests/src/test/scala/spire/math/PackageCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/PackageTest.scala → tests/src/test/scala/spire/math/PackageTest.scala
View
File renamed without changes
0  ...st/scala/spire/math/PolynomialSamplingCheck.scala → ...st/scala/spire/math/PolynomialSamplingCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/PolynomialTest.scala → tests/src/test/scala/spire/math/PolynomialTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/QuaternionCheck.scala → ...s/src/test/scala/spire/math/QuaternionCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/RationalCheck.scala → tests/src/test/scala/spire/math/RationalCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/RationalTest.scala → tests/src/test/scala/spire/math/RationalTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/RealCheck.scala → tests/src/test/scala/spire/math/RealCheck.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/SafeLongTest.scala → tests/src/test/scala/spire/math/SafeLongTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/SearchTest.scala → tests/src/test/scala/spire/math/SearchTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/SelectionTest.scala → tests/src/test/scala/spire/math/SelectionTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/SortingTest.scala → tests/src/test/scala/spire/math/SortingTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/TrigTest.scala → tests/src/test/scala/spire/math/TrigTest.scala
View
File renamed without changes
0  ...est/scala/spire/math/TypeclassExistenceTest.scala → ...est/scala/spire/math/TypeclassExistenceTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/math/UnsignedTest.scala → tests/src/test/scala/spire/math/UnsignedTest.scala
View
File renamed without changes
0  .../src/test/scala/spire/math/fpf/FPFilterTest.scala → .../src/test/scala/spire/math/fpf/FPFilterTest.scala
View
File renamed without changes
0  ...c/test/scala/spire/math/fpf/MaybeDoubleTest.scala → ...c/test/scala/spire/math/fpf/MaybeDoubleTest.scala
View
File renamed without changes
0  ...rc/test/scala/spire/math/prime/FactorsCheck.scala → ...rc/test/scala/spire/math/prime/FactorsCheck.scala
View
File renamed without changes
0  ...test/scala/spire/math/real/BubbleUpDivsTest.scala → ...test/scala/spire/math/real/BubbleUpDivsTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/random/GaussianTest.scala → tests/src/test/scala/spire/random/GaussianTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/random/GeneratorTest.scala → ...s/src/test/scala/spire/random/GeneratorTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/random/SamplingTest.scala → tests/src/test/scala/spire/random/SamplingTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/random/ShufflingTest.scala → ...s/src/test/scala/spire/random/ShufflingTest.scala
View
File renamed without changes
0  core/src/test/scala/spire/util/PackCheck.scala → tests/src/test/scala/spire/util/PackCheck.scala
View
File renamed without changes
Something went wrong with that request. Please try again.