mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-12 21:57:19 -04:00
The existing tests all assert on inline delivery, which is the path the app never takes. Adds a fake ISynchronizeInvoke that only queues, so a test can prove nothing was delivered inline and then run delivery itself, in order, the way the UI thread would. Two tests on top of it: that a mutation made on the calling thread is still posted rather than run inline, and that four books completing on four real threads leave a Move-following bound list identical to the queue, over 50 runs. Plus a test that completing a book which is not active changes nothing.