summaryrefslogtreecommitdiff
path: root/services/incremental/test/IncrementalServiceTest.cpp
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2021-04-30 09:50:58 -0700
committerSongchun Fan <schfan@google.com>2021-05-03 14:58:18 -0700
commitd48a25ee649b9aa2e6dde6e0e9844bb7da8bfe5c (patch)
tree761a5e4f7e4f00d9591029237d28f130b62f87ef /services/incremental/test/IncrementalServiceTest.cpp
parentf949c37e14bd0ccdbb0fba7e2599b817133f9ed9 (diff)
[IncrementalService] add last read error in dumpsys
BUG: 184844615 Test: dumpsys Change-Id: I3e8178c8a62dc5d09c718b140bb48bda85a3bae5
Diffstat (limited to 'services/incremental/test/IncrementalServiceTest.cpp')
-rw-r--r--services/incremental/test/IncrementalServiceTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/incremental/test/IncrementalServiceTest.cpp b/services/incremental/test/IncrementalServiceTest.cpp
index 766f713a7d19..da7f0db5efc1 100644
--- a/services/incremental/test/IncrementalServiceTest.cpp
+++ b/services/incremental/test/IncrementalServiceTest.cpp
@@ -417,6 +417,7 @@ public:
MOCK_CONST_METHOD2(forEachFile, ErrorCode(const Control& control, FileCallback cb));
MOCK_CONST_METHOD2(forEachIncompleteFile, ErrorCode(const Control& control, FileCallback cb));
MOCK_CONST_METHOD1(getMetrics, std::optional<Metrics>(std::string_view path));
+ MOCK_CONST_METHOD1(getLastReadError, std::optional<LastReadError>(const Control& control));
MockIncFs() {
ON_CALL(*this, listExistingMounts(_)).WillByDefault(Return());