Skip to content

Commit 4131960

Browse files
committed
Python: Use InlineExpectationsTest for field-flow tests
I deleted the old tests, so it's very clear what tests to look for
1 parent d6f415b commit 4131960

15 files changed

+18
-1796
lines changed

python/ql/test/experimental/dataflow/fieldflow/allLocalFlow.expected

Lines changed: 0 additions & 183 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/allLocalFlow.ql

Lines changed: 0 additions & 8 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/dataflow-consistency.expected

Lines changed: 0 additions & 18 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/dataflow-consistency.ql

Lines changed: 0 additions & 1 deletion
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/dataflow.expected

Lines changed: 0 additions & 169 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/dataflow.ql

Lines changed: 0 additions & 10 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/dataflowTest.expected

Whitespace-only changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import python
2+
import experimental.dataflow.TestUtil.FlowTest
3+
import experimental.dataflow.testConfig
4+
5+
class DataFlowTest extends FlowTest {
6+
DataFlowTest() { this = "DataFlowTest" }
7+
8+
override string flowTag() { result = "flow" }
9+
10+
override predicate relevantFlow(DataFlow::Node source, DataFlow::Node sink) {
11+
exists(TestConfiguration cfg | cfg.hasFlow(source, sink))
12+
}
13+
}

python/ql/test/experimental/dataflow/fieldflow/globalStep.expected

Lines changed: 0 additions & 1289 deletions
This file was deleted.

python/ql/test/experimental/dataflow/fieldflow/globalStep.ql

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)