aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/test-resources
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2022-09-12 15:55:30 +0200
committersonartech <sonartech@sonarsource.com>2022-09-16 20:03:14 +0000
commit3fdcf61545c23a2ae219fd8c8f44b44085f19aef (patch)
treeb60d0bd088a5222f549811b66bfd85d09f348239 /sonar-scanner-engine/test-resources
parent16b2a8daecf6ec8473109048b723c1042a50be7d (diff)
downloadsonarqube-3fdcf61545c23a2ae219fd8c8f44b44085f19aef.tar.gz
sonarqube-3fdcf61545c23a2ae219fd8c8f44b44085f19aef.zip
SONAR-17288 add medium tests
Diffstat (limited to 'sonar-scanner-engine/test-resources')
-rw-r--r--sonar-scanner-engine/test-resources/mediumtest/xoo/sample-multiline/xources/hello/FlowTypes.xoo11
1 files changed, 11 insertions, 0 deletions
diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-multiline/xources/hello/FlowTypes.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-multiline/xources/hello/FlowTypes.xoo
new file mode 100644
index 00000000000..7436df4b820
--- /dev/null
+++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-multiline/xources/hello/FlowTypes.xoo
@@ -0,0 +1,11 @@
+package hello;
+
+public class HelloJava {
+
+ public static void main(String[] args) {
+ {xoo-start-issue:1}System.out.println("Hello"){xoo-end-issue:1};
+ {xoo-start-data-flow:1:1:1}System.out.println("World"){xoo-end-data-flow:1:1:1};
+ {xoo-start-flow:1:2:1}System.out.println("World"){xoo-end-flow:1:2:1};
+ {xoo-start-execution-flow:1:3:1}System.out.println("World"){xoo-end-execution-flow:1:3:1};
+ }
+}