Fix the directory names used in test suite for relocated sources

This commit is contained in:
Havoc Pennington 2011-11-26 20:33:06 -05:00
parent 93b87097fd
commit 70fad92b50
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import org.junit.runners.AllTests
class EquivalentsTest extends TestUtils {
private def equivDirs() = {
val resourceDir = new File("src/test/resources")
val resourceDir = new File("config/src/test/resources")
if (!resourceDir.exists())
throw new RuntimeException("This test can only be run from the project's root directory")
val rawEquivs = resourceDir.listFiles()

View File

@ -221,7 +221,7 @@ class PublicApiTest extends TestUtils {
}
private def resourceFile(filename: String) = {
val resourceDir = new File("src/test/resources")
val resourceDir = new File("config/src/test/resources")
if (!resourceDir.exists())
throw new RuntimeException("This test can only be run from the project's root directory")
new File(resourceDir, filename)