|
|
|
@ -287,8 +287,7 @@ describe("Readerfooter module", function()
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(1, footer.mode)
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(2, footer.mode)
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
-- 2 is pages_left_book, an alternate variant of page_progress, disabled by default (#7047)
|
|
|
|
|
assert.is.same(3, footer.mode)
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(4, footer.mode)
|
|
|
|
@ -299,6 +298,8 @@ describe("Readerfooter module", function()
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(7, footer.mode)
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(8, footer.mode)
|
|
|
|
|
footer:onTapFooter()
|
|
|
|
|
assert.is.same(0, footer.mode)
|
|
|
|
|
|
|
|
|
|
footer.settings.all_at_once = true
|
|
|
|
@ -559,7 +560,7 @@ describe("Readerfooter module", function()
|
|
|
|
|
|
|
|
|
|
assert.is.same(1, footer.mode)
|
|
|
|
|
tapFooterMenu(fake_menu, "Toggle mode")
|
|
|
|
|
assert.is.same(2, footer.mode)
|
|
|
|
|
assert.is.same(3, footer.mode)
|
|
|
|
|
|
|
|
|
|
DTAP_ZONE_MINIBAR = saved_tap_zone_minibar --luacheck: ignore
|
|
|
|
|
readerui:closeDocument()
|
|
|
|
|