summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-05-29 13:55:01 +0000
committerPaul Phillips <paulp@improving.org>2009-05-29 13:55:01 +0000
commit036f2602017bf04dc3a40783a531d488bbd9e12a (patch)
treef68329af89598b6fb170f84b2109057890a3a6f6 /test
parent09dc46783dcb9c94dc1e3953c5689fd594d484f8 (diff)
downloadscala-036f2602017bf04dc3a40783a531d488bbd9e12a.tar.gz
scala-036f2602017bf04dc3a40783a531d488bbd9e12a.tar.bz2
scala-036f2602017bf04dc3a40783a531d488bbd9e12a.zip
Riffing off the removal of the cldc library, re...
Riffing off the removal of the cldc library, removed forCLDC and its special cases. Not as much fun as removing inIDE, but still fun.
Diffstat (limited to 'test')
-rw-r--r--test/files/cldc/randoms.check1
-rw-r--r--test/files/cldc/randoms.scala29
-rw-r--r--test/files/cli/test1/Main.check.scalac2
-rw-r--r--test/files/cli/test2/Main.check.scalac2
-rw-r--r--test/files/cli/test3/Main.check.scalac2
5 files changed, 3 insertions, 33 deletions
diff --git a/test/files/cldc/randoms.check b/test/files/cldc/randoms.check
deleted file mode 100644
index e73fdf3e4f..0000000000
--- a/test/files/cldc/randoms.check
+++ /dev/null
@@ -1 +0,0 @@
-Execution completed.
diff --git a/test/files/cldc/randoms.scala b/test/files/cldc/randoms.scala
deleted file mode 100644
index 5d3380fef9..0000000000
--- a/test/files/cldc/randoms.scala
+++ /dev/null
@@ -1,29 +0,0 @@
-import javax.microedition.lcdui._
-import javax.microedition.midlet.MIDlet
-
-class Test extends MIDlet with CommandListener {
-
- def startApp {
- val display = Display.getDisplay(this)
-
- val mainForm = new Form("randoms")
- mainForm append "Welcome to the world of MIDlets!"
- mainForm append "(build with Scala)"
- val rnd = new Random
- for (i <- 0 until 10) mainForm append rnd.nextInt.toString
-
- val exitCommand = new Command("Exit", Command.EXIT, 0)
- mainForm addCommand exitCommand
- mainForm setCommandListener this
-
- display setCurrent mainForm
- }
- def pauseApp {}
-
- def destroyApp(unconditional: Boolean) {}
-
- def commandAction(c: Command, s: Displayable) {
- if (c.getCommandType == Command.EXIT)
- notifyDestroyed
- }
-}
diff --git a/test/files/cli/test1/Main.check.scalac b/test/files/cli/test1/Main.check.scalac
index 22020d918d..8465810d0b 100644
--- a/test/files/cli/test1/Main.check.scalac
+++ b/test/files/cli/test1/Main.check.scalac
@@ -15,7 +15,7 @@ where possible options include:
-encoding <encoding> Specify character encoding used by source files
-windowtitle <windowtitle> Specify window title of generated HTML documentation
-documenttitle <documenttitle> Specify document title of generated HTML documentation
- -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc)
+ -target:<target> Specify which backend to use (jvm-1.5,msil)
-migrate Assist in migrating from Scala version 1.0
-o <file> Name of the output assembly (only relevant with -target:msil)
-r <path> List of assemblies referenced by the program (only relevant with -target:msil)
diff --git a/test/files/cli/test2/Main.check.scalac b/test/files/cli/test2/Main.check.scalac
index 22020d918d..8465810d0b 100644
--- a/test/files/cli/test2/Main.check.scalac
+++ b/test/files/cli/test2/Main.check.scalac
@@ -15,7 +15,7 @@ where possible options include:
-encoding <encoding> Specify character encoding used by source files
-windowtitle <windowtitle> Specify window title of generated HTML documentation
-documenttitle <documenttitle> Specify document title of generated HTML documentation
- -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc)
+ -target:<target> Specify which backend to use (jvm-1.5,msil)
-migrate Assist in migrating from Scala version 1.0
-o <file> Name of the output assembly (only relevant with -target:msil)
-r <path> List of assemblies referenced by the program (only relevant with -target:msil)
diff --git a/test/files/cli/test3/Main.check.scalac b/test/files/cli/test3/Main.check.scalac
index 22020d918d..8465810d0b 100644
--- a/test/files/cli/test3/Main.check.scalac
+++ b/test/files/cli/test3/Main.check.scalac
@@ -15,7 +15,7 @@ where possible options include:
-encoding <encoding> Specify character encoding used by source files
-windowtitle <windowtitle> Specify window title of generated HTML documentation
-documenttitle <documenttitle> Specify document title of generated HTML documentation
- -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc)
+ -target:<target> Specify which backend to use (jvm-1.5,msil)
-migrate Assist in migrating from Scala version 1.0
-o <file> Name of the output assembly (only relevant with -target:msil)
-r <path> List of assemblies referenced by the program (only relevant with -target:msil)