From 6e1747c335587f75470d10d8ed21e0060c6e436f Mon Sep 17 00:00:00 2001 From: buraq Date: Tue, 30 Mar 2004 17:05:46 +0000 Subject: added test case for character and entity refere... added test case for character and entity reference parsing --- test/files/run/xmlRef.check | 2 ++ test/files/run/xmlRef.flags | 1 + test/files/run/xmlRef.scala | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 test/files/run/xmlRef.check create mode 100644 test/files/run/xmlRef.flags create mode 100644 test/files/run/xmlRef.scala (limited to 'test/files/run') diff --git a/test/files/run/xmlRef.check b/test/files/run/xmlRef.check new file mode 100644 index 0000000000..049f160175 --- /dev/null +++ b/test/files/run/xmlRef.check @@ -0,0 +1,2 @@ +{ + { diff --git a/test/files/run/xmlRef.flags b/test/files/run/xmlRef.flags new file mode 100644 index 0000000000..49cf1af47f --- /dev/null +++ b/test/files/run/xmlRef.flags @@ -0,0 +1 @@ +-Xmarkup diff --git a/test/files/run/xmlRef.scala b/test/files/run/xmlRef.scala new file mode 100644 index 0000000000..47bc5dd6dd --- /dev/null +++ b/test/files/run/xmlRef.scala @@ -0,0 +1,23 @@ +//############################################################################ +// 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 x1s = {.toString(); + + Console.println( x1s ); + + val x2 =  {.toString(); + + Console.println( x2 ); + +} -- cgit v1.2.3