Ejemplo n.º 1
0
def suite():
    return build_test_suite('Products.CMFCore.tests',[
        'test_ActionInformation',
        'test_ActionProviderBase',
        'test_ActionsTool',
        'test_CachingPolicyManager',
        'test_CatalogTool',
        'test_ContentTypeRegistry',
        'test_DirectoryView',
        'test_DiscussionTool',
        'test_DynamicType',
        'test_Expression',
        'test_FSFile',
        'test_FSImage',
        'test_FSMetadata',
        'test_FSPageTemplate',
        'test_FSPythonScript',
        'test_FSSecurity',
        'test_MemberDataTool',
        'test_MembershipTool',
        'test_OpaqueItems',
        'test_PortalContent',
        'test_PortalFolder',
        'test_RegistrationTool',
        'test_SkinsTool',
        'test_TypesTool',
        'test_UndoTool',
        'test_URLTool',
        'test_utils',
        'test_WorkflowTool',
        'testCookieCrumbler',
        ])
Ejemplo n.º 2
0
def suite():
    return build_test_suite('Products.CMFTopic.tests', [
        'test_DateC',
        'test_ListC',
        'test_SIC',
        'test_SortC',
        'test_SSC',
        'test_Topic',
    ])
Ejemplo n.º 3
0
def test_suite():

    return build_test_suite('Products.CMFTopic.tests',[
        'test_Topic',
        'test_DateC',
        'test_ListC',
        'test_SIC',
        'test_SSC',
        ])
Ejemplo n.º 4
0
def suite():
    return build_test_suite( 'Products.CMFSetup.tests'
                           , [ 'test_actions'
                             , 'test_context'
                             , 'test_registry'
                             , 'test_rolemap'
                             , 'test_skins'
                             , 'test_tool'
                             , 'test_typeinfo'
                             , 'test_utils'
                             , 'test_workflow'
                             ]
                           )
Ejemplo n.º 5
0
def test_suite():

    return build_test_suite('Products.CMFDefault.tests',[
        'test_Discussions',
        'test_Document',
        'test_NewsItem',
        'test_Link',
        'test_Favorite',
        'test_Image',
        'test_MetadataTool',
        'test_utils',
        'test_join',
        ])
Ejemplo n.º 6
0
def test_suite():

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest(
            build_test_suite(dotted, ['test_all'],
                             required=required,
                             suite_name='suite'))

    return suite
Ejemplo n.º 7
0
def suite():
    return build_test_suite( 'Products.CMFSetup.tests'
                           , [ 'test_actions'
                             , 'test_context'
                             , 'test_differ'
                             , 'test_properties'
                             , 'test_registry'
                             , 'test_rolemap'
                             , 'test_skins'
                             , 'test_tool'
                             , 'test_typeinfo'
                             , 'test_utils'
                             , 'test_workflow'
                             ]
                           )
Ejemplo n.º 8
0
def test_suite():

    import Zope
    from Products.CMFCore.tests.base.utils import build_test_suite

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest(build_test_suite(dotted, ['test_all'],
                                       required=required))

    return suite
Ejemplo n.º 9
0
def test_suite():

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest( build_test_suite( dotted
                                       , [ 'test_all' ]
                                       , required=required
                                       , suite_name='suite'
                                       ) )

    return suite
Ejemplo n.º 10
0
def test_suite():    

    return TestSuite((
        build_test_suite('Products.CMFCore.tests',['test_all']),
        build_test_suite('Products.CMFDefault.tests',['test_all']),
        build_test_suite('Products.CMFTopic.tests',['test_all']),
        build_test_suite('Products.CMFCalendar.tests',['test_all'],required=0),
        build_test_suite('Products.CMFDecor.tests',['test_all'],required=0),
        build_test_suite('Products.DCWorkflow.tests',['test_all'],required=0),
        ))
Ejemplo n.º 11
0
def test_suite():

    import Zope
    from Products.CMFCore.tests.base.utils import build_test_suite

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest( build_test_suite( dotted
                                       , [ 'test_all' ]
                                       , required=required
                                       ) )

    return suite
Ejemplo n.º 12
0
def test_suite():

    return build_test_suite('Products.CMFCore.tests',[
        'test_ContentTypeRegistry',
        'test_PortalFolder',
        'test_TypesTool',
        'test_WorkflowTool',
        'test_ActionsTool',
        'test_ActionInformation',
        'test_ActionProviderBase',
        'test_Expression',
        'test_CatalogTool',
        'test_DirectoryView',
        'test_FSPythonScript',
        'test_FSPageTemplate',
        'test_CachingPolicyManager',
        ])
