aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-10-25 21:08:57 +0200
committernickl- <github@jigsoft.co.za>2017-10-27 17:40:48 +0200
commit6a8f1acef3be306ef770db70bb0d4a2143a17deb (patch)
treedbd4ace95e5a12b4f755b99e38408dcbe41b1b53 /src/test
parente41e0790c0cb073e9e2e30071afecfcdc4621d42 (diff)
downloadjavassist-6a8f1acef3be306ef770db70bb0d4a2143a17deb.tar.gz
javassist-6a8f1acef3be306ef770db70bb0d4a2143a17deb.zip
Move runtests to build directory.
Move the test output folder 'runtests' to target or build directory so that mvn clean can clean that.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/javassist/JvstTest4.java2
-rw-r--r--src/test/javassist/JvstTestRoot.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java
index 467caf2b..a9607e8b 100644
--- a/src/test/javassist/JvstTest4.java
+++ b/src/test/javassist/JvstTest4.java
@@ -628,7 +628,7 @@ public class JvstTest4 extends JvstTestRoot {
assertEquals(packageName, obj.getClass().getPackage().getName());
}
- public static final String BASE_PATH = "../";
+ public static final String BASE_PATH = "../../";
public static final String JAVASSIST_JAR = BASE_PATH + "javassist.jar";
public static final String CLASSES_FOLDER = BASE_PATH + "build/classes";
public static final String TEST_CLASSES_FOLDER = BASE_PATH + "build/test-classes";
diff --git a/src/test/javassist/JvstTestRoot.java b/src/test/javassist/JvstTestRoot.java
index 118e8511..69f4a6ae 100644
--- a/src/test/javassist/JvstTestRoot.java
+++ b/src/test/javassist/JvstTestRoot.java
@@ -5,10 +5,10 @@ import java.lang.reflect.Method;
public class JvstTestRoot extends TestCase {
// the directory where all compiled class files are found.
- public static final String PATH = "../target/test-classes/";
+ public static final String PATH = "../../target/test-classes/";
// the directory where javassist.jar is found.
- public static final String JAR_PATH = "../";
+ public static final String JAR_PATH = "../../";
ClassPool sloader, dloader;
Loader cloader;