mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
A background refresh that already installed cards.xml exited 1 when the token save afterwards failed, so the client kept its old in-memory database and reported the update as failed. Return the same verdict main() already computes: a reject after the database was written is a successful update. Cover the writer Oracle actually uses: add a short-write death test for CockatriceXml4Parser::saveToFile, which reverted to QFile would truncate an installed database without any test noticing. Route a failed background token download through reject() instead of a modal box on a hidden wizard, which left the client waiting with no timeout and blocked later updates. Test the first non-space byte in place rather than copying the payload, and report an import refusal with the importer's own message. |
||
|---|---|---|
| .. | ||
| data | ||
| carddatabase_test.cpp | ||
| CMakeLists.txt | ||
| filter_string_test.cpp | ||
| load_benchmark.cpp | ||
| mocks.cpp | ||
| mocks.h | ||
| test_card_database_path_provider.h | ||