Back to index

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

List of all members.

Public Member Functions

def setUp

Public Attributes

 site

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 42 of file testControlPanel.py.


Member Function Documentation

Definition at line 44 of file testControlPanel.py.

00044 
00045     def _getTargetClass(self):
00046         from Products.CMFPlone.exportimport.controlpanel \
00047                     import ControlPanelXMLAdapter
00048         return ControlPanelXMLAdapter

Definition at line 49 of file testControlPanel.py.

00049 
00050     def _populate(self, obj):
00051         obj.registerConfiglet( id='QuickInstaller'
00052                              , name='Add/Remove Products'
00053                              , action='string:${portal_url}/prefs_install_products_form'
00054                              , permission='Manage portal'
00055                              , category='Plone'
00056                              , visible=True
00057                              , appId='QuickInstaller'
00058                              )

Here is the caller graph for this function:

Definition at line 59 of file testControlPanel.py.

00059 
00060     def setUp(self):
00061         setHooks()
00062         self.site = Folder('site')
00063         gen = PloneGenerator()
00064         gen.enableSite(self.site)
00065         setSite(self.site)
00066         sm = getSiteManager()
00067         self.site.portal_actionicons = DummyActionIconsTool()
00068         sm.registerUtility(self.site.portal_actionicons, IActionIconsTool)
00069         self.site.portal_control_panel = PloneControlPanel()
00070         sm.registerUtility(self.site.portal_control_panel, IControlPanel)
00071 
00072         self._obj = self.site.portal_control_panel
00073         self._BODY = _CONTROLPANEL_XML
00074 


Member Data Documentation

Definition at line 72 of file testControlPanel.py.

Definition at line 71 of file testControlPanel.py.

Definition at line 61 of file testControlPanel.py.


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