Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFEditions.tests.DummyTools Namespace Reference

Classes

class  Dummy
class  UniqueIdError
class  DummyBaseTool
class  DummyArchivist
class  VersionAwareReference
class  DummyModifier
class  FolderishContentObjectModifier
class  DummyHistoryIdHandler
class  StorageVersionData
class  Removed
class  MemoryStorage
class  HistoryList
class  DummyPurgePolicy
class  PurgePolicyTestDummyStorage
class  DummyData
class  RemovedData

Functions

def deepCopy
def notifyModified

Variables

list alog = []

Class Documentation

class CMFEditions::tests::DummyTools::UniqueIdError

Definition at line 29 of file DummyTools.py.


Function Documentation

Definition at line 36 of file DummyTools.py.

00036 
00037 def deepCopy(obj):
00038     stream = StringIO()
00039     p = Pickler(stream, 1)
00040     p.dump(obj)
00041     stream.seek(0)
00042     u = Unpickler(stream)
00043     return u.load()

Here is the caller graph for this function:

Notify the object as modified.

Sleeps as long as DateTime delivers a different time then
notifies the object as modified (faster than time.sleep(2)).

Definition at line 44 of file DummyTools.py.

00044 
00045 def notifyModified(obj):
00046     """Notify the object as modified.
00047 
00048     Sleeps as long as DateTime delivers a different time then
00049     notifies the object as modified (faster than time.sleep(2)).
00050     """
00051     t = obj.modified()
00052     while t == DateTime(): pass
00053     obj.notifyModified()
00054 

Here is the caller graph for this function:


Variable Documentation

Definition at line 24 of file DummyTools.py.