Specify test_dir in the unit test.

Now that it's consistent, we can avoid extra build shenanigans.
This commit is contained in:
Michael Bayne
2014-11-17 14:06:48 -08:00
parent 3cb7407643
commit c066cbf044
3 changed files with 6 additions and 5 deletions
@@ -21,6 +21,11 @@ import com.samskivert.test.TestUtil;
public class SiteResourceLoaderTest
{
@BeforeClass
public static void setTestDir () {
System.setProperty("test_dir", "target/test-classes");
}
@Test
public void runTest ()
{
@@ -39,7 +44,7 @@ public class SiteResourceLoaderTest
} catch (IOException ioe) {
ioe.printStackTrace();
fail("Caught exception while testing resource loader.");
fail("Caught exception while testing resource loader: " + ioe);
}
}