hacks for android stuff
This commit is contained in:
parent
cc5f683333
commit
6947b3e7d9
|
@ -81,13 +81,7 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
|||
x = HashSetFactory.make();
|
||||
x.add(ref("Ledu/mit/dynamic_dispatch/A", "f", "()Ljava/lang/String;"));
|
||||
uncalledFunctions.put("VirtualDispatch2.apk", x);
|
||||
|
||||
// TODO: remove once we understand the XML better
|
||||
x = HashSetFactory.make();
|
||||
x.add(ref("Lde/ecspride/Button2", "clickOnButton3", "(Landroid/view/View;)V"));
|
||||
uncalledFunctions.put("Button2.apk", x);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public static Set<IMethod> assertUserCodeReachable(CallGraph cg, Set<MethodReference> uncalled) throws InvalidClassFileException {
|
||||
Set<IMethod> result = HashSetFactory.make();
|
||||
|
@ -143,6 +137,9 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
|||
// serialization issues
|
||||
skipTests.add("ServiceCommunication1.apk");
|
||||
skipTests.add("Parcel1.apk");
|
||||
|
||||
// Button2 has issues when using the fake Android jar
|
||||
skipTests.add("Button2.apk");
|
||||
}
|
||||
|
||||
public static Collection<Object[]> generateData(final URI[] androidLibs, final File androidJavaJar, final String filter) {
|
||||
|
|
Loading…
Reference in New Issue