summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-05-26 14:00:37 +0000
committerburaq <buraq@epfl.ch>2004-05-26 14:00:37 +0000
commit77609a89df194e1f6151bc73f7e37688f39c4d00 (patch)
tree941f4e19522f9300a72bf0fe47b406e27cbfd778 /test/files/jvm
parent45f3196c8f49b4103d467fc99f138ce5e564858d (diff)
downloadscala-77609a89df194e1f6151bc73f7e37688f39c4d00.tar.gz
scala-77609a89df194e1f6151bc73f7e37688f39c4d00.tar.bz2
scala-77609a89df194e1f6151bc73f7e37688f39c4d00.zip
oboso
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/xmlParsing.scala52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/files/jvm/xmlParsing.scala b/test/files/jvm/xmlParsing.scala
deleted file mode 100644
index e4270f8877..0000000000
--- a/test/files/jvm/xmlParsing.scala
+++ /dev/null
@@ -1,52 +0,0 @@
-//############################################################################
-// XML Parsing
-//############################################################################
-// $Id$
-
-import scala.testing.UnitTest._ ;
-
-import scala.xml._ ;
-
-/** this file test just succesful run of the parser. There are no checks whether
- * the encoding to Scala expressions is done correctly
- */
-object Test with Application {
-
- val x0 = <hello/>;
- val x1s = <foo></foo>.toString();
- val x2 = <foo><bar><baz/></bar><bar/></foo>.toString();
-
- /* whitespace (ws) handling */
-
- val x3 = <hello > </hello>.toString(); /* ws in tags allowed */
-
- val x4 = <hello>
- <world></world>
- <test/>
- <mars></mars></hello>.toString(); /* ws in element content */
-
- /* attributes */
-
- val z = <html>
- <body background="#FFFFFF">
- <h1>Hello World</h1>
- <p>Check the <a href="scala.epfl.ch">scala</a> page!</p>
- </body>
- </html>.toString();
-
- val ent = <foo>
- hello &nbsp; character entities!
- welcome &#0160; unicode characters!
- </foo>;
-
-
- val foo = <a/><b/><c/>;
-
-
- val foo2 = foo match {
- case <a/><b/> => 1
- case <a></a><b></b><c></c> => 2
- case Seq(Elem("a",_),Elem("b",_),Elem("c",_)) => 3
- };
-
-}