The Unified and Autonomous Development Platform
added basic, but broken on my machine, test
Daniel Gollings716bbb71371a
diff --git a/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/JUnitReportParserTest.java b/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/JUnitReportParserTest.javaindex 16f0209fae..13ddacefaa 100644--- a/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/JUnitReportParserTest.java+++ b/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/JUnitReportParserTest.java@@ -73,6 +73,51 @@ public class JUnitReportParserTest extends AppLoaderMocker {throw new RuntimeException(e);}}++// FIXME always get a org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException+// @Test+// public void testJUnitReport() {+// try (InputStream is = Resources.getResource(JUnitReportParserTest.class, "test-results.xml").openStream()) {+// Mockito.when(AppLoader.getInstance(CodeSearchManager.class)).thenReturn(new CodeSearchManager() {+//+// @Override+// public List<QueryHit> search(Project project, ObjectId commit, BlobQuery query)+// throws InterruptedException, TooGeneralQueryException {+// return null;+// }+//+// @Override+// public List<Symbol> getSymbols(Project project, ObjectId blobId, String blobPath) {+// return null;+// }+//+// @Override+// public List<Symbol> getSymbols(IndexSearcher searcher, ObjectId blobId, String blobPath) {+// return null;+// }+//+// @Override+// public String findBlobPath(Project project, ObjectId commit, String fileName, String partialBlobPath) {+// return "Test.java";+// }+//+// });+//+// Build build = new Build();+// build.setCommitHash(ObjectId.zeroId().name());+//+// SAXReader reader = new SAXReader();+// UnitTestReport report = new UnitTestReport(JUnitReportParser.parse(build, reader.read(is)), true);+//+// assertEquals(2, report.getTestSuites().size());+// assertEquals(2, report.getTestCases(null, null, Sets.newSet(Status.PASSED)).size());+// assertEquals(4, report.getTestCases(null, null, Sets.newSet(Status.FAILED)).size());+// assertEquals(2, report.getTestCases(null, null, Sets.newSet(Status.SKIPPED)).size());+//+// } catch (IOException|DocumentException e) {+// throw new RuntimeException(e);+// }+// }@Overrideprotected void setup() {diff --git a/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/test-results.xml b/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/test-results.xmlnew file mode 100644index 0000000000..292a472ac0--- /dev/null+++ b/server-plugin/server-plugin-report-junit/src/test/java/io/onedev/server/plugin/report/junit/test-results.xml@@ -0,0 +1,305 @@+<?xml version="1.0" encoding="UTF-8" ?>+<testsuites>+ <testsuite tests="4" failures="1" name="io.onedev.commons.utils.PathUtilsTest" time="0.007" errors="1">+ <properties>+ <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>+ <property name="sun.boot.library.path"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib"/>+ <property name="java.vm.version" value="25.291-b10"/>+ <property name="gopherProxySet" value="false"/>+ <property name="java.vm.vendor" value="Oracle Corporation"/>+ <property name="maven.multiModuleProjectDirectory"+ value="/Users/robin/Projects/onedev/reports/junit4-demo"/>+ <property name="java.vendor.url" value="http://java.oracle.com/"/>+ <property name="path.separator" value=":"/>+ <property name="guice.disable.misplaced.annotation.check" value="true"/>+ <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>+ <property name="file.encoding.pkg" value="sun.io"/>+ <property name="user.country" value="CN"/>+ <property name="sun.java.launcher" value="SUN_STANDARD"/>+ <property name="sun.os.patch.level" value="unknown"/>+ <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>+ <property name="user.dir" value="/Users/robin/Projects/onedev/reports/junit4-demo"/>+ <property name="java.runtime.version" value="1.8.0_291-b10"/>+ <property name="java.awt.graphicsenv" value="sun.awt.CGraphicsEnvironment"/>+ <property name="java.endorsed.dirs"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/endorsed"/>+ <property name="os.arch" value="x86_64"/>+ <property name="java.io.tmpdir" value="/var/folders/3x/3ytfjltd6cx8ty9v80d6hysr0000gn/T/"/>+ <property name="line.separator" value="+"/>+ <property name="java.vm.specification.vendor" value="Oracle Corporation"/>+ <property name="os.name" value="Mac OS X"/>+ <property name="classworlds.conf" value="/usr/local/Cellar/maven/3.8.1/libexec/bin/m2.conf"/>+ <property name="sun.jnu.encoding" value="UTF-8"/>+ <property name="java.library.path"+ value="/Users/robin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>+ <property name="maven.conf" value="/usr/local/Cellar/maven/3.8.1/libexec/conf"/>+ <property name="java.specification.name" value="Java Platform API Specification"/>+ <property name="java.class.version" value="52.0"/>+ <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>+ <property name="os.version" value="10.16"/>+ <property name="library.jansi.path" value="/usr/local/Cellar/maven/3.8.1/libexec/lib/jansi-native"/>+ <property name="http.nonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="user.home" value="/Users/robin"/>+ <property name="user.timezone" value="Asia/Shanghai"/>+ <property name="java.awt.printerjob" value="sun.lwawt.macosx.CPrinterJob"/>+ <property name="java.specification.version" value="1.8"/>+ <property name="file.encoding" value="UTF-8"/>+ <property name="user.name" value="robin"/>+ <property name="java.class.path"+ value="/usr/local/Cellar/maven/3.8.1/libexec/boot/plexus-classworlds-2.6.0.jar"/>+ <property name="java.vm.specification.version" value="1.8"/>+ <property name="sun.arch.data.model" value="64"/>+ <property name="java.home" value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre"/>+ <property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher test"/>+ <property name="java.specification.vendor" value="Oracle Corporation"/>+ <property name="user.language" value="en"/>+ <property name="awt.toolkit" value="sun.lwawt.macosx.LWCToolkit"/>+ <property name="java.vm.info" value="mixed mode"/>+ <property name="java.version" value="1.8.0_291"/>+ <property name="java.ext.dirs"+ value="/Users/robin/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/>+ <property name="sun.boot.class.path"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/classes"/>+ <property name="java.vendor" value="Oracle Corporation"/>+ <property name="maven.home" value="/usr/local/Cellar/maven/3.8.1/libexec"/>+ <property name="file.separator" value="/"/>+ <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>+ <property name="sun.cpu.endian" value="little"/>+ <property name="sun.io.unicode.encoding" value="UnicodeBig"/>+ <property name="socksNonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="ftp.nonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="sun.cpu.isalist" value=""/>+ </properties>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldMatchSegments" time="0"/>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="testResolveSibling" time="0.002">+ <failure message="expected:<world[]> but was:<world[2]>" type="org.junit.ComparisonFailure">+ org.junit.ComparisonFailure: expected:<world[]> but was:<world[2]>+ at org.junit.Assert.assertEquals(Assert.java:115)+ at org.junit.Assert.assertEquals(Assert.java:144)+ at io.onedev.commons.utils.PathUtilsTest.testResolveSibling(PathUtilsTest.java:44)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)+ at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)+ at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)+ at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)+ at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)+ at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)+ </failure>+ </testcase>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldMatchLongest" time="0.002">+ <skipped/>+ </testcase>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldParseRelative" time="0.003">+ <error message="OOPS!" type="java.lang.RuntimeException">java.lang.RuntimeException: OOPS!+ at io.onedev.commons.utils.PathUtilsTest.shouldParseRelative(PathUtilsTest.java:58)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)+ at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)+ at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)+ at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)+ at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)+ at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)+ </error>+ </testcase>+ </testsuite>+ <testsuite tests="4" failures="1" name="io.onedev.commons.utils.PathUtilsTest" time="0.007" errors="1">+ <properties>+ <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>+ <property name="sun.boot.library.path"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib"/>+ <property name="java.vm.version" value="25.291-b10"/>+ <property name="gopherProxySet" value="false"/>+ <property name="java.vm.vendor" value="Oracle Corporation"/>+ <property name="maven.multiModuleProjectDirectory"+ value="/Users/robin/Projects/onedev/reports/junit4-demo"/>+ <property name="java.vendor.url" value="http://java.oracle.com/"/>+ <property name="path.separator" value=":"/>+ <property name="guice.disable.misplaced.annotation.check" value="true"/>+ <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>+ <property name="file.encoding.pkg" value="sun.io"/>+ <property name="user.country" value="CN"/>+ <property name="sun.java.launcher" value="SUN_STANDARD"/>+ <property name="sun.os.patch.level" value="unknown"/>+ <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>+ <property name="user.dir" value="/Users/robin/Projects/onedev/reports/junit4-demo"/>+ <property name="java.runtime.version" value="1.8.0_291-b10"/>+ <property name="java.awt.graphicsenv" value="sun.awt.CGraphicsEnvironment"/>+ <property name="java.endorsed.dirs"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/endorsed"/>+ <property name="os.arch" value="x86_64"/>+ <property name="java.io.tmpdir" value="/var/folders/3x/3ytfjltd6cx8ty9v80d6hysr0000gn/T/"/>+ <property name="line.separator" value="+"/>+ <property name="java.vm.specification.vendor" value="Oracle Corporation"/>+ <property name="os.name" value="Mac OS X"/>+ <property name="classworlds.conf" value="/usr/local/Cellar/maven/3.8.1/libexec/bin/m2.conf"/>+ <property name="sun.jnu.encoding" value="UTF-8"/>+ <property name="java.library.path"+ value="/Users/robin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."/>+ <property name="maven.conf" value="/usr/local/Cellar/maven/3.8.1/libexec/conf"/>+ <property name="java.specification.name" value="Java Platform API Specification"/>+ <property name="java.class.version" value="52.0"/>+ <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>+ <property name="os.version" value="10.16"/>+ <property name="library.jansi.path" value="/usr/local/Cellar/maven/3.8.1/libexec/lib/jansi-native"/>+ <property name="http.nonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="user.home" value="/Users/robin"/>+ <property name="user.timezone" value="Asia/Shanghai"/>+ <property name="java.awt.printerjob" value="sun.lwawt.macosx.CPrinterJob"/>+ <property name="java.specification.version" value="1.8"/>+ <property name="file.encoding" value="UTF-8"/>+ <property name="user.name" value="robin"/>+ <property name="java.class.path"+ value="/usr/local/Cellar/maven/3.8.1/libexec/boot/plexus-classworlds-2.6.0.jar"/>+ <property name="java.vm.specification.version" value="1.8"/>+ <property name="sun.arch.data.model" value="64"/>+ <property name="java.home" value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre"/>+ <property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher test"/>+ <property name="java.specification.vendor" value="Oracle Corporation"/>+ <property name="user.language" value="en"/>+ <property name="awt.toolkit" value="sun.lwawt.macosx.LWCToolkit"/>+ <property name="java.vm.info" value="mixed mode"/>+ <property name="java.version" value="1.8.0_291"/>+ <property name="java.ext.dirs"+ value="/Users/robin/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java"/>+ <property name="sun.boot.class.path"+ value="/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/jre/classes"/>+ <property name="java.vendor" value="Oracle Corporation"/>+ <property name="maven.home" value="/usr/local/Cellar/maven/3.8.1/libexec"/>+ <property name="file.separator" value="/"/>+ <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>+ <property name="sun.cpu.endian" value="little"/>+ <property name="sun.io.unicode.encoding" value="UnicodeBig"/>+ <property name="socksNonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="ftp.nonProxyHosts"+ value="local|*.local|169.254/16|*.169.254/16|192.168/16|*.192.168/16|localhost|*.localhost|matrix|*.matrix|ubuntu|*.ubuntu|lark|*.lark|saturn.local|*.saturn.local|mimas|*.mimas"/>+ <property name="sun.cpu.isalist" value=""/>+ </properties>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldMatchSegments" time="0"/>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="testResolveSibling" time="0.002">+ <failure message="expected:<world[]> but was:<world[2]>" type="org.junit.ComparisonFailure">+ org.junit.ComparisonFailure: expected:<world[]> but was:<world[2]>+ at org.junit.Assert.assertEquals(Assert.java:115)+ at org.junit.Assert.assertEquals(Assert.java:144)+ at io.onedev.commons.utils.PathUtilsTest.testResolveSibling(PathUtilsTest.java:44)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)+ at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)+ at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)+ at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)+ at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)+ at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)+ </failure>+ </testcase>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldMatchLongest" time="0.002">+ <skipped/>+ </testcase>+ <testcase classname="io.onedev.commons.utils.PathUtilsTest" name="shouldParseRelative" time="0.003">+ <error message="OOPS!" type="java.lang.RuntimeException">java.lang.RuntimeException: OOPS!+ at io.onedev.commons.utils.PathUtilsTest.shouldParseRelative(PathUtilsTest.java:58)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)+ at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)+ at org.junit.runners.ParentRunner.run(ParentRunner.java:309)+ at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)+ at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)+ at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+ at java.lang.reflect.Method.invoke(Method.java:498)+ at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)+ at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)+ at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)+ at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)+ at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)+ </error>+ </testcase>+ </testsuite>+</testsuites>