Skip to content

Fix resource tests

This MR fixes the two tests that @rempt reported to me.

One was, yet again, a missed case of how we name memory-backed bundles in Krita (for which this time I exhaustively listed them in the test suite); the other was a side effect of !1175 (merged), Dmitry forgot to account for the deduplication in the temporary resource addition test.

Test Plan

Build Krita and run TestResourceStorage and TestResourceModel.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

Merge request reports