summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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());