diff test/org/tmatesoft/hg/test/Configuration.java @ 269:7af843ecc378

Respect glob pattern with alternatives {a,b}
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 23 Aug 2011 23:47:38 +0200
parents 883f1efbcf27
children b015f3918120
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/Configuration.java	Tue Aug 23 22:30:56 2011 +0200
+++ b/test/org/tmatesoft/hg/test/Configuration.java	Tue Aug 23 23:47:38 2011 +0200
@@ -39,6 +39,7 @@
 	private final HgLookup lookup;
 	private File tempDir;
 	private List<String> remoteServers;
+	private File testDataDir;
 	
 	private Configuration() {
 		lookup = new HgLookup();
@@ -98,4 +99,11 @@
 		}
 		return tempDir;
 	}
+	
+	public File getTestDataDir() {
+		if (testDataDir == null) {
+			testDataDir = new File(System.getProperty("user.dir"), "test-data");
+		}
+		return testDataDir;
+	}
 }