summaryrefslogtreecommitdiffstats
path: root/idrop-swing
diff options
context:
space:
mode:
authormconway <michael.c.conway@gmail.com>2012-03-28 16:45:35 (GMT)
committer mconway <michael.c.conway@gmail.com>2012-03-28 16:45:35 (GMT)
commit45476b4771ef8f4935652f8dd2cca0c875ea2366 (patch)
treed1386fbf9544e5f24762b3bc74b580f58a9ecd7d /idrop-swing
parent5721c1d499ab343275b4408e2ab6aeb609172303 (diff)
downloadQCG-Data-45476b4771ef8f4935652f8dd2cca0c875ea2366.zip
QCG-Data-45476b4771ef8f4935652f8dd2cca0c875ea2366.tar.gz
QCG-Data-45476b4771ef8f4935652f8dd2cca0c875ea2366.tar.bz2
[#694] switch the grails build to gradle and away from maven plug-in
Diffstat (limited to 'idrop-swing')
-rw-r--r--idrop-swing/src/test/java/org/irods/jargon/idrop/desktop/systraygui/services/IdropPreDatabaseBootstrapperServiceImplTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/idrop-swing/src/test/java/org/irods/jargon/idrop/desktop/systraygui/services/IdropPreDatabaseBootstrapperServiceImplTest.java b/idrop-swing/src/test/java/org/irods/jargon/idrop/desktop/systraygui/services/IdropPreDatabaseBootstrapperServiceImplTest.java
index 43ba3ac..b5a1656 100644
--- a/idrop-swing/src/test/java/org/irods/jargon/idrop/desktop/systraygui/services/IdropPreDatabaseBootstrapperServiceImplTest.java
+++ b/idrop-swing/src/test/java/org/irods/jargon/idrop/desktop/systraygui/services/IdropPreDatabaseBootstrapperServiceImplTest.java
@@ -4,6 +4,7 @@
*/
package org.irods.jargon.idrop.desktop.systraygui.services;
+import java.io.File;
import java.util.Properties;
import junit.framework.TestCase;
import org.irods.jargon.idrop.desktop.systraygui.IDROPCore;
@@ -64,7 +65,9 @@ public class IdropPreDatabaseBootstrapperServiceImplTest {
@Test
public void testDetectPriorVersionWhenNotSet() throws Exception {
String testIdropSubdir = "testDetectPriorVersionWhenNotSet";
- String absPath = scratchFileUtils.createAndReturnAbsoluteScratchPath(TESTING_SUBDIR);
+ String absPath = scratchFileUtils.createAndReturnAbsoluteScratchPath(TESTING_SUBDIR + "/" + testIdropSubdir);
+ File versionFile = new File(absPath);
+ versionFile.delete();
String returnedVersion = preDatabaseBootstrapperService.detectPriorVersion(absPath);
TestCase.assertNull("should not get a version back", returnedVersion);
}