From: Jonatan Kronqvist Date: Wed, 24 Aug 2011 11:14:51 +0000 (+0000) Subject: Fixes a relative path error in the LicenseInJavaFiles test X-Git-Tag: 6.7.0.beta1~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b306e79d4e91967bbfe9815590911cbb34a5cac2;p=vaadin-framework.git Fixes a relative path error in the LicenseInJavaFiles test svn changeset:20611/svn branch:6.7 --- 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());