xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Peter Murray-Rust <pm286 AT cam.ac.uk>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] Apparent Bug in XOMTestCase
- Date: Sun, 20 Sep 2009 21:52:44 +0100
I am running tests in Eclipse using XOM 1.2.3 and Java 1.6 and have got the
following error. I have managed to reach an unreachable statement. I don't
know how easy it will be to cut down the code which reproduces this. Is this
a known problem or does it need further exploring?
java.lang.RuntimeException: Bug in XOMTestCase: this statement should not be
reachable
at nu.xom.tests.XOMTestCase.getNonTextNode(XOMTestCase.java:436)
at nu.xom.tests.XOMTestCase.compareChildren(XOMTestCase.java:418)
at nu.xom.tests.XOMTestCase.assertEquals(XOMTestCase.java:365)
at org.xmlcml.util.TestUtils.assertEqualsCanonically(TestUtils.java:185)
at org.xmlcml.util.TestUtils.assertEqualsCanonically(TestUtils.java:166)
at
org.xmlcml.cml.converters.marker.regex.RegexTest.testTaggingSimple(RegexTest.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
at
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
-
[XOM-interest] Apparent Bug in XOMTestCase,
Peter Murray-Rust, 09/20/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Elliotte Rusty Harold, 09/20/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Peter Murray-Rust, 09/21/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Elliotte Rusty Harold, 09/21/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Peter Murray-Rust, 09/22/2009
- Re: [XOM-interest] Apparent Bug in XOMTestCase, Egon Willighagen, 09/22/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Peter Murray-Rust, 09/22/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Elliotte Rusty Harold, 09/21/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Peter Murray-Rust, 09/21/2009
-
Re: [XOM-interest] Apparent Bug in XOMTestCase,
Elliotte Rusty Harold, 09/20/2009
Archive powered by MHonArc 2.6.24.