Commit c55b84b
committed
fix: accumulate all rows in CoreSwtbotTools.tableItems
The loop reassigned the list each iteration, so a table with N rows
returned only the last row. Accumulate instead, matching the javadoc
and the sibling treeItems helper. Empty tables now return an empty
list rather than null.1 parent 477d9ac commit c55b84b
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- com.avaloq.tools.ddk.test.ui
- META-INF
- src/com/avaloq/tools/ddk/test/ui/swtbot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
0 commit comments