Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Private Attributes
CMFPlone.exportimport.tests.testPropertiesTool.PropertiesToolXMLAdapterTests Class Reference
Inheritance diagram for CMFPlone.exportimport.tests.testPropertiesTool.PropertiesToolXMLAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.exportimport.tests.testPropertiesTool.PropertiesToolXMLAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 50 of file testPropertiesTool.py.


Member Function Documentation

Definition at line 52 of file testPropertiesTool.py.

00052 
00053     def _getTargetClass(self):
00054         from Products.CMFPlone.exportimport.propertiestool \
00055                     import PlonePropertiesToolXMLAdapter
00056         return PlonePropertiesToolXMLAdapter

Definition at line 57 of file testPropertiesTool.py.

00057 
00058     def _populate(self, obj):
00059         obj._setObject('site_properties', SimpleItemWithProperties('site_properties'))
00060         obj.site_properties.manage_changeProperties(title='Site wide properties')
00061         obj.site_properties.manage_addProperty('allowAnonymousViewAbout', True, 'boolean')

Here is the caller graph for this function:

Definition at line 62 of file testPropertiesTool.py.

00062 
00063     def setUp(self):
00064         self._obj = PropertiesTool()
00065         self._BODY = _PROPERTIESTOOL_XML
00066 


Member Data Documentation

Definition at line 64 of file testPropertiesTool.py.

Definition at line 63 of file testPropertiesTool.py.


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