Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions
CMFActionIcons.tests.test_exportimport.ActionIconsToolExportConfiguratorTests Class Reference
Inheritance diagram for CMFActionIcons.tests.test_exportimport.ActionIconsToolExportConfiguratorTests:
Inheritance graph
[legend]
Collaboration diagram for CMFActionIcons.tests.test_exportimport.ActionIconsToolExportConfiguratorTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_generateXML_empty
def test_generateXML_with_icon

Static Public Attributes

 layer = ExportImportZCMLLayer
string CATEGORY = 'testing'
string ACTION_ID = "test_action"
string TITLE = "Action Title"
int PRIORITY = 60
string ICON_EXPR = 'test_icon'

Private Member Functions

def _getTargetClass

Detailed Description

Definition at line 114 of file test_exportimport.py.


Member Function Documentation

Definition at line 118 of file test_exportimport.py.

00118 
00119     def _getTargetClass(self):
00120         from Products.CMFActionIcons.exportimport \
00121                 import ActionIconsToolExportConfigurator
00122 
00123         return ActionIconsToolExportConfigurator

Definition at line 124 of file test_exportimport.py.

00124 
00125     def test_generateXML_empty(self):
00126         site = self._initSite(with_icon=False)
00127         configurator = self._makeOne(site).__of__(site)
00128 
00129         self._compareDOM(configurator.generateXML(), self._EMPTY_EXPORT)

Definition at line 130 of file test_exportimport.py.

00130 
00131     def test_generateXML_with_icon(self):
00132         site = self._initSite(with_icon=True)
00133         configurator = self._makeOne(site).__of__(site)
00134 
00135         self._compareDOM(configurator.generateXML(), self._WITH_ICON_EXPORT)
00136 


Member Data Documentation

Definition at line 34 of file test_exportimport.py.

Definition at line 33 of file test_exportimport.py.

Definition at line 37 of file test_exportimport.py.

Definition at line 116 of file test_exportimport.py.

Definition at line 36 of file test_exportimport.py.

string CMFActionIcons.tests.test_exportimport._ActionIconsToolSetup.TITLE = "Action Title" [static, inherited]

Definition at line 35 of file test_exportimport.py.


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