Example #1
0
 def testCreateSharedBuffer(self):
     self._testHandlesCreation(system.CreateSharedBuffer(DATA_SIZE))
Example #2
0
 def testDuplicateSharedBufferWithDefaultOptions(self):
     handle = system.CreateSharedBuffer(DATA_SIZE)
     self._testHandlesCreation(
         handle.Duplicate(system.DuplicateSharedBufferOptions()))
Example #3
0
 def testDuplicateSharedBufferWithNoneOptions(self):
     handle = system.CreateSharedBuffer(DATA_SIZE)
     self._testHandlesCreation(handle.Duplicate(None))
Example #4
0
 def testDuplicateSharedBuffer(self):
     handle = system.CreateSharedBuffer(DATA_SIZE)
     self._testHandlesCreation(handle.Duplicate())
Example #5
0
 def testCreateSharedBufferWithDefaultOptions(self):
     self._testHandlesCreation(
         system.CreateSharedBuffer(DATA_SIZE,
                                   system.CreateSharedBufferOptions()))
Example #6
0
 def testCreateSharedBufferWithNoneOptions(self):
     self._testHandlesCreation(system.CreateSharedBuffer(DATA_SIZE, None))