Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.exportimport.tests.test_cachingpolicymgr Namespace Reference

Classes

class  CachingPolicyNodeAdapterTests
class  CachingPolicyManagerXMLAdapterTests
class  _CachingPolicyManagerSetup
class  exportCachingPolicyManagerTests
class  importCachingPolicyManagerTests

Functions

def test_suite

Variables

string _CP_XML
string _CPM_BODY

Function Documentation

Definition at line 226 of file test_cachingpolicymgr.py.

00226 
00227 def test_suite():
00228     return unittest.TestSuite((
00229         unittest.makeSuite(CachingPolicyNodeAdapterTests),
00230         unittest.makeSuite(CachingPolicyManagerXMLAdapterTests),
00231         unittest.makeSuite(exportCachingPolicyManagerTests),
00232         unittest.makeSuite(importCachingPolicyManagerTests),
00233         ))

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 """\
00002 <caching-policy name="foo_policy" enable_304s="False" etag_func=""
00003    last_modified="True" max_age_secs="0" mtime_func="object/modified"
00004    must_revalidate="False" no_cache="False" no_store="False"
00005    no_transform="False" predicate="python:1" private="False"
00006    proxy_revalidate="False" public="False" vary=""/>
00007 """

Definition at line 31 of file test_cachingpolicymgr.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="caching_policy_manager" meta_type="CMF Caching Policy Manager">
00004  <caching-policy name="foo_policy" enable_304s="False" etag_func=""
00005     last_modified="True" max_age_secs="600" mtime_func="object/modified"
00006     must_revalidate="False" no_cache="False" no_store="False"
00007     no_transform="False"
00008     predicate="python:object.getPortalTypeName() == 'Foo'" private="False"
00009     proxy_revalidate="False" public="False" vary=""/>
00010 </object>
00011 """

Definition at line 39 of file test_cachingpolicymgr.py.