Skip to content

Commit

Permalink
added a test case for the return parameter problem in the dataflow en…
Browse files Browse the repository at this point in the history
…gine
  • Loading branch information
StevenArzt committed Oct 29, 2014
1 parent 8fae371 commit 362bb7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@ public void runTest2() throws IOException, XmlPullParserException {
Assert.assertEquals(1, res.size());
}

@Test
public void runReturnParameterTest() throws IOException, XmlPullParserException {
InfoflowResults res = analyzeAPKFile
("testAPKs/ReturnParameterTest.apk", false, false, false);
Assert.assertTrue(res == null || res.isEmpty());
}

}
Binary file added testAPKs/ReturnParameterTest.apk
Binary file not shown.

0 comments on commit 362bb7c

Please sign in to comment.