def testCreateSharedBuffer(self): self._testHandlesCreation(system.CreateSharedBuffer(DATA_SIZE))
def testDuplicateSharedBufferWithDefaultOptions(self): handle = system.CreateSharedBuffer(DATA_SIZE) self._testHandlesCreation( handle.Duplicate(system.DuplicateSharedBufferOptions()))
def testDuplicateSharedBufferWithNoneOptions(self): handle = system.CreateSharedBuffer(DATA_SIZE) self._testHandlesCreation(handle.Duplicate(None))
def testDuplicateSharedBuffer(self): handle = system.CreateSharedBuffer(DATA_SIZE) self._testHandlesCreation(handle.Duplicate())
def testCreateSharedBufferWithDefaultOptions(self): self._testHandlesCreation( system.CreateSharedBuffer(DATA_SIZE, system.CreateSharedBufferOptions()))
def testCreateSharedBufferWithNoneOptions(self): self._testHandlesCreation(system.CreateSharedBuffer(DATA_SIZE, None))