reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
81 EXPECT_EQ(InMemoryModuleCache::Unknown, Cache.getPCMState("B")); 82 EXPECT_EQ(RawB1, &Cache.addPCM("B", std::move(B1))); 83 EXPECT_FALSE(Cache.tryToDropPCM("B")); 84 EXPECT_EQ(nullptr, Cache.lookupPCM("B")); 85 EXPECT_EQ(InMemoryModuleCache::ToBuild, Cache.getPCMState("B")); 86 EXPECT_FALSE(Cache.isPCMFinal("B")); 87 EXPECT_TRUE(Cache.shouldBuildPCM("B")); 90 EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM"); 91 EXPECT_DEATH(Cache.tryToDropPCM("B"), 93 EXPECT_DEATH(Cache.finalizePCM("B"), "Trying to finalize a dropped PCM"); 97 EXPECT_EQ(RawB2, &Cache.addBuiltPCM("B", std::move(B2))); 98 EXPECT_TRUE(Cache.isPCMFinal("B")); 101 EXPECT_TRUE(Cache.tryToDropPCM("B")); 102 EXPECT_EQ(RawB2, Cache.lookupPCM("B"));