Regression
info.textgrid.utils.linkrewriter.ConfigurableXMLRewriterTest.testAggregationReverseAndSpecialChars
Failing for the past 1 build
(Since Unstable )
Error Message
expected:<...cription rdf:about="[textgrid:about.0"> <ore:aggregates rdf:resource="textgrid:uri1.0"></ore:aggregates> <ore:aggregates rdf:resource="textgrid:uri2.0]"></ore:aggregates> ...> but was:<...cription rdf:about="[./about.aggregation"> <ore:aggregates rdf:resource="object 1öäü.xml"></ore:aggregates> <ore:aggregates rdf:resource="./folder/noch'n'folder/ob je ct2§$%.xml]"></ore:aggregates> ...>
Stacktrace
org.junit.ComparisonFailure: expected:<...cription rdf:about="[textgrid:about.0"> <ore:aggregates rdf:resource="textgrid:uri1.0"></ore:aggregates> <ore:aggregates rdf:resource="textgrid:uri2.0]"></ore:aggregates> ...> but was:<...cription rdf:about="[./about.aggregation"> <ore:aggregates rdf:resource="object 1öäü.xml"></ore:aggregates> <ore:aggregates rdf:resource="./folder/noch'n'folder/ob je ct2§$%.xml]"></ore:aggregates> ...> at org.junit.Assert.assertEquals(Assert.java:123) at org.junit.Assert.assertEquals(Assert.java:145) at info.textgrid.utils.linkrewriter.ConfigurableXMLRewriterTest.testAggregationReverseAndSpecialChars(ConfigurableXMLRewriterTest.java:336) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Standard Output
strings from aggregation file entries: a1: ./about.aggregation a2: object 1öäü.xml a3: ./folder/noch'n'folder/ob je ct2§$%.xml uris from strings as absoulte path: u1: file:/var/jenkins/workspace/link-rewriter/about.aggregation u2: file:/var/jenkins/workspace/link-rewriter/object%201öäü.xml u3: file:/var/jenkins/workspace/link-rewriter/folder/noch'n'folder/ob%20je%20ct2§$%25.xml base path: file:/var/jenkins/workspace/link-rewriter/ rewrite map: textgrid:about.0 = file:/var/jenkins/workspace/link-rewriter/about.aggregation textgrid:uri1.0 = file:/var/jenkins/workspace/link-rewriter/object%201öäü.xml textgrid:uri2.0 = file:/var/jenkins/workspace/link-rewriter/folder/noch'n'folder/ob%20je%20ct2§$%25.xml inAggr: <?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ore="http://www.openarchives.org/ore/terms/"> <rdf:Description rdf:about="./about.aggregation"> <ore:aggregates rdf:resource="object 1öäü.xml" /> <ore:aggregates rdf:resource="./folder/noch'n'folder/ob je ct2§$%.xml" /> </rdf:Description> </rdf:RDF> specialAggr: <?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ore="http://www.openarchives.org/ore/terms/"> <rdf:Description rdf:about="textgrid:about.0"> <ore:aggregates rdf:resource="textgrid:uri1.0"></ore:aggregates> <ore:aggregates rdf:resource="textgrid:uri2.0"></ore:aggregates> </rdf:Description> </rdf:RDF> result: <?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ore="http://www.openarchives.org/ore/terms/"> <rdf:Description rdf:about="./about.aggregation"> <ore:aggregates rdf:resource="object 1öäü.xml"></ore:aggregates> <ore:aggregates rdf:resource="./folder/noch'n'folder/ob je ct2§$%.xml"></ore:aggregates> </rdf:Description> </rdf:RDF>