summaryrefslogtreecommitdiff
path: root/test/disabled
diff options
context:
space:
mode:
authorMicro Dotta <mirco.dotta@gmail.com>2011-09-05 10:06:59 +0000
committerMicro Dotta <mirco.dotta@gmail.com>2011-09-05 10:06:59 +0000
commit4235635142d77d0c087c026fef8d8e6ee535e9d9 (patch)
tree8ae31196a1d9256295e4940ef219d048d47afda5 /test/disabled
parentfa2deeb4304d149c4870cfb013e7790d6fe00d86 (diff)
downloadscala-4235635142d77d0c087c026fef8d8e6ee535e9d9.tar.gz
scala-4235635142d77d0c087c026fef8d8e6ee535e9d9.tar.bz2
scala-4235635142d77d0c087c026fef8d8e6ee535e9d9.zip
Created test cases for tickets that need to be ...
Created test cases for tickets that need to be fixed in the presentation compiler. These tests should eventually be moved under folder /files/presentation/ once they are working.
Diffstat (limited to 'test/disabled')
-rw-r--r--test/disabled/presentation/ide-bug-1000349.check0
-rw-r--r--test/disabled/presentation/ide-bug-1000349/Runner.scala3
-rw-r--r--test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala3
-rw-r--r--test/disabled/presentation/ide-bug-1000450.check0
-rw-r--r--test/disabled/presentation/ide-bug-1000450/Runner.scala6
-rw-r--r--test/disabled/presentation/ide-bug-1000450/src/Ranges.scala5
-rw-r--r--test/disabled/presentation/ide-bug-1000545.check0
-rw-r--r--test/disabled/presentation/ide-bug-1000545/Runner.scala3
-rw-r--r--test/disabled/presentation/ide-bug-1000545/src/CompletionFails.scala25
9 files changed, 45 insertions, 0 deletions
diff --git a/test/disabled/presentation/ide-bug-1000349.check b/test/disabled/presentation/ide-bug-1000349.check
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000349.check
diff --git a/test/disabled/presentation/ide-bug-1000349/Runner.scala b/test/disabled/presentation/ide-bug-1000349/Runner.scala
new file mode 100644
index 0000000000..1ef3cf9025
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000349/Runner.scala
@@ -0,0 +1,3 @@
+import scala.tools.nsc.interactive.tests._
+
+object Test extends InteractiveTest \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala b/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
new file mode 100644
index 0000000000..55df2abc11
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
@@ -0,0 +1,3 @@
+object Foo {
+ "".toString.leng /*!*/
+} \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000450.check b/test/disabled/presentation/ide-bug-1000450.check
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000450.check
diff --git a/test/disabled/presentation/ide-bug-1000450/Runner.scala b/test/disabled/presentation/ide-bug-1000450/Runner.scala
new file mode 100644
index 0000000000..7c16a57f5c
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000450/Runner.scala
@@ -0,0 +1,6 @@
+import scala.tools.nsc.interactive.tests._
+
+import scala.tools.nsc.interactive.Response
+import scala.tools.nsc.util.Position
+
+object Test extends InteractiveTest \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000450/src/Ranges.scala b/test/disabled/presentation/ide-bug-1000450/src/Ranges.scala
new file mode 100644
index 0000000000..10e69c58f0
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000450/src/Ranges.scala
@@ -0,0 +1,5 @@
+object Ranges {
+ // (1 to 10). // (1) this works as expected
+
+ (1 to 10).toS /*!*/ // (2) this fails
+} \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000545.check b/test/disabled/presentation/ide-bug-1000545.check
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000545.check
diff --git a/test/disabled/presentation/ide-bug-1000545/Runner.scala b/test/disabled/presentation/ide-bug-1000545/Runner.scala
new file mode 100644
index 0000000000..1ef3cf9025
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000545/Runner.scala
@@ -0,0 +1,3 @@
+import scala.tools.nsc.interactive.tests._
+
+object Test extends InteractiveTest \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000545/src/CompletionFails.scala b/test/disabled/presentation/ide-bug-1000545/src/CompletionFails.scala
new file mode 100644
index 0000000000..7300e5fd7d
--- /dev/null
+++ b/test/disabled/presentation/ide-bug-1000545/src/CompletionFails.scala
@@ -0,0 +1,25 @@
+/**
+ * Presentation compiler returns the wrong answer for this test.
+ *
+ * Below is the current result of running this test:
+ *
+ * Mircos-iMac:test mirco$ ./partest files/presentation/ticket-1000545 --show-log | sed 's/< //'
+ * Testing individual files
+ * testing: [...]/files/presentation/ticket-1000545 [FAILED]
+ * 1,8d0
+ * reload: CompletionFails.scala
+ *
+ * askTypeCompletion at CompletionFails.scala(2,19)
+ * ================================================================================
+ * [response] aksTypeCompletion at (2,19)
+ * retrieved 1 members
+ * TypeMember(method <clinit>,()Unit,false,false,<none>)
+ * ================================================================================
+ *
+ * 1 of 1 tests failed (elapsed time: 00:00:05)
+ *
+ * @note The expected result was the list of static methods for class @see java.io.Console
+ */
+object CompletionFails {
+ java.io.Console. /*!*/
+} \ No newline at end of file