Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Protected Types | Protected Member Functions | List of all members
net_instaweb::SharedMemTestBase Class Reference
Inheritance diagram for net_instaweb::SharedMemTestBase:
net_instaweb::SharedMemTestTemplate< ConcreteTestEnv >

Protected Types

typedef void(SharedMemTestBase::* TestMethod )()
 

Protected Member Functions

 SharedMemTestBase (SharedMemTestEnv *test_env)
 
bool CreateChild (TestMethod method)
 
void TestReadWrite (bool reattach)
 Basic read/write operation test.
 
void TestLarge ()
 Test with large data; also test initialization.
 
void TestDistinct ()
 Make sure that 2 segments don't interfere.
 
void TestDestroy ()
 Make sure destruction destroys things properly...
 
void TestCreateTwice ()
 
void TestTwoKids ()
 Make sure between two kids see the SHM as well.
 
void TestMutex ()
 Test for mutex operation.
 

Member Function Documentation

void net_instaweb::SharedMemTestBase::TestCreateTwice ( )
protected

Make sure that re-creating a segment without a Destroy is safe and produces a distinct segment.


The documentation for this class was generated from the following file: