summaryrefslogtreecommitdiff
path: root/test/disabled
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-10-29 00:14:26 +0000
committerPaul Phillips <paulp@improving.org>2011-10-29 00:14:26 +0000
commit456aee6cadc27aa1f0422f6ea201e72b7e38b2e0 (patch)
tree9566f990bf402b9cadb43a58239ed38be98c715b /test/disabled
parentb005cd579899bfb1e361f836616f0a8abf74fd14 (diff)
downloadscala-456aee6cadc27aa1f0422f6ea201e72b7e38b2e0.tar.gz
scala-456aee6cadc27aa1f0422f6ea201e72b7e38b2e0.tar.bz2
scala-456aee6cadc27aa1f0422f6ea201e72b7e38b2e0.zip
Disabled test.
Guess that was a bad choice of class. No review.
Diffstat (limited to 'test/disabled')
-rw-r--r--test/disabled/neg/abstract-report3.check39
-rw-r--r--test/disabled/neg/abstract-report3.scala1
2 files changed, 40 insertions, 0 deletions
diff --git a/test/disabled/neg/abstract-report3.check b/test/disabled/neg/abstract-report3.check
new file mode 100644
index 0000000000..ac3f4abd5a
--- /dev/null
+++ b/test/disabled/neg/abstract-report3.check
@@ -0,0 +1,39 @@
+abstract-report3.scala:1: error: class Foo needs to be abstract, since:
+it has 25 unimplemented members.
+/** As seen from class Foo, the missing signatures are as follows.
+ * For convenience, these are usable as stub implementations.
+ */
+ // Members declared in java.util.concurrent.BlockingQueue
+ def add(x$1: T): Boolean = ???
+ def contains(x$1: Any): Boolean = ???
+ def drainTo(x$1: java.util.Collection[_ >: T],x$2: Int): Int = ???
+ def drainTo(x$1: java.util.Collection[_ >: T]): Int = ???
+ def offer(x$1: T,x$2: Long,x$3: java.util.concurrent.TimeUnit): Boolean = ???
+ def offer(x$1: T): Boolean = ???
+ def poll(x$1: Long,x$2: java.util.concurrent.TimeUnit): T = ???
+ def put(x$1: T): Unit = ???
+ def remainingCapacity(): Int = ???
+ def remove(x$1: Any): Boolean = ???
+ def take(): T = ???
+
+ // Members declared in java.util.Collection
+ def addAll(x$1: java.util.Collection[_ <: T]): Boolean = ???
+ def clear(): Unit = ???
+ def containsAll(x$1: java.util.Collection[_]): Boolean = ???
+ def isEmpty(): Boolean = ???
+ def iterator(): java.util.Iterator[T] = ???
+ def removeAll(x$1: java.util.Collection[_]): Boolean = ???
+ def retainAll(x$1: java.util.Collection[_]): Boolean = ???
+ def size(): Int = ???
+ def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ???
+ def toArray(): Array[Object] = ???
+
+ // Members declared in java.util.Queue
+ def element(): T = ???
+ def peek(): T = ???
+ def poll(): T = ???
+ def remove(): T = ???
+
+class Foo[T] extends java.util.concurrent.BlockingQueue[T] { }
+ ^
+one error found
diff --git a/test/disabled/neg/abstract-report3.scala b/test/disabled/neg/abstract-report3.scala
new file mode 100644
index 0000000000..d3cce86a6b
--- /dev/null
+++ b/test/disabled/neg/abstract-report3.scala
@@ -0,0 +1 @@
+class Foo[T] extends java.util.concurrent.BlockingQueue[T] { } \ No newline at end of file