reintroduced epub support

This commit is contained in:
Agel committed 2026-10-25 19:59:23 +01:00
1 parent 49a959a89d
commit d14170a68f
49 files changed
+5048 -205

No files matched your search

-3
View File
@@ -21,7 +21,6 @@ private slots:
BookPositionStore store(appState);
const BookPosition pos = store.load(QByteArray("nonexistent"));
QCOMPARE(pos.chapterIndex, 0);
QCOMPARE(pos.chunkIndex, 0);
QCOMPARE(pos.progress, 0.0);
QCOMPARE(pos.pageShift, true);
@@ -39,7 +38,6 @@ private slots:
const QByteArray hash = QByteArray("abc123deadbeef");
BookPosition toSave;
toSave.chapterIndex = 2;
toSave.chunkIndex = 7;
toSave.progress = 0.65;
toSave.mangaRTL = false;
@@ -47,7 +45,6 @@ private slots:
store.save(hash, toSave);
const BookPosition pos = store.load(hash);
QCOMPARE(pos.chapterIndex, 2);
QCOMPARE(pos.chunkIndex, 7);
QCOMPARE(pos.progress, 0.65);
QCOMPARE(pos.mangaRTL, false);