Organized disabled directory so it works with partest. You can

run ./partest --srcpath disabled to run the tests in that location.
Fixed a few tests in disabled and pending and moved to files.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17696 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2009-05-09 03:53:41 +00:00
parent 4d34f091eb
commit ba9df1a196
75 changed files with 20 additions and 38 deletions

1
test/disabled/lib Symbolic link
View File

@ -0,0 +1 @@
../files/lib

View File

@ -3,6 +3,6 @@ xpath \
xpath \\ DESCENDANTS
<book><author>Peter Buneman</author><author>Dan Suciu</author><title>Data on ze web</title></book>
-- group nodes
<f><a></a><b></b><c></c></f>
<a></a><f><a></a><b></b><c></c></f><a></a><b></b><c></c>
<f><a/><b/><c/></f>
<a/><f><a/><b/><c/></f><a/><b/><c/>
attribute value normalization

View File

@ -7,9 +7,9 @@ mb2 = false
xs0 = List(2)
xs1 = List(2)
xs2 = List(2)
ma0 = List(4)
ma1 = List(4)
ma2 = List(4)
ma0 = List(2)
ma1 = List(2)
ma2 = List(2)
mi0 = Set(2)
mi1 = Set(2)
mi2 = Set(2)
@ -26,8 +26,8 @@ ys0 = List()
ys1 = List()
ys2 = List(2)
ys3 = List()
ia0 = List(0)
ia1 = List(0)
ia2 = List(4)
ia0 = List()
ia1 = List()
ia2 = List(2)
ia3 = List()

View File

@ -30,9 +30,9 @@ object TestMutable {
Console.println("xs1 = " + ms1.elements.toList)
Console.println("xs2 = " + ms2.elements.toList)
Console.println("ma0 = " + ms0.underlying.toList)
Console.println("ma1 = " + ms1.underlying.toList)
Console.println("ma2 = " + ms2.underlying.toList)
Console.println("ma0 = " + ms0.toList)
Console.println("ma1 = " + ms1.toList)
Console.println("ma2 = " + ms2.toList)
Console.println("mi0 = " + ms0.toImmutable)
Console.println("mi1 = " + ms1.toImmutable)
@ -43,10 +43,10 @@ object TestMutable {
object TestImmutable {
import scala.collection.immutable.BitSet
val is0 = new BitSet(8, 1, null, false)
val is1 = new BitSet(8, 1, Array(), false)
val is2 = new BitSet(8, 8, Array(4), false)
val is3 = new BitSet(0, 0, null, false)
val is0 = BitSet()
val is1 = BitSet.fromArray(Array())
val is2 = BitSet.fromArray(Array(4))
val is3 = BitSet.empty
Console.println("is0 = " + is0)
Console.println("is1 = " + is1)
@ -63,10 +63,10 @@ object TestImmutable {
Console.println("ys2 = " + is2.elements.toList)
Console.println("ys3 = " + is3.elements.toList)
Console.println("ia0 = " + is0.underlying.toList)
Console.println("ia1 = " + is1.underlying.toList)
Console.println("ia2 = " + is2.underlying.toList)
Console.println("ia3 = " + is3.underlying.toList)
Console.println("ia0 = " + is0.toList)
Console.println("ia1 = " + is1.toList)
Console.println("ia2 = " + is2.toList)
Console.println("ia3 = " + is3.toList)
Console.println
}

View File

@ -1,10 +0,0 @@
object O
{
def d(t: Top) =
t match
{
case s: Sub => true
case _ => false
}
}

View File

@ -1,9 +0,0 @@
sealed trait Top
sealed trait Sub extends Top
trait C
{
private object P extends Sub
}