diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-12-01 23:54:39 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-12-02 00:58:34 +0100 |
commit | 9411539eac8aaa8f052b7e6701d5d1d2b833d409 (patch) | |
tree | ed3176c9d3db3b21209866b2372cfadb2ae6b06e /sbt-bridge/sbt-test/discovery/test-discovery/changes | |
parent | 3d0accd7e172303671be23a2be1d827fc9b4dc6e (diff) | |
download | dotty-9411539eac8aaa8f052b7e6701d5d1d2b833d409.tar.gz dotty-9411539eac8aaa8f052b7e6701d5d1d2b833d409.tar.bz2 dotty-9411539eac8aaa8f052b7e6701d5d1d2b833d409.zip |
Fix #1741: sbt.ExtractAPI: extract annotations
This is necessary for correct incremental recompilation but is also used
by sbt to find tests to run (for junit they should be annotated @org.junit.Test).
I added an sbt scripted test to verify that JUnit now works, to run it:
$ sbt
> scripted discovery/test-discovery
Diffstat (limited to 'sbt-bridge/sbt-test/discovery/test-discovery/changes')
-rw-r--r-- | sbt-bridge/sbt-test/discovery/test-discovery/changes/A2.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sbt-bridge/sbt-test/discovery/test-discovery/changes/A2.scala b/sbt-bridge/sbt-test/discovery/test-discovery/changes/A2.scala new file mode 100644 index 000000000..696daab5e --- /dev/null +++ b/sbt-bridge/sbt-test/discovery/test-discovery/changes/A2.scala @@ -0,0 +1,3 @@ +object A { + def three: Int = 3 // Ah! +} |