diff options
author | Paul Phillips <paulp@improving.org> | 2012-10-04 20:28:56 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-10-04 21:28:45 -0700 |
commit | 5240da5073168424db50b969c1bbf7089d0a4242 (patch) | |
tree | dc2d8a1ce08200db02ff433f26a5dcacaab150e9 /test/files/pos/t1782 | |
parent | 6d6c182ae1b25919c573373ea27759041f579e4c (diff) | |
download | scala-5240da5073168424db50b969c1bbf7089d0a4242.tar.gz scala-5240da5073168424db50b969c1bbf7089d0a4242.tar.bz2 scala-5240da5073168424db50b969c1bbf7089d0a4242.zip |
Moved a bunch of passing tests out of pending.
If the test names can be believed, this covers
SI-294 SI-1751 SI-1782 SI-2318 SI-3897
SI-4649 SI-4786 SI-5293 SI-5399 SI-5418
SI-5606 SI-5610 SI-5639
Most of these were moved to pending in 1729b26500
due to failures of unknown cause. It was suggested
they be brought back "as soon as possible" and that
was three months ago; I suppose it's now possible.
If they need to be disabled again, please move them
to test/disabled, not to test/pending. "disabled"
should mean a formerly passing test in limbo; "pending"
tests document bugs which await fixing.
I also removed some dead files in test/ - the
files with a "cmds" extension are from a failed
experiment and do not do anything.
Diffstat (limited to 'test/files/pos/t1782')
-rw-r--r-- | test/files/pos/t1782/Ann.java | 3 | ||||
-rw-r--r-- | test/files/pos/t1782/Days.java | 3 | ||||
-rw-r--r-- | test/files/pos/t1782/ImplementedBy.java | 3 | ||||
-rw-r--r-- | test/files/pos/t1782/Test_1.scala | 16 |
4 files changed, 25 insertions, 0 deletions
diff --git a/test/files/pos/t1782/Ann.java b/test/files/pos/t1782/Ann.java new file mode 100644 index 0000000000..0dcfbd2ed7 --- /dev/null +++ b/test/files/pos/t1782/Ann.java @@ -0,0 +1,3 @@ +public @interface Ann { + public Days value(); +} diff --git a/test/files/pos/t1782/Days.java b/test/files/pos/t1782/Days.java new file mode 100644 index 0000000000..203a87b1c2 --- /dev/null +++ b/test/files/pos/t1782/Days.java @@ -0,0 +1,3 @@ +public enum Days { + Friday, Sunday +} diff --git a/test/files/pos/t1782/ImplementedBy.java b/test/files/pos/t1782/ImplementedBy.java new file mode 100644 index 0000000000..6aa8b4fa9e --- /dev/null +++ b/test/files/pos/t1782/ImplementedBy.java @@ -0,0 +1,3 @@ +public @interface ImplementedBy { + public Class<?> value(); +} diff --git a/test/files/pos/t1782/Test_1.scala b/test/files/pos/t1782/Test_1.scala new file mode 100644 index 0000000000..6467a74c29 --- /dev/null +++ b/test/files/pos/t1782/Test_1.scala @@ -0,0 +1,16 @@ +@ImplementedBy(classOf[Provider]) +trait Service { + def someMethod() +} + +class Provider + extends Service +{ + // test enumeration java annotations + @Ann(Days.Friday) def someMethod() = () + + // #2103 + @scala.beans.BeanProperty + @Ann(value = Days.Sunday) + val t2103 = "test" +} |