File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
soot-infoflow-summaries/test/soot/jimple/infoflow/test/methodSummary Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -585,16 +585,15 @@ public void stringConcatTest() {
585585 }
586586
587587 public void listIrrelevantItemTest () {
588- String secret = TelephonyManager . getDeviceId ();
588+ String secret = stringSource ();
589589
590590 List <Object > lvar = new ArrayList <>();
591591 Boolean bvar = true ;
592592
593593 lvar .add (secret ); // Adds tainted data to the list
594594 lvar .add (bvar );
595595
596- ConnectionManager cm = new ConnectionManager ();
597- cm .publish (bvar );
596+ sink (bvar );
598597 }
599598
600599}
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ public void stringConcatTest() {
338338
339339 @ Test (timeout = 30000 )
340340 public void listIrrelevantItemTest () {
341- testFlowForMethod ("<soot.jimple.infoflow.test.methodSummary.ApiClassClient: void listIrrelevantItemTest()>" , 1 );
341+ testNoFlowForMethod ("<soot.jimple.infoflow.test.methodSummary.ApiClassClient: void listIrrelevantItemTest()>" );
342342 }
343343
344344 @ Test
You can’t perform that action at this time.
0 commit comments