reintroduced epub support
This commit is contained in:
49 files changed
+5048
-205
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user