Back to index

plone3  3.1.7
Classes | Functions | Variables
plone.app.portlets.tests.test_configuration Namespace Reference

Classes

class  DummyView
class  ITestPortlet
class  TestAssignment
class  TestRenderer
class  TestAddForm
class  TestEditForm
class  ITestColumn
class  TestPortletZCMLLayer
class  TestPortletGSLayer
class  TestZCML
class  TestGenericSetup

Functions

def test_suite

Variables

string zcml_string

Function Documentation

Definition at line 485 of file test_configuration.py.

00485 
00486 def test_suite():
00487     from unittest import TestSuite, makeSuite
00488     suite = TestSuite()
00489     suite.addTest(makeSuite(TestZCML))
00490     suite.addTest(makeSuite(TestGenericSetup))
00491     return suite

Variable Documentation

Initial value:
00001 """\
00002 <configure xmlns="http://namespaces.zope.org/zope"
00003            xmlns:browser="http://namespaces.zope.org/browser"
00004            xmlns:plone="http://namespaces.plone.org/plone"
00005            xmlns:gs="http://namespaces.zope.org/genericsetup"
00006            package="plone.app.portlets">
00007 
00008     <plone:portlet
00009         name="portlets.test.Test"
00010         interface="plone.app.portlets.tests.test_configuration.ITestPortlet"
00011         assignment="plone.app.portlets.tests.test_configuration.TestAssignment"
00012         renderer="plone.app.portlets.tests.test_configuration.TestRenderer"
00013         addview="plone.app.portlets.tests.test_configuration.TestAddForm"
00014         editview="plone.app.portlets.tests.test_configuration.TestEditForm"
00015         />
00016         
00017     <gs:registerProfile
00018         name="testing"
00019         title="plone.app.portlets testing"
00020         description="Used for testing only" 
00021         directory="tests/profiles/testing"
00022         for="Products.CMFCore.interfaces.ISiteRoot"
00023         provides="Products.GenericSetup.interfaces.EXTENSION"
00024         />
00025         
00026 </configure>
00027 """

Definition at line 94 of file test_configuration.py.