quota_reservation_manager_unittest.cc | 136 FakeBackend* fake_backend() { function in class:fileapi::QuotaReservationManagerTest 199 EXPECT_EQ(100, fake_backend()->on_memory_usage()); 200 EXPECT_EQ(90 - kInitialFileSize, fake_backend()->on_disk_usage()); 205 EXPECT_EQ(0, fake_backend()->on_memory_usage()); 206 EXPECT_EQ(90 - kInitialFileSize, fake_backend()->on_disk_usage()); 266 EXPECT_EQ(100, fake_backend()->on_memory_usage()); 267 EXPECT_EQ(90 - kInitialFileSize, fake_backend()->on_disk_usage()); 272 EXPECT_EQ(0, fake_backend()->on_memory_usage()); 273 EXPECT_EQ(90 - kInitialFileSize, fake_backend()->on_disk_usage()); 339 EXPECT_EQ(200 + 150, fake_backend()->on_memory_usage()) [all...] |