summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-02-14 21:05:27 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-02-14 21:05:27 +0000
commit2d6575b79b6933019fa7899b9292d04b8530619e (patch)
treeb270c81b5ba8d43bba4f7b2d50828e1166b90a2e /test
parent8e76ce6368d00786aac050b4beae914d991c3012 (diff)
downloadscala-2d6575b79b6933019fa7899b9292d04b8530619e.tar.gz
scala-2d6575b79b6933019fa7899b9292d04b8530619e.tar.bz2
scala-2d6575b79b6933019fa7899b9292d04b8530619e.zip
Fixing tests depending on map and set string re...
Fixing tests depending on map and set string representations. No review.
Diffstat (limited to 'test')
-rw-r--r--test/files/jvm/serialization.check24
-rw-r--r--test/files/run/bug1074.check6
2 files changed, 15 insertions, 15 deletions
diff --git a/test/files/jvm/serialization.check b/test/files/jvm/serialization.check
index 0717de2a8e..867d00f110 100644
--- a/test/files/jvm/serialization.check
+++ b/test/files/jvm/serialization.check
@@ -77,20 +77,20 @@ x = BitSet(2, 3)
y = BitSet(2, 3)
x equals y: true, y equals x: true
-x = Map(1 -> A, 2 -> B, 3 -> C)
-y = Map(1 -> A, 2 -> B, 3 -> C)
+x = HashMap(1 -> A, 2 -> B, 3 -> C)
+y = HashMap(1 -> A, 2 -> B, 3 -> C)
x equals y: true, y equals x: true
-x = Set(1, 2)
-y = Set(1, 2)
+x = HashSet(1, 2)
+y = HashSet(1, 2)
x equals y: true, y equals x: true
x = List((buffers,20), (layers,2), (title,3))
y = List((buffers,20), (layers,2), (title,3))
x equals y: true, y equals x: true
-x = Map(buffers -> 20, layers -> 2, title -> 3)
-y = Map(buffers -> 20, layers -> 2, title -> 3)
+x = ListMap(buffers -> 20, layers -> 2, title -> 3)
+y = ListMap(buffers -> 20, layers -> 2, title -> 3)
x equals y: true, y equals x: true
x = ListSet(5, 3)
@@ -109,8 +109,8 @@ x = NumericRange(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
y = NumericRange(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
x equals y: true, y equals x: true
-x = Map(1 -> A, 2 -> B, 3 -> C)
-y = Map(1 -> A, 2 -> B, 3 -> C)
+x = TreeMap(1 -> A, 2 -> B, 3 -> C)
+y = TreeMap(1 -> A, 2 -> B, 3 -> C)
x equals y: true, y equals x: true
x = TreeSet(1, 2, 3)
@@ -161,12 +161,12 @@ x = BitSet(0, 8, 9)
y = BitSet(0, 8, 9)
x equals y: true, y equals x: true
-x = Map(C -> 3, B -> 2, A -> 1)
-y = Map(C -> 3, A -> 1, B -> 2)
+x = HashMap(C -> 3, B -> 2, A -> 1)
+y = HashMap(C -> 3, A -> 1, B -> 2)
x equals y: true, y equals x: true
-x = Set(layers, title, buffers)
-y = Set(layers, title, buffers)
+x = HashSet(layers, title, buffers)
+y = HashSet(layers, title, buffers)
x equals y: true, y equals x: true
x = History()
diff --git a/test/files/run/bug1074.check b/test/files/run/bug1074.check
index ccf1cb1551..def79b6089 100644
--- a/test/files/run/bug1074.check
+++ b/test/files/run/bug1074.check
@@ -1,3 +1,3 @@
-q0 = Set(kl, jk, cd, fg, ef, gh, a, de, hj, b, lm, mn)
-q1 = Set() 0
-q2 = Set() 0
+q0 = HashSet(kl, jk, cd, fg, ef, gh, a, de, hj, b, lm, mn)
+q1 = HashSet() 0
+q2 = HashSet() 0