From a45be8b2851b8bc76ffa40deb9810568ed5b69f1 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 23 Mar 2011 22:35:09 +0000 Subject: Spiced up the signature test infrastructure a b... Spiced up the signature test infrastructure a bunch, wrote some more tests, restored the tests in pending. No review. --- test/pending/run/bug4291.check | 4 ---- test/pending/run/bug4291.scala | 10 ---------- test/pending/run/sigtp.check | 7 ------- test/pending/run/sigtp.scala | 18 ------------------ 4 files changed, 39 deletions(-) delete mode 100644 test/pending/run/bug4291.check delete mode 100644 test/pending/run/bug4291.scala delete mode 100644 test/pending/run/sigtp.check delete mode 100644 test/pending/run/sigtp.scala (limited to 'test/pending') diff --git a/test/pending/run/bug4291.check b/test/pending/run/bug4291.check deleted file mode 100644 index c2b58db6e6..0000000000 --- a/test/pending/run/bug4291.check +++ /dev/null @@ -1,4 +0,0 @@ -scala.collection.immutable.List A -scala.Option A -scala.Function1 R -scala.collection.Traversable That diff --git a/test/pending/run/bug4291.scala b/test/pending/run/bug4291.scala deleted file mode 100644 index 6053c7ac6a..0000000000 --- a/test/pending/run/bug4291.scala +++ /dev/null @@ -1,10 +0,0 @@ -import scala.tools.partest._ - -object Test extends SigTest { - def main(args: Array[String]): Unit = { - show[List[_]]("apply") - show[Option[_]]("get") - show[Function1[_, _]]("apply") - show[Traversable[_]]("flatMap") - } -} diff --git a/test/pending/run/sigtp.check b/test/pending/run/sigtp.check deleted file mode 100644 index 6b961be3d0..0000000000 --- a/test/pending/run/sigtp.check +++ /dev/null @@ -1,7 +0,0 @@ -public A Bug.key() -public Bug Bug.foo() -public Bug Bug.next() -public void Bug.next_$eq(Bug) -public abstract A BugBase.key() -public abstract E BugBase.next() -public abstract void BugBase.next_$eq(E) diff --git a/test/pending/run/sigtp.scala b/test/pending/run/sigtp.scala deleted file mode 100644 index f0cac859f5..0000000000 --- a/test/pending/run/sigtp.scala +++ /dev/null @@ -1,18 +0,0 @@ -trait BugBase [A, E] { - val key: A - var next: E = _ -} - -final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] { - def foo = next -} - -object Test { - def f(clazz: Class[_]) = - clazz.getDeclaredMethods.toList.map(_.toGenericString).sorted foreach println - - def main(args: Array[String]): Unit = { - f(classOf[Bug[_, _]]) - f(classOf[BugBase[_, _]]) - } -} -- cgit v1.2.3