Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c006617c authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Add mock interface for EmitXorBlocks

Test: th
Change-Id: I8b9ccd5a0c16c45f79849c778b3d17cb1a635749
parent 267adbd4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ class MockSnapshotWriter : public ISnapshotWriter {

    MOCK_METHOD(bool, EmitCopy, (uint64_t, uint64_t), (override));
    MOCK_METHOD(bool, EmitRawBlocks, (uint64_t, const void*, size_t), (override));
    MOCK_METHOD(bool, EmitXorBlocks, (uint32_t, const void*, size_t, uint32_t, uint16_t),
                (override));
    MOCK_METHOD(bool, EmitZeroBlocks, (uint64_t, uint64_t), (override));
    MOCK_METHOD(bool, EmitLabel, (uint64_t), (override));
    MOCK_METHOD(bool, EmitSequenceData, (size_t, const uint32_t*), (override));