summaryrefslogtreecommitdiff
path: root/tests/testutils/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testutils/data')
-rw-r--r--tests/testutils/data/functional/broken_output_ok_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/broken_output_ok_test/exec_used.txt1
-rw-r--r--tests/testutils/data/functional/broken_output_wrong_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/broken_output_wrong_test/exec_used.txt1
-rw-r--r--tests/testutils/data/functional/no_output_ok_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/no_output_wrong_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/ok_output_ok_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/ok_output_ok_test/exec_used.txt1
-rw-r--r--tests/testutils/data/functional/ok_output_wrong_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/ok_output_wrong_test/exec_used.txt1
-rw-r--r--tests/testutils/data/functional/wrong_output_ok_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/wrong_output_ok_test/exec_used.txt1
-rw-r--r--tests/testutils/data/functional/wrong_output_wrong_test/exec_used.py7
-rw-r--r--tests/testutils/data/functional/wrong_output_wrong_test/exec_used.txt1
-rw-r--r--tests/testutils/data/m/max_overflow/max_overflow_1.py0
-rw-r--r--tests/testutils/data/m/max_overflow/max_overflow_2.py0
-rw-r--r--tests/testutils/data/m/max_overflow/max_overflow_3.py0
-rw-r--r--tests/testutils/data/u/_no_issue_here/_incredibly_bold_mischief.py0
18 files changed, 62 insertions, 0 deletions
diff --git a/tests/testutils/data/functional/broken_output_ok_test/exec_used.py b/tests/testutils/data/functional/broken_output_ok_test/exec_used.py
new file mode 100644
index 000000000..73d629d95
--- /dev/null
+++ b/tests/testutils/data/functional/broken_output_ok_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is broken
+- the functional test itself is right
+
+So it should be updated.
+"""
+exec('a = 42') # [exec-used]
diff --git a/tests/testutils/data/functional/broken_output_ok_test/exec_used.txt b/tests/testutils/data/functional/broken_output_ok_test/exec_used.txt
new file mode 100644
index 000000000..d74b20893
--- /dev/null
+++ b/tests/testutils/data/functional/broken_output_ok_test/exec_used.txt
@@ -0,0 +1 @@
+exec-used:UNDEFINED
diff --git a/tests/testutils/data/functional/broken_output_wrong_test/exec_used.py b/tests/testutils/data/functional/broken_output_wrong_test/exec_used.py
new file mode 100644
index 000000000..8b6c06a57
--- /dev/null
+++ b/tests/testutils/data/functional/broken_output_wrong_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is broken
+- the functional test itself is wrong
+
+So it cannot be updated.
+"""
+exec('a = 42')
diff --git a/tests/testutils/data/functional/broken_output_wrong_test/exec_used.txt b/tests/testutils/data/functional/broken_output_wrong_test/exec_used.txt
new file mode 100644
index 000000000..d74b20893
--- /dev/null
+++ b/tests/testutils/data/functional/broken_output_wrong_test/exec_used.txt
@@ -0,0 +1 @@
+exec-used:UNDEFINED
diff --git a/tests/testutils/data/functional/no_output_ok_test/exec_used.py b/tests/testutils/data/functional/no_output_ok_test/exec_used.py
new file mode 100644
index 000000000..59d19fec0
--- /dev/null
+++ b/tests/testutils/data/functional/no_output_ok_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that does not exist
+- the functional test itself is right
+
+So it should be created
+"""
+exec('a = 42') # [exec-used]
diff --git a/tests/testutils/data/functional/no_output_wrong_test/exec_used.py b/tests/testutils/data/functional/no_output_wrong_test/exec_used.py
new file mode 100644
index 000000000..d3b318ab7
--- /dev/null
+++ b/tests/testutils/data/functional/no_output_wrong_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that does not exist
+- the functional test itself is wrong
+
+So it cannot be created.
+"""
+exec('a = 42')
diff --git a/tests/testutils/data/functional/ok_output_ok_test/exec_used.py b/tests/testutils/data/functional/ok_output_ok_test/exec_used.py
new file mode 100644
index 000000000..049213dd4
--- /dev/null
+++ b/tests/testutils/data/functional/ok_output_ok_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is right
+- the functional test itself is right
+
+Nothing should be done.
+"""
+exec('a = 42') # [exec-used]
diff --git a/tests/testutils/data/functional/ok_output_ok_test/exec_used.txt b/tests/testutils/data/functional/ok_output_ok_test/exec_used.txt
new file mode 100644
index 000000000..6d0f82baf
--- /dev/null
+++ b/tests/testutils/data/functional/ok_output_ok_test/exec_used.txt
@@ -0,0 +1 @@
+exec-used:7:0:7:14::Use of exec:UNDEFINED
diff --git a/tests/testutils/data/functional/ok_output_wrong_test/exec_used.py b/tests/testutils/data/functional/ok_output_wrong_test/exec_used.py
new file mode 100644
index 000000000..3f8637228
--- /dev/null
+++ b/tests/testutils/data/functional/ok_output_wrong_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is right
+- the functional test itself is wrong
+
+Nothing should be done.
+"""
+exec('a = 42')
diff --git a/tests/testutils/data/functional/ok_output_wrong_test/exec_used.txt b/tests/testutils/data/functional/ok_output_wrong_test/exec_used.txt
new file mode 100644
index 000000000..6d0f82baf
--- /dev/null
+++ b/tests/testutils/data/functional/ok_output_wrong_test/exec_used.txt
@@ -0,0 +1 @@
+exec-used:7:0:7:14::Use of exec:UNDEFINED
diff --git a/tests/testutils/data/functional/wrong_output_ok_test/exec_used.py b/tests/testutils/data/functional/wrong_output_ok_test/exec_used.py
new file mode 100644
index 000000000..0874f0a15
--- /dev/null
+++ b/tests/testutils/data/functional/wrong_output_ok_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is wrong (but not broken)
+- the functional test itself is right
+
+So it needs to be updated.
+"""
+exec('a = 42') # [exec-used]
diff --git a/tests/testutils/data/functional/wrong_output_ok_test/exec_used.txt b/tests/testutils/data/functional/wrong_output_ok_test/exec_used.txt
new file mode 100644
index 000000000..a737b8d51
--- /dev/null
+++ b/tests/testutils/data/functional/wrong_output_ok_test/exec_used.txt
@@ -0,0 +1 @@
+missing-docstring:5:0:1:1::Missing docstring in file:HIGH
diff --git a/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.py b/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.py
new file mode 100644
index 000000000..fc35114e8
--- /dev/null
+++ b/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.py
@@ -0,0 +1,7 @@
+"""This is an example for a functional test with
+- an output that is wrong (but not broken)
+- the functional test itself is wrong
+
+So it can't be updated.
+"""
+exec('a = 42')
diff --git a/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.txt b/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.txt
new file mode 100644
index 000000000..a737b8d51
--- /dev/null
+++ b/tests/testutils/data/functional/wrong_output_wrong_test/exec_used.txt
@@ -0,0 +1 @@
+missing-docstring:5:0:1:1::Missing docstring in file:HIGH
diff --git a/tests/testutils/data/m/max_overflow/max_overflow_1.py b/tests/testutils/data/m/max_overflow/max_overflow_1.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/testutils/data/m/max_overflow/max_overflow_1.py
diff --git a/tests/testutils/data/m/max_overflow/max_overflow_2.py b/tests/testutils/data/m/max_overflow/max_overflow_2.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/testutils/data/m/max_overflow/max_overflow_2.py
diff --git a/tests/testutils/data/m/max_overflow/max_overflow_3.py b/tests/testutils/data/m/max_overflow/max_overflow_3.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/testutils/data/m/max_overflow/max_overflow_3.py
diff --git a/tests/testutils/data/u/_no_issue_here/_incredibly_bold_mischief.py b/tests/testutils/data/u/_no_issue_here/_incredibly_bold_mischief.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/testutils/data/u/_no_issue_here/_incredibly_bold_mischief.py