[test] Add a new test revealing a bug in IndexFilter
This commit is contained in:
parent
84519a2a8e
commit
a96701bb85
|
@ -60,10 +60,23 @@ Item {
|
|||
minimumIndex: 1
|
||||
maximumIndex: -2
|
||||
},
|
||||
IndexFilter {
|
||||
property string tag: "toBigFilter"
|
||||
property int expectedModelCount: 0
|
||||
property var expectedValues: []
|
||||
minimumIndex: 5
|
||||
},
|
||||
IndexFilter {
|
||||
property string tag: "noFilter"
|
||||
property int expectedModelCount: 5
|
||||
property var expectedValues: [5, 3, 1, 2, 4]
|
||||
},
|
||||
IndexFilter {
|
||||
property string tag: "undefinedFilter"
|
||||
property int expectedModelCount: 5
|
||||
property var expectedValues: [5, 3, 1, 2, 4]
|
||||
minimumIndex: undefined
|
||||
maximumIndex: null
|
||||
}
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue