diff options
author | Burak Emir <emir@epfl.ch> | 2006-12-03 00:32:39 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-12-03 00:32:39 +0000 |
commit | ccb5bd1da84a8ae09bee61e16f08ca9d726b3270 (patch) | |
tree | 5cf4586be40870b0ca9389c0b15317bf970e9737 /test/files/run/unittest_xml.scala | |
parent | 6cffd12cb90c8353ccd8581a712bffb52a7b4c59 (diff) | |
download | scala-ccb5bd1da84a8ae09bee61e16f08ca9d726b3270.tar.gz scala-ccb5bd1da84a8ae09bee61e16f08ca9d726b3270.tar.bz2 scala-ccb5bd1da84a8ae09bee61e16f08ca9d726b3270.zip |
more on Xkilloption, and a PM fix
Diffstat (limited to 'test/files/run/unittest_xml.scala')
-rw-r--r-- | test/files/run/unittest_xml.scala | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/files/run/unittest_xml.scala b/test/files/run/unittest_xml.scala index 5f7c523996..99284f144e 100644 --- a/test/files/run/unittest_xml.scala +++ b/test/files/run/unittest_xml.scala @@ -2,9 +2,14 @@ object Test { import scala.testing.SUnit._ - import scala.xml.{MetaData, Null, PrefixedAttribute, UnprefixedAttribute } + import scala.xml.{MetaData, Null, Parsing, PrefixedAttribute, UnprefixedAttribute } - class MetaDataTest extends TestCase("collection.mutable.ArrayBuffer") with Assert { + class ParsingTest extends TestCase("scala.xml.Parsing") with Assert { + override def runTest = { + assertTrue(Parsing.isNameStart('b')) + } + } + class MetaDataTest extends TestCase("scala.xml.MetaData") with Assert { import scala.xml.{TopScope, NamespaceBinding, Atom, Text } @@ -44,6 +49,7 @@ object Test { def main(args:Array[String]) = { val ts = new TestSuite( + new ParsingTest, new MetaDataTest //, ) val tr = new TestResult() |