Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
CMFCore.exportimport.tests.test_cachingpolicymgr.CachingPolicyManagerXMLAdapterTests Class Reference
Inheritance diagram for CMFCore.exportimport.tests.test_cachingpolicymgr.CachingPolicyManagerXMLAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.exportimport.tests.test_cachingpolicymgr.CachingPolicyManagerXMLAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 70 of file test_cachingpolicymgr.py.


Member Function Documentation

Definition at line 74 of file test_cachingpolicymgr.py.

00074 
00075     def _getTargetClass(self):
00076         from Products.CMFCore.exportimport.cachingpolicymgr \
00077                 import CachingPolicyManagerXMLAdapter
00078 
00079         return CachingPolicyManagerXMLAdapter

Definition at line 80 of file test_cachingpolicymgr.py.

00080 
00081     def _populate(self, obj):
00082         obj.addPolicy('foo_policy',
00083                       'python:object.getPortalTypeName() == \'Foo\'',
00084                       'object/modified', 600, 0, 0, 0, '', '')

Here is the caller graph for this function:

Definition at line 85 of file test_cachingpolicymgr.py.

00085 
00086     def setUp(self):
00087         from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
00088 
00089         BodyAdapterTestCase.setUp(self)
00090         self._obj = CachingPolicyManager()
00091         self._BODY = _CPM_BODY
00092 


Member Data Documentation

Definition at line 90 of file test_cachingpolicymgr.py.

Definition at line 89 of file test_cachingpolicymgr.py.

Definition at line 72 of file test_cachingpolicymgr.py.


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