Commit 36a8baf
authored
Improve ComDirect PDF-Importer (#5759)
- Rename addDividendeTransaction() to addDividendTransaction() to follow English naming convention
- Normalize currency values with asCurrencyCode() when storing into document context (currency and foreignCurrency keys in addFinancialReport())
- Add missing hasExDate(null) to all 127 dividend assertions in the test and add the corresponding import
- Fix three hasTaxes("EUR", 0.0) → 0.00 to use double literal for zero amounts
- Rewrite testFinanzreport13 to use Hamcrest matchers instead of assertTrue/assertEquals, remove WHAT-comments, add missing results.size() assertion, and remove the now-unused org.junit.Assert imports1 parent c026e98 commit 36a8baf
2 files changed
Lines changed: 269 additions & 152 deletions
File tree
- name.abuchen.portfolio.tests/src/name/abuchen/portfolio/datatransfer/pdf/comdirect
- name.abuchen.portfolio/src/name/abuchen/portfolio/datatransfer/pdf
0 commit comments