Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.exportimport.tests.test_workflow Namespace Reference

Classes

class  DummyWorkflowTool
class  WorkflowToolXMLAdapterTests
class  _WorkflowSetup
class  exportWorkflowToolTests
class  importWorkflowToolTests

Functions

def test_suite

Variables

string _WORKFLOWTOOL_BODY
string _EMPTY_TOOL_EXPORT
string _BINDINGS_TOOL_EXPORT
string _NORMAL_TOOL_EXPORT
string _FRAGMENT_IMPORT

Function Documentation

Definition at line 357 of file test_workflow.py.

00357 
00358 def test_suite():
00359     return unittest.TestSuite((
00360         unittest.makeSuite(WorkflowToolXMLAdapterTests),
00361         unittest.makeSuite(exportWorkflowToolTests),
00362         unittest.makeSuite(importWorkflowToolTests),
00363         ))

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_workflow" meta_type="Dummy Workflow Tool">
00004  <bindings>
00005   <default>
00006    <bound-workflow workflow_id="non_dcworkflow_0"/>
00007    <bound-workflow workflow_id="non_dcworkflow_1"/>
00008   </default>
00009   <type type_id="sometype">
00010    <bound-workflow workflow_id="non_dcworkflow_2"/>
00011   </type>
00012   <type type_id="anothertype">
00013    <bound-workflow workflow_id="non_dcworkflow_3"/>
00014   </type>
00015  </bindings>
00016 </object>
00017 """

Definition at line 57 of file test_workflow.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_workflow" meta_type="Dummy Workflow Tool">
00004  <property name="title"></property>
00005  <bindings>
00006   <default/>
00007  </bindings>
00008 </object>
00009 """

Definition at line 47 of file test_workflow.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_workflow">
00004  <bindings>
00005   <type type_id="sometype" remove=""/>
00006  </bindings>
00007 </object>
00008 """

Definition at line 86 of file test_workflow.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_workflow" meta_type="Dummy Workflow Tool">
00004  <property name="title"></property>
00005  <object name="Non-DCWorkflow" meta_type="Dummy Workflow"/>
00006  <bindings>
00007   <default/>
00008  </bindings>
00009 </object>
00010 """

Definition at line 75 of file test_workflow.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_workflow" meta_type="CMF Workflow Tool">
00004  <property name="title"></property>
00005  <object name="foo_workflow" meta_type="Dummy Workflow"/>
00006  <bindings>
00007   <default>
00008    <bound-workflow workflow_id="foo_workflow"/>
00009   </default>
00010   <type type_id="Foo Type"/>
00011  </bindings>
00012 </object>
00013 """

Definition at line 33 of file test_workflow.py.