17 #ifndef PAGESPEED_KERNEL_SHAREDMEM_SHARED_MEM_LOCK_MANAGER_TEST_BASE_H_
18 #define PAGESPEED_KERNEL_SHAREDMEM_SHARED_MEM_LOCK_MANAGER_TEST_BASE_H_
32 namespace net_instaweb {
40 virtual void TearDown();
43 void TestDestructorUnlock();
47 bool CreateChild(TestMethod method);
52 void TestBasicChild();
53 void TestStealChild();
70 template<
typename ConcreteTestEnv>
81 SharedMemLockManagerTestBase::TestBasic();
84 TYPED_TEST_P(SharedMemLockManagerTestTemplate, TestDestructorUnlock) {
85 SharedMemLockManagerTestBase::TestDestructorUnlock();
88 TYPED_TEST_P(SharedMemLockManagerTestTemplate, TestSteal) {
89 SharedMemLockManagerTestBase::TestSteal();
92 REGISTER_TYPED_TEST_CASE_P(SharedMemLockManagerTestTemplate, TestBasic,
93 TestDestructorUnlock, TestSteal);
Definition: mock_timer.h:33
Definition: md5_hasher.h:28
Definition: mock_scheduler.h:39
namespace SharedMemLockData
Definition: shared_mem_lock_manager.h:49
Definition: mock_message_handler.h:39
Definition: scoped_ptr.h:30
Definition: shared_mem_lock_manager_test_base.h:71
Definition: shared_mem_test_base.h:33
Definition: shared_mem_lock_manager_test_base.h:34