Commit 21396f0
authored
Improve Debitum Investments PDF-Importer (#5778)
- Replace non-canonical wrap() returning null for zero-amount deposit/removal transactions with the canonical SkippedItem form including getCurrencyCode() != null guard
- Add import name.abuchen.portfolio.Messages to the extractor
- Update testAccountStatement02: adjust countSkippedItems from 0L to 2L and results.size() from 1 to 3 to reflect the two zero-amount DEPOSITS/WITHDRAWALS lines that are now correctly recorded as skipped items
- Add two skippedItem(Messages.MsgErrorTransactionTypeNotSupportedOrRequired, deposit/removal(...)) assertions to testAccountStatement02 to explicitly verify the skipped zero-amount transactions
- Add skippedItem, Messages imports to the test class1 parent 1cf49ad commit 21396f0
2 files changed
Lines changed: 21 additions & 5 deletions
File tree
- name.abuchen.portfolio.tests/src/name/abuchen/portfolio/datatransfer/pdf/debituminvestments
- name.abuchen.portfolio/src/name/abuchen/portfolio/datatransfer/pdf
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
88 | | - | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
91 | 105 | | |
92 | 106 | | |
93 | 107 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
0 commit comments