rename dynamic cg test

This commit is contained in:
Julian Dolby 2014-03-16 18:04:21 -04:00 committed by Michael Heilmann
parent 572d3ba6a2
commit 8f376ffe71
1 changed files with 3 additions and 3 deletions

View File

@ -37,9 +37,9 @@ import com.ibm.wala.types.TypeReference;
import com.ibm.wala.util.CancelException;
import com.ibm.wala.util.io.TemporaryFile;
public class DynamicCallGraphTests extends WalaTestCase {
public class DynamicCallGraphTest extends WalaTestCase {
private static final URL testJarLocation = DynamicCallGraphTests.class.getClassLoader().getResource("com.ibm.wala.core.testdata_1.0.0.jar");
private static final URL testJarLocation = DynamicCallGraphTest.class.getClassLoader().getResource("com.ibm.wala.core.testdata_1.0.0.jar");
private boolean instrumentedJarBuilt = false;
@ -54,7 +54,7 @@ public class DynamicCallGraphTests extends WalaTestCase {
private void run(String exclusionsFile) throws IOException, ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
String shrikeBin = new File("../com.ibm.wala.shrike/bin/").getCanonicalPath();
String utilBin = new File("../com.ibm.wala.util/bin/").getCanonicalPath();
URLClassLoader jcl = new URLClassLoader(new URL[]{ new URL("file:///tmp/test.jar"), new URL("file://" + shrikeBin + "/"), new URL("file://" + utilBin + "/") }, DynamicCallGraphTests.class.getClassLoader().getParent());
URLClassLoader jcl = new URLClassLoader(new URL[]{ new URL("file:///tmp/test.jar"), new URL("file://" + shrikeBin + "/"), new URL("file://" + utilBin + "/") }, DynamicCallGraphTest.class.getClassLoader().getParent());
Class<?> testClass = jcl.loadClass("dynamicCG.MainClass");
Assert.assertNotNull(testClass);