Fixed: Cannot run ComponentContainerTest on windows
(OFBIZ-11331)
Running ComponentContainerTest on windows fails due to parsing of paths of the
form '/c:/dev/....'
org.apache.ofbiz.base.container.ComponentContainerTest >
testCheckDependencyForComponent FAILED
java.nio.file.InvalidPathException at ComponentContainerTest.java:44
Line 44:
private Path ofbizHome = Paths.get(ComponentContainerTest.class.getResource
("testsdata").getFile()).toAbsolutePath().normalize();
PR created: #8
Thanks: Daniel WatfordNina Simone - My Baby Just Cares For Me.mp3
This commit is contained in:
+1
-2
@@ -43,8 +43,7 @@ public class ComponentContainerTest {
|
||||
private Path ofbizHome = Paths.get(ComponentContainerTest.class.getResource("testsdata").toURI())
|
||||
.toAbsolutePath().normalize();
|
||||
|
||||
public ComponentContainerTest() throws URISyntaxException {
|
||||
}
|
||||
public ComponentContainerTest() throws URISyntaxException {}
|
||||
|
||||
@Before
|
||||
public void setUp() throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user