| 97 | } |
| 98 | |
| 99 | TEST(ObjectCacheStressorTest, DispatchesFromFactory) { |
| 100 | auto stressor = |
| 101 | Stressor::makeStressor(makeCacheConfig(), makeWorkloadStressorConfig()); |
| 102 | ASSERT_NE(nullptr, stressor); |
| 103 | EXPECT_NE(nullptr, |
| 104 | dynamic_cast<ObjectCacheStressor<LruAllocator>*>(stressor.get())); |
| 105 | } |
| 106 | |
| 107 | TEST(ObjectCacheStressorTest, RunsDeterministicObjectCacheWorkload) { |
| 108 | ObjectCacheStressor<LruAllocator> stressor{ |
nothing calls this directly
no test coverage detected