Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests Class Reference
Inheritance diagram for GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests:
Inheritance graph
Collaboration diagram for GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests:
Collaboration graph

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate

Private Attributes


Detailed Description

Definition at line 31 of file

Member Function Documentation

Definition at line 35 of file

00036     def _getTargetClass(self):
00037         from Products.GenericSetup.PageTemplates.exportimport \
00038                 import ZopePageTemplateBodyAdapter
00040         return ZopePageTemplateBodyAdapter

Definition at line 41 of file

00042     def _populate(self, obj):
00043         obj.write(_PAGETEMPLATE_BODY)

Here is the caller graph for this function:

Definition at line 44 of file

00045     def setUp(self):
00046         from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
00048         BodyAdapterTestCase.setUp(self)
00049         self._obj = ZopePageTemplate('foo_template')
00050         self._BODY = _PAGETEMPLATE_BODY

Member Data Documentation

Definition at line 49 of file

Definition at line 48 of file

Definition at line 33 of file

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