diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
commit | b9785280a7138a2bb52060faf94807aa0d07dec1 (patch) | |
tree | 870cc1930ac3d50cd07078260f58984224dd39a5 /test/pending | |
parent | 84fcf633d9ca507124806d64729cb8463bcebb69 (diff) | |
download | scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.gz scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.bz2 scala-b9785280a7138a2bb52060faf94807aa0d07dec1.zip |
Renamed tests named bugXXX to tXXX, no review.
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/neg/bug3189.check | 7 | ||||
-rw-r--r-- | test/pending/neg/t3189.check | 7 | ||||
-rw-r--r-- | test/pending/neg/t3189.scala (renamed from test/pending/neg/bug3189.scala) | 0 | ||||
-rw-r--r-- | test/pending/neg/t3633/test/Test.scala | 8 | ||||
-rw-r--r-- | test/pending/neg/t963.scala (renamed from test/pending/neg/bug963.scala) | 0 | ||||
-rw-r--r-- | test/pending/pos/t1357.scala (renamed from test/pending/pos/bug1357.scala) | 0 | ||||
-rw-r--r-- | test/pending/pos/t1957.scala (renamed from test/pending/pos/bug1957.scala) | 0 | ||||
-rw-r--r-- | test/pending/pos/t1987/a.scala (renamed from test/pending/pos/bug1987/bug1987a.scala) | 2 | ||||
-rw-r--r-- | test/pending/pos/t1987/b.scala (renamed from test/pending/pos/bug1987/bug1987b.scala) | 2 | ||||
-rw-r--r-- | test/pending/pos/t4606.scala (renamed from test/pending/pos/bug4606.scala) | 4 | ||||
-rw-r--r-- | test/pending/pos/t4859.scala (renamed from test/pending/pos/bug4859.scala) | 0 | ||||
-rw-r--r-- | test/pending/run/t1697.scala (renamed from test/pending/run/bug1697.scala) | 0 | ||||
-rw-r--r-- | test/pending/run/t2318.check (renamed from test/pending/run/bug2318.check) | 0 | ||||
-rw-r--r-- | test/pending/run/t2318.scala (renamed from test/pending/run/bug2318.scala) | 8 | ||||
-rw-r--r-- | test/pending/run/t2364.check (renamed from test/pending/run/bug2364.check) | 0 | ||||
-rw-r--r-- | test/pending/run/t2364.scala (renamed from test/pending/run/bug2364.scala) | 0 | ||||
-rw-r--r-- | test/pending/run/t3669.scala (renamed from test/pending/run/bug3669.scala) | 0 | ||||
-rw-r--r-- | test/pending/run/t4291.check (renamed from test/pending/run/bug4291.check) | 0 | ||||
-rw-r--r-- | test/pending/run/t4291.scala (renamed from test/pending/run/bug4291.scala) | 0 | ||||
-rw-r--r-- | test/pending/script/t2365.javaopts (renamed from test/pending/script/bug2365.javaopts) | 0 | ||||
-rwxr-xr-x | test/pending/script/t2365.sh (renamed from test/pending/script/bug2365.sh) | 0 | ||||
-rw-r--r-- | test/pending/script/t2365/Test.scala (renamed from test/pending/script/bug2365/Test.scala) | 0 | ||||
-rwxr-xr-x | test/pending/script/t2365/runner.scala (renamed from test/pending/script/bug2365/bug2365.scala) | 0 |
23 files changed, 19 insertions, 19 deletions
diff --git a/test/pending/neg/bug3189.check b/test/pending/neg/bug3189.check deleted file mode 100644 index 520644fd43..0000000000 --- a/test/pending/neg/bug3189.check +++ /dev/null @@ -1,7 +0,0 @@ -bug3189.scala:2: error: illegal start of simple pattern - val Array(a,b*) = ("": Any) - ^ -bug3189.scala:3: error: ')' expected but '}' found. -} -^ -two errors found diff --git a/test/pending/neg/t3189.check b/test/pending/neg/t3189.check new file mode 100644 index 0000000000..43dd0f29a0 --- /dev/null +++ b/test/pending/neg/t3189.check @@ -0,0 +1,7 @@ +t3189.scala:2: error: illegal start of simple pattern + val Array(a,b*) = ("": Any) + ^ +t3189.scala:3: error: ')' expected but '}' found. +} +^ +two errors found diff --git a/test/pending/neg/bug3189.scala b/test/pending/neg/t3189.scala index 4ea4bb7581..4ea4bb7581 100644 --- a/test/pending/neg/bug3189.scala +++ b/test/pending/neg/t3189.scala diff --git a/test/pending/neg/t3633/test/Test.scala b/test/pending/neg/t3633/test/Test.scala index 2c54e7b3e9..395a6be6f4 100644 --- a/test/pending/neg/t3633/test/Test.scala +++ b/test/pending/neg/t3633/test/Test.scala @@ -6,18 +6,18 @@ final class Test extends PackageProtected { package another { object Main { - def bug1(t: Test) { + def t1(t: Test) { // Can always be replicated. println(t.foo) } - def bug2(t: Test) { + def t2(t: Test) { // Conditions to replicate: must use -optimise, class Test must be final println(t.bar) //@noinline is a usable workaround } def main(args: Array[String]) { - bug1(new Test) - bug2(new Test) + t1(new Test) + t2(new Test) } } } diff --git a/test/pending/neg/bug963.scala b/test/pending/neg/t963.scala index 430ef090e4..430ef090e4 100644 --- a/test/pending/neg/bug963.scala +++ b/test/pending/neg/t963.scala diff --git a/test/pending/pos/bug1357.scala b/test/pending/pos/t1357.scala index fcdecb3ad3..fcdecb3ad3 100644 --- a/test/pending/pos/bug1357.scala +++ b/test/pending/pos/t1357.scala diff --git a/test/pending/pos/bug1957.scala b/test/pending/pos/t1957.scala index f80cf730ed..f80cf730ed 100644 --- a/test/pending/pos/bug1957.scala +++ b/test/pending/pos/t1957.scala diff --git a/test/pending/pos/bug1987/bug1987a.scala b/test/pending/pos/t1987/a.scala index 7a62877ba0..ff27044b69 100644 --- a/test/pending/pos/bug1987/bug1987a.scala +++ b/test/pending/pos/t1987/a.scala @@ -1,6 +1,6 @@ package bug -// goes with bug1987b.scala +// goes with t1987b.scala package object packageb { def func(a: Int) = () def func(a: String) = () diff --git a/test/pending/pos/bug1987/bug1987b.scala b/test/pending/pos/t1987/b.scala index 875f5128f2..a469ca6ea8 100644 --- a/test/pending/pos/bug1987/bug1987b.scala +++ b/test/pending/pos/t1987/b.scala @@ -1,4 +1,4 @@ -// compile with bug1987a.scala +// compile with t1987a.scala package bug.packageb // Note that the overloading works if instead of being in the package we import it: diff --git a/test/pending/pos/bug4606.scala b/test/pending/pos/t4606.scala index c9b9e0914e..f79d17d436 100644 --- a/test/pending/pos/bug4606.scala +++ b/test/pending/pos/t4606.scala @@ -1,4 +1,4 @@ -object bug4606 { +object t4606 { class A(var x: Int) class B(x: Int) extends A(x) trait C { self: B => @@ -19,7 +19,7 @@ object bug4606 { } } -object bug3194 { +object t3194 { class A(var x: Int) class B(x: Int) extends A(x) { self: A => diff --git a/test/pending/pos/bug4859.scala b/test/pending/pos/t4859.scala index ec5abd966d..ec5abd966d 100644 --- a/test/pending/pos/bug4859.scala +++ b/test/pending/pos/t4859.scala diff --git a/test/pending/run/bug1697.scala b/test/pending/run/t1697.scala index 01590dd405..01590dd405 100644 --- a/test/pending/run/bug1697.scala +++ b/test/pending/run/t1697.scala diff --git a/test/pending/run/bug2318.check b/test/pending/run/t2318.check index a486f1ac47..a486f1ac47 100644 --- a/test/pending/run/bug2318.check +++ b/test/pending/run/t2318.check diff --git a/test/pending/run/bug2318.scala b/test/pending/run/t2318.scala index cb524471d6..7bb666706f 100644 --- a/test/pending/run/bug2318.scala +++ b/test/pending/run/t2318.scala @@ -12,13 +12,13 @@ object Test { } } - def bug1() = { + def t1() = { val p = Runtime.getRuntime().exec("ls"); type Destroyable = { def destroy() : Unit } def doDestroy( obj : Destroyable ) : Unit = obj.destroy(); doDestroy( p ); } - def bug2() = { + def t2() = { System.setSecurityManager(Mgr) val b = new Bar { def bar = println("bar") } @@ -30,9 +30,9 @@ object Test { def main(args: Array[String]) { // figuring this will otherwise break on windows - try bug1() + try t1() catch { case _: java.io.IOException => () } - bug2() + t2() } } diff --git a/test/pending/run/bug2364.check b/test/pending/run/t2364.check index 219305e43a..219305e43a 100644 --- a/test/pending/run/bug2364.check +++ b/test/pending/run/t2364.check diff --git a/test/pending/run/bug2364.scala b/test/pending/run/t2364.scala index d5805a13b8..d5805a13b8 100644 --- a/test/pending/run/bug2364.scala +++ b/test/pending/run/t2364.scala diff --git a/test/pending/run/bug3669.scala b/test/pending/run/t3669.scala index 4fd698c1a5..4fd698c1a5 100644 --- a/test/pending/run/bug3669.scala +++ b/test/pending/run/t3669.scala diff --git a/test/pending/run/bug4291.check b/test/pending/run/t4291.check index 30bacfac28..30bacfac28 100644 --- a/test/pending/run/bug4291.check +++ b/test/pending/run/t4291.check diff --git a/test/pending/run/bug4291.scala b/test/pending/run/t4291.scala index 0213bb2c20..0213bb2c20 100644 --- a/test/pending/run/bug4291.scala +++ b/test/pending/run/t4291.scala diff --git a/test/pending/script/bug2365.javaopts b/test/pending/script/t2365.javaopts index 357e033c1c..357e033c1c 100644 --- a/test/pending/script/bug2365.javaopts +++ b/test/pending/script/t2365.javaopts diff --git a/test/pending/script/bug2365.sh b/test/pending/script/t2365.sh index f3c44ad086..f3c44ad086 100755 --- a/test/pending/script/bug2365.sh +++ b/test/pending/script/t2365.sh diff --git a/test/pending/script/bug2365/Test.scala b/test/pending/script/t2365/Test.scala index 53581d256b..53581d256b 100644 --- a/test/pending/script/bug2365/Test.scala +++ b/test/pending/script/t2365/Test.scala diff --git a/test/pending/script/bug2365/bug2365.scala b/test/pending/script/t2365/runner.scala index b5e05325cf..b5e05325cf 100755 --- a/test/pending/script/bug2365/bug2365.scala +++ b/test/pending/script/t2365/runner.scala |