You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2014/09/24 17:49:29 UTC
[2/2] git commit: MARMOTTA-508 - skip test if creating the report-dir
fails.
MARMOTTA-508 - skip test if creating the report-dir fails.
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/97ba8cb9
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/97ba8cb9
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/97ba8cb9
Branch: refs/heads/develop
Commit: 97ba8cb9a10b9f71ac48cd160fc18bff73d10376
Parents: 28913e9
Author: Jakob Frank <ja...@apache.org>
Authored: Tue Sep 23 15:17:58 2014 +0200
Committer: Jakob Frank <ja...@apache.org>
Committed: Wed Sep 24 17:39:18 2014 +0200
----------------------------------------------------------------------
.../test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/97ba8cb9/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java
index 527906f..f0492c5 100644
--- a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java
+++ b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/LdpSuiteTest.java
@@ -164,7 +164,7 @@ public class LdpSuiteTest {
String relPath = getClass().getProtectionDomain().getCodeSource().getLocation().getFile();
File targetDir = new File(relPath, "ldp-testsuite");
if(!targetDir.exists()) {
- targetDir.mkdir();
+ Assume.assumeTrue("Could not create report-directory", targetDir.mkdir());
}
return targetDir;
}