Back to index

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

List of all members.

Public Member Functions

def test_generateXML_empty
def test_generateXML_with_info

Static Public Attributes

string V_OBJECT_ID = 'v_object_id'
string V_CONTEXT_TYPE = 'v_context_type'
string V_BUTTON = 'v_button'
list V_VALIDATORS = ['validator1', 'validator2']
string A_OBJECT_ID = 'a_object_id'
string A_STATUS = 'a_status'
string A_CONTEXT_TYPE = 'a_context_type'
string A_BUTTON = 'a_button'
string A_ACTION_TYPE = 'redirect_to'
string A_ACTION_ARG = 'string:action_arg'

Private Member Functions

def _getTargetClass

Detailed Description

Definition at line 113 of file test_exportimport.py.


Member Function Documentation

Definition at line 115 of file test_exportimport.py.

00115 
00116     def _getTargetClass(self):
00117         from Products.CMFFormController.exportimport \
00118                 import CMFFormControllerExportConfigurator
00119 
00120         return CMFFormControllerExportConfigurator

Definition at line 121 of file test_exportimport.py.

00121 
00122     def test_generateXML_empty(self):
00123         site = self._initSite(with_info=False)
00124         configurator = self._makeOne(site).__of__(site)
00125 
00126         self._compareDOM(configurator.generateXML(), self._EMPTY_EXPORT)

Definition at line 127 of file test_exportimport.py.

00127 
00128     def test_generateXML_with_info(self):
00129         site = self._initSite(with_info=True)
00130         configurator = self._makeOne(site).__of__(site)
00131 
00132         self._compareDOM(configurator.generateXML(), self._WITH_INFO_EXPORT)
00133 


Member Data Documentation

Definition at line 35 of file test_exportimport.py.

Definition at line 34 of file test_exportimport.py.

Definition at line 33 of file test_exportimport.py.

Definition at line 32 of file test_exportimport.py.

Definition at line 30 of file test_exportimport.py.

Definition at line 31 of file test_exportimport.py.

Definition at line 27 of file test_exportimport.py.

Definition at line 26 of file test_exportimport.py.

Definition at line 25 of file test_exportimport.py.

list CMFFormController.tests.test_exportimport._CMFFormControllerSetup.V_VALIDATORS = ['validator1', 'validator2'] [static, inherited]

Definition at line 28 of file test_exportimport.py.


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