summaryrefslogtreecommitdiff
path: root/test/junit/scala/math
diff options
context:
space:
mode:
authorAntoine Gourlay <antoine@gourlay.fr>2014-09-29 10:07:40 +0200
committerAntoine Gourlay <antoine@gourlay.fr>2014-09-29 12:31:34 +0200
commit159ca839b9d63da6c402731342d827f227219323 (patch)
tree007a40b46b2bc9062812fd39142b2c4d7f3a9181 /test/junit/scala/math
parentf62c312a857e1a6cc6646ee60a0f86866e19c01b (diff)
downloadscala-159ca839b9d63da6c402731342d827f227219323.tar.gz
scala-159ca839b9d63da6c402731342d827f227219323.tar.bz2
scala-159ca839b9d63da6c402731342d827f227219323.zip
Better ant / junit interaction
Currently junit test sources are always rebuilt, that's wasteful. The second dependency on the junit task is there so that the first can be skipped if sources haven't changed. Also normalize package names versus location in the `test/junit` folder: ant isn't very clever when it comes to selectively recompiling tests, so now editing a test will only cause that one to be recompiled (instead of ~13 files every time). This makes TDD with junit even faster.
Diffstat (limited to 'test/junit/scala/math')
-rw-r--r--test/junit/scala/math/NumericTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/junit/scala/math/NumericTest.scala b/test/junit/scala/math/NumericTest.scala
index 4f0657f471..9bf7d4f1e4 100644
--- a/test/junit/scala/math/NumericTest.scala
+++ b/test/junit/scala/math/NumericTest.scala
@@ -1,4 +1,4 @@
-
+package scala.math
import org.junit.Assert._
import org.junit.Test