summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-24 11:14:51 +0000
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-24 11:14:51 +0000
commitb306e79d4e91967bbfe9815590911cbb34a5cac2 (patch)
treefc75101fdd4659d3a998148265675853e1430603
parentbd0df87dabc8b66877d54e576d89de0ba3d8ad9e (diff)
downloadvaadin-framework-b306e79d4e91967bbfe9815590911cbb34a5cac2.tar.gz
vaadin-framework-b306e79d4e91967bbfe9815590911cbb34a5cac2.zip
Fixes a relative path error in the LicenseInJavaFiles test
svn changeset:20611/svn branch:6.7
-rw-r--r--tests/src/com/vaadin/tests/server/LicenseInJavaFiles.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/com/vaadin/tests/server/LicenseInJavaFiles.java b/tests/src/com/vaadin/tests/server/LicenseInJavaFiles.java
index 5307da3abe..8c1b555b0d 100644
--- a/tests/src/com/vaadin/tests/server/LicenseInJavaFiles.java
+++ b/tests/src/com/vaadin/tests/server/LicenseInJavaFiles.java
@@ -12,6 +12,11 @@ import org.apache.commons.io.IOUtils;
public class LicenseInJavaFiles extends TestCase {
+ /**
+ * The tests are run in the build directory.
+ */
+ public static String SRC_DIR = "../src";
+
public void testJavaFilesContainsLicense() throws IOException {
File srcDir = new File("src");
System.out.println(new File(".").getAbsolutePath());