mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Java: Inline models as data expected output as comments in the java files and add a test.
This commit is contained in:
@@ -1,21 +1,22 @@
|
||||
package p;
|
||||
|
||||
public class InnerClasses {
|
||||
|
||||
class IgnoreMe {
|
||||
public String no(String input) {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
||||
public class CaptureMe {
|
||||
public String yesCm(String input) {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
||||
public String yes(String input) {
|
||||
return input;
|
||||
class IgnoreMe {
|
||||
public String no(String input) {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
||||
public class CaptureMe {
|
||||
// MaD=p;InnerClasses$CaptureMe;true;yesCm;(String);;Argument[0];ReturnValue;taint;df-generated
|
||||
public String yesCm(String input) {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
||||
// MaD=p;InnerClasses;true;yes;(String);;Argument[0];ReturnValue;taint;df-generated
|
||||
public String yes(String input) {
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user