Test: Fiw readerhighlight test

With actual ReaderUI teardowns, and fix the overlapping highlight
handling, so we can drop the nocov flags
This commit is contained in:
NiLuJe
2023-08-13 11:03:12 +02:00
parent 55534fcec2
commit ae7e2f14aa
2 changed files with 163 additions and 97 deletions

View File

@@ -1111,10 +1111,7 @@ end
function ReaderView:onCloseWidget()
-- Stop any pending HintPage event
UIManager:unschedule(self.emitHintPageEvent)
--- @fixme: The awful readerhighlight_spec test *relies* on this pointer being left dangling...
if not self.ui._testsuite then
self.emitHintPageEvent = nil
end
self.emitHintPageEvent = nil
end
function ReaderView:onReaderReady()