Ejemplo n.º 13
0
def test_suite():

    return build_test_suite('Products.CMFCore.tests', [
        'test_ContentTypeRegistry',
        'test_PortalFolder',
        'test_TypesTool',
        'test_WorkflowTool',
        'test_ActionsTool',
        'test_ActionInformation',
        'test_ActionProviderBase',
        'test_Expression',
        'test_CatalogTool',
        'test_DirectoryView',
        'test_FSPythonScript',
        'test_FSPageTemplate',
        'test_CachingPolicyManager',
    ])
Ejemplo n.º 14
0
def suite():
    return build_test_suite('Products.CMFDefault.tests',[
        'test_DefaultWorkflow',
        'test_Discussions',
        'test_DiscussionTool',
        'test_Document',
        'test_DublinCore',
        'test_Favorite',
        'test_Image',
        'test_join',
        'test_Link',
        'test_MembershipTool',
        'test_MetadataTool',
        'test_NewsItem',
        'test_Portal',
        'test_PropertiesTool',
        'test_RegistrationTool',
        'test_utils',
        ])
Ejemplo n.º 15
0
def suite():
    return build_test_suite('Products.CMFDefault.tests', [
        'test_DefaultWorkflow',
        'test_Discussions',
        'test_DiscussionTool',
        'test_Document',
        'test_DublinCore',
        'test_Favorite',
        'test_Image',
        'test_join',
        'test_Link',
        'test_MembershipTool',
        'test_MetadataTool',
        'test_NewsItem',
        'test_Portal',
        'test_PropertiesTool',
        'test_RegistrationTool',
        'test_utils',
    ])
Ejemplo n.º 16
0
def test_suite():

    import Zope

    try:
        Zope.startup()
    except AttributeError:  # Zope <= 2.6.0
        pass

    from Products.CMFCore.tests.base.utils import build_test_suite

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest(build_test_suite(dotted, ['test_all'],
                                       required=required))

    return suite
Ejemplo n.º 17
0
def test_suite():

    import Zope

    try:
        Zope.startup()
    except AttributeError:  # Zope <= 2.6.0
        pass

    from Products.CMFCore.tests.base.utils import build_test_suite

    suite = unittest.TestSuite()

    packages = PACKAGES_UNDER_TEST or CMF_PACKAGES

    for package_name, required in packages:
        dotted = 'Products.%s.tests' % package_name
        suite.addTest( build_test_suite( dotted
                                       , [ 'test_all' ]
                                       , required=required
                                       ) )

    return suite
Ejemplo n.º 18
0
def suite():
    return build_test_suite('Products.CMFActionIcons.tests',[
        'test_ActionIconsTool',
        ])
Ejemplo n.º 19
0
def suite():
    return build_test_suite('Products.DCWorkflow.tests', [
        'test_DCWorkflow',
        'test_roles',
    ])
Ejemplo n.º 20
0
def suite():
    return build_test_suite('Products.CMFUid.tests',[
        'test_uidannotation',
        'test_uidgeneration',
        'test_uidhandling',
        ])
Ejemplo n.º 21
0
def test_suite():

    return build_test_suite('Products.CMFTracker.tests',[
        'test_IssueDescription',
        ])
Ejemplo n.º 22
0
def suite():
    return build_test_suite('Products.DCWorkflow.tests',[
        'test_DCWorkflow',
        'test_roles',
        ])
Ejemplo n.º 23
0
def suite():
    return build_test_suite( 'Products.CMFCollector.tests'
                           , [ 'test_CollectorSubset'
                             ,
                             ]
                           )
Ejemplo n.º 24
0
def suite():
    return build_test_suite('Products.CMFWorkspaces.tests', [
        'testReferences',
    ])
Ejemplo n.º 25
0
def suite():
    return build_test_suite('Products.CMFActionIcons.tests', [
        'test_ActionIconsTool',
    ])
Ejemplo n.º 26
0
def suite():
    return build_test_suite('Products.CMFUid.tests', [
        'test_uidannotation',
        'test_uidgeneration',
        'test_uidhandling',
    ])
Ejemplo n.º 27
0
def suite():
    return build_test_suite('Products.CMFCollector.tests', [
        'test_CollectorSubset',
    ])
Ejemplo n.º 28
0
def test_suite():
    return build_test_suite('Products.CMFCalendar.tests', ['test_Event'])
Ejemplo n.º 29
0
def suite():
    return build_test_suite('Products.CMFWorkspaces.tests',[
        'testReferences',
        ])
Ejemplo n.º 30
0
def test_suite():

    return build_test_suite('Products.CMFTracker.tests', [
        'test_IssueDescription',
    ])
Ejemplo n.º 31
0
def test_suite():
    return build_test_suite('Products.CMFCalendar.tests',['test_Event'])