deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [1/2] deltaspike git commit: DELTASPIKE-1253 fix broken unit test on windows
Date Tue, 23 May 2017 14:15:12 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master a9dd74e39 -> d1cc650d6


DELTASPIKE-1253 fix broken unit test on windows


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/63ee99e3
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/63ee99e3
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/63ee99e3

Branch: refs/heads/master
Commit: 63ee99e36a4a9676a1e477d3d898a206fde21a8e
Parents: a9dd74e
Author: Mark Struberg <struberg@apache.org>
Authored: Tue May 23 15:00:38 2017 +0200
Committer: Mark Struberg <struberg@apache.org>
Committed: Tue May 23 15:00:38 2017 +0200

----------------------------------------------------------------------
 .../core/api/config/propertyconfigsource/FileConfigSourceTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/63ee99e3/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/FileConfigSourceTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/FileConfigSourceTest.java
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/FileConfigSourceTest.java
index 65b61eb..a455c42 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/FileConfigSourceTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/FileConfigSourceTest.java
@@ -82,7 +82,7 @@ public class FileConfigSourceTest
                 FileWriter fw = new FileWriter(tempFile);
                 fw.write("deltaspike.test.config.from.file=it works");
                 fw.close();
-                configFileLocation = "file://" + tempFile.getCanonicalPath();
+                configFileLocation = tempFile.toURI().toURL().toExternalForm();
             }
             catch (IOException e)
             {


Mime
View raw message