You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2020/01/28 17:36:05 UTC
[ofbiz-framework] branch trunk updated: Fixed: Cannot run
ComponentContainerTest on windows (OFBIZ-11331)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new c672c3a Fixed: Cannot run ComponentContainerTest on windows (OFBIZ-11331)
c672c3a is described below
commit c672c3a30453039b8b724ff8d604b244a4dde19f
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Tue Jan 28 18:36:06 2020 +0100
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
---
.../java/org/apache/ofbiz/base/container/ComponentContainerTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/framework/base/src/test/java/org/apache/ofbiz/base/container/ComponentContainerTest.java b/framework/base/src/test/java/org/apache/ofbiz/base/container/ComponentContainerTest.java
index cd70496..16a8c73 100644
--- a/framework/base/src/test/java/org/apache/ofbiz/base/container/ComponentContainerTest.java
+++ b/framework/base/src/test/java/org/apache/ofbiz/base/container/ComponentContainerTest.java
@@ -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 {
Re: [ofbiz-framework] branch trunk updated: Fixed: Cannot run
ComponentContainerTest on windows (OFBIZ-11331)
Posted by "jleroux@apache.org" <jl...@apache.org>.
Le 28/01/2020 à 18:36, jleroux@apache.org a écrit :
> commit c672c3a30453039b8b724ff8d604b244a4dde19f
> [...]
> PR created: #8
>
> Thanks: Daniel WatfordNina Simone - My Baby Just Cares For Me.mp3
Maybe some noticed, of course "Nina Simone" as nothing to do w/ that.
Just a C/P which inadvertently slipped in, while my machine was busy following me :D
Jacques