adapted example test file to new structure

This commit is contained in:
Raphael Bauduin 2015-07-29 10:09:34 -07:00
parent 24916e36d3
commit ebe7ae9320

View File

@ -1,44 +1,45 @@
mptcptrace: checkers:
- test: "csv" mptcptrace:
csv: "c2s_seq_1" - test: "csv"
columns: 2 csv: "c2s_seq_1"
validations: columns: 2
- name: "increasing_values" validations:
desc: "dummy: check sequence numbers grow" - name: "increasing_values"
tcptrace: desc: "dummy: check sequence numbers grow"
- test: "csv" tcptrace:
csv: "tcptrace" - test: "csv"
rows: [0,1] csv: "tcptrace"
columns: [5] rows: [0,1]
validations: columns: [5]
- name: "min_difference" validations:
target: 2 - name: "min_difference"
desc: "minimum difference of opening time" target: 2
- test: "csv" desc: "minimum difference of opening time"
csv: "tcptrace" - test: "csv"
validations: csv: "tcptrace"
- name: "min_rows" validations:
target: 2 - name: "min_rows"
desc: "minimum number of flows" target: 2
- name: "max_rows" desc: "minimum number of flows"
target: 5 - name: "max_rows"
desc: "minimum number of flows" target: 5
- name: "exact_rows" desc: "minimum number of flows"
target: 4 - name: "exact_rows"
desc: "minimum number of flows" target: 4
- test: "csv" desc: "minimum number of flows"
csv: "tcptrace" - test: "csv"
rows: [1,2] csv: "tcptrace"
columns: [5] rows: [1,2]
validations: columns: [5]
- name: "min_difference" validations:
target: 2 - name: "min_difference"
desc: "minimum difference of opening time between flow 2 and 3" target: 2
- test: "csv" desc: "minimum difference of opening time between flow 2 and 3"
csv: "tcptrace" - test: "csv"
rows: [0,1] csv: "tcptrace"
columns: [7] rows: [0,1]
validations: columns: [7]
- name: "max_ratio" validations:
target: 0.05 - name: "max_ratio"
desc: "max ration of packet a->b on flow 1 compared to flow 0." target: 0.05
desc: "max ration of packet a->b on flow 1 compared to flow 0."