Skip to content

Commit 1ad965b

Browse files
committedJan 10, 2017
[processing] add test for Distance matrix algorithm to prevent
TableWriter class breakage in future
1 parent c4cc954 commit 1ad965b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,3 +2130,18 @@ tests:
21302130
name: expected/truncated.shp
21312131
type: vector
21322132
in_place_result: true
2133+
2134+
- algorithm: qgis:distancematrix
2135+
name: Distance matrix (only tests for TableWriter, does not check result)
2136+
params:
2137+
INPUT_FIELD: fid
2138+
INPUT_LAYER:
2139+
name: points.gml
2140+
type: vector
2141+
MATRIX_TYPE: '0'
2142+
NEAREST_POINTS: 0
2143+
TARGET_FIELD: fid
2144+
TARGET_LAYER:
2145+
name: points.gml
2146+
type: vector
2147+
results: {}

0 commit comments

Comments
 (0)
Please sign in to comment.