Lines Matching refs:lastReadError
1153 IncFsLastReadError lastReadError = {.id = fileId(-1), in TEST_F() local
1158 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1160 EXPECT_EQ(FileId{}, lastReadError.id); in TEST_F()
1161 EXPECT_EQ(0, (int)lastReadError.timestampUs); in TEST_F()
1162 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1163 EXPECT_EQ(0, (int)lastReadError.errorNo); in TEST_F()
1164 EXPECT_EQ(0, (int)lastReadError.uid); in TEST_F()
1193 IncFsLastReadError lastReadError = {.id = fileId(-1), in TEST_F() local
1198 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1199 EXPECT_EQ(id, lastReadError.id); in TEST_F()
1200 EXPECT_TRUE(lastReadError.timestampUs > 0); in TEST_F()
1201 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1202 EXPECT_EQ(-ETIME, (int)lastReadError.errorNo); in TEST_F()
1203 EXPECT_EQ((int)getuid(), (int)lastReadError.uid); in TEST_F()
1260 IncFsLastReadError lastReadError = {.id = fileId(-1), in TEST_F() local
1265 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1266 EXPECT_EQ(0, std::strcmp(lastReadError.id.data, id.data)); in TEST_F()
1267 EXPECT_TRUE(lastReadError.timestampUs > 0); in TEST_F()
1268 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1269 EXPECT_EQ(-EBADMSG, (int)lastReadError.errorNo); in TEST_F()
1270 EXPECT_EQ((int)getuid(), (int)lastReadError.uid); in TEST_F()
1318 IncFsLastReadError lastReadError = {.id = fileId(-1), 1, 1, 1, 1}; in TEST_F() local
1319 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1320 EXPECT_EQ(FileId{}, lastReadError.id); in TEST_F()
1321 EXPECT_EQ(0, (int)lastReadError.timestampUs); in TEST_F()
1322 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1323 EXPECT_EQ(0, (int)lastReadError.errorNo); in TEST_F()
1324 EXPECT_EQ(0, (int)lastReadError.uid); in TEST_F()
1369 IncFsLastReadError lastReadError = {.id = fileId(-1), 1, 1, 1, 1}; in TEST_F() local
1370 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1371 EXPECT_EQ(FileId{}, lastReadError.id); in TEST_F()
1372 EXPECT_EQ(0, (int)lastReadError.timestampUs); in TEST_F()
1373 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1374 EXPECT_EQ(0, (int)lastReadError.errorNo); in TEST_F()
1375 EXPECT_EQ(0, (int)lastReadError.uid); in TEST_F()