changes for mobile tests
This commit is contained in:
parent
b7cf88e214
commit
7b604da0b4
|
@ -111,7 +111,7 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
||||||
|
|
||||||
private final File androidJavaJar;
|
private final File androidJavaJar;
|
||||||
|
|
||||||
public final String apkFile;
|
private final String apkFile;
|
||||||
|
|
||||||
private final Set<MethodReference> uncalled;
|
private final Set<MethodReference> uncalled;
|
||||||
|
|
||||||
|
@ -122,6 +122,10 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
||||||
this.uncalled = uncalled;
|
this.uncalled = uncalled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String apkFile() {
|
||||||
|
return apkFile;
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void runTest() throws IOException, ClassHierarchyException, CancelException, InvalidClassFileException, IllegalArgumentException, URISyntaxException {
|
public void runTest() throws IOException, ClassHierarchyException, CancelException, InvalidClassFileException, IllegalArgumentException, URISyntaxException {
|
||||||
System.err.println("testing " + apkFile + "...");
|
System.err.println("testing " + apkFile + "...");
|
||||||
|
@ -174,4 +178,4 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
||||||
} }, new File(droidBenchRoot + "/apk/"));
|
} }, new File(droidBenchRoot + "/apk/"));
|
||||||
return files;
|
return files;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue