Back to index

plone3  3.1.7
Classes | Functions | Variables
GenericSetup.tests.test_registry Namespace Reference

Classes

class  ImportStepRegistryTests
class  ExportStepRegistryTests
class  ToolsetRegistryTests
class  ISite
class  IDerivedSite
class  IAnotherSite
class  ProfileRegistryTests

Functions

def ONE_FUNC
def TWO_FUNC
def THREE_FUNC
def FOUR_FUNC
def DOC_FUNC
def test_suite

Variables

string ONE_FUNC_NAME = '%s.%s'
string TWO_FUNC_NAME = '%s.%s'
string THREE_FUNC_NAME = '%s.%s'
string FOUR_FUNC_NAME = '%s.%s'
string DOC_FUNC_NAME = '%s.%s'
string _EMPTY_IMPORT_XML
string _SINGLE_IMPORT_XML
string _ORDERED_IMPORT_XML
string _EMPTY_EXPORT_XML
string _SINGLE_EXPORT_XML
string _ORDERED_EXPORT_XML
string _EMPTY_TOOLSET_XML
string _NORMAL_TOOLSET_XML
string _CONFUSED_TOOLSET_XML

Function Documentation

This is the first line.

This is the second line.

Definition at line 41 of file test_registry.py.

00041 
00042 def DOC_FUNC( site ):
00043     """This is the first line.
00044 
00045     This is the second line.
00046     """

Definition at line 40 of file test_registry.py.

00040 
def FOUR_FUNC( context ): pass

Definition at line 37 of file test_registry.py.

00037 
def ONE_FUNC( context ): pass

Definition at line 1142 of file test_registry.py.

01142 
01143 def test_suite():
01144     return unittest.TestSuite((
01145         unittest.makeSuite( ImportStepRegistryTests ),
01146         unittest.makeSuite( ExportStepRegistryTests ),
01147         unittest.makeSuite( ToolsetRegistryTests ),
01148         unittest.makeSuite( ProfileRegistryTests ),
01149         ))

Here is the call graph for this function:

Definition at line 39 of file test_registry.py.

00039 
def THREE_FUNC( context ): pass

Definition at line 38 of file test_registry.py.

00038 
def TWO_FUNC( context ): pass

Variable Documentation

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <tool-setup>
00004  <forbidden tool_id="confused" />
00005  <required tool_id="confused" class="path.to.one" />
00006 </tool-setup>
00007 """

Definition at line 997 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <export-steps>
00004 </export-steps>
00005 """

Definition at line 766 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <import-steps>
00004 </import-steps>
00005 """

Definition at line 532 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <tool-setup>
00004 </tool-setup>
00005 """

Definition at line 982 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <tool-setup>
00004  <forbidden tool_id="doomed" />
00005  <required tool_id="mandatory" class="path.to.one" />
00006  <required tool_id="obligatory" class="path.to.another" />
00007 </tool-setup>
00008 """

Definition at line 988 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <export-steps>
00004  <export-step id="one"
00005                 handler="%s"
00006                 title="One Step">
00007   One small step
00008  </export-step>
00009  <export-step id="three"
00010                 handler="%s"
00011                 title="Three Steps">
00012   Gimme three steps
00013  </export-step>
00014  <export-step id="two"
00015                 handler="%s"
00016                 title="Two Steps">
00017   Texas two step
00018  </export-step>
00019 </export-steps>
00020 """

Definition at line 783 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <import-steps>
00004  <import-step id="one"
00005              version="1"
00006              handler="%s"
00007              title="One Step">
00008   <dependency step="two" />
00009   One small step
00010  </import-step>
00011  <import-step id="three"
00012              version="3"
00013              handler="%s"
00014              title="Three Steps">
00015   Gimme three steps
00016  </import-step>
00017  <import-step id="two"
00018              version="2"
00019              handler="%s"
00020              title="Two Steps">
00021   <dependency step="three" />
00022   Texas two step
00023  </import-step>
00024 </import-steps>
00025 """

Definition at line 550 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <export-steps>
00004  <export-step id="one"
00005                 handler="%s"
00006                 title="One Step">
00007   One small step
00008  </export-step>
00009 </export-steps>
00010 """

Definition at line 772 of file test_registry.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <import-steps>
00004  <import-step id="one"
00005              version="1"
00006              handler="%s"
00007              title="One Step">
00008   One small step
00009  </import-step>
00010 </import-steps>
00011 """

Definition at line 538 of file test_registry.py.

Definition at line 51 of file test_registry.py.

Definition at line 50 of file test_registry.py.

Definition at line 47 of file test_registry.py.

Definition at line 49 of file test_registry.py.

Definition at line 48 of file test_registry.py.