Back to index

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

Classes

class  PortletsExportImportTestCase
class  TestImportPortlets
class  TestExportPortlets
class  TestHelperMethods
class  TestImportPortletManagers
class  TestExportPortletManagers

Functions

def test_suite

Variables

string _XML_INVALID_EXTEND_AND_PURGE
string _XML_INVALID_EXTEND_NONEXISTS
string _XML_INVALID_ADD_EXISTING
string _XML_EXTEND_EXISTING
string _XML_SWITCH_COLUMNS
string _XML_BASIC
string _XML_BASIC_I18N
string _XML_MULTIPLE_INTERFACES
string _XML_DUPLICATE_INTERFACES
string _XML_DEFAULT_INTERFACE
string _XML_EXTENDME_SETUP
string _XML_EXTENDME_EXTENSION
string _XML_PURGEME_SETUP
string _XML_PURGEME_PURGE
string _XML_REMOVEME_SETUP
string _XML_REMOVEME_REMOVE
string _XML_EXPLICIT_DEFAULT_INTERFACE
string _XML_BBB_INTERFACE
string _XML_PORTLET_MANAGER_BASIC
string _XML_PORTLET_MANAGER_CUSTOM_TYPE
string _XML_PORTLET_MANAGER_CUSTOM_CLASS

Function Documentation

Definition at line 256 of file test_exportimport.py.

00256 
00257 def test_suite():
00258     from unittest import TestSuite, makeSuite
00259     suite = TestSuite()
00260     suite.addTest(makeSuite(TestImportPortlets))
00261     suite.addTest(makeSuite(TestExportPortlets))
00262     suite.addTest(makeSuite(TestHelperMethods))
00263     suite.addTest(makeSuite(TestImportPortletManagers))
00264     suite.addTest(makeSuite(TestExportPortletManagers))
00265     return suite


Variable Documentation

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.New" title="Foo" description="Bar">
00003   <for interface="plone.app.portlets.interfaces.IColumn" />
00004 </portlet>
00005 """

Definition at line 289 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet xmlns:i18n="http://xml.zope.org/namespaces/i18n"
00003     i18n:domain="foodomain"
00004     addview="portlets.New" title="Foo" description="Bar"
00005     i18n:attributes="title title_foo_portlet;
00006                      description description_foo_portlet">
00007   <for interface="plone.app.portlets.interfaces.IColumn" />
00008 </portlet>
00009 """

Definition at line 295 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.BBB" title="Foo" description="Foo" for="plone.app.portlets.interfaces.IColumn" />
00003 """

Definition at line 362 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.New" title="Foo" description="Foo" />
00003 """

Definition at line 319 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?> 
00002 <portlet addview="portlets.New" title="Foo" description="Foo"> 
00003   <for interface="plone.app.portlets.interfaces.IColumn" /> 
00004   <for interface="plone.app.portlets.interfaces.IColumn" /> 
00005 </portlet> 
00006 """

Definition at line 312 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.New" title="Foo" description="Foo">
00003   <for interface="zope.interface.Interface" />
00004 </portlet>
00005 """

Definition at line 356 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.Exists" extend="" />
00003 """

Definition at line 278 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.ExtendMe" extend="" title="Bar" description="Bar">
00003   <for interface="plone.app.portlets.interfaces.IColumn" remove="" />
00004   <for interface="plone.app.portlets.interfaces.IDashboard" />
00005 </portlet>
00006 """

Definition at line 329 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.ExtendMe" title="Foo" description="Foo">
00003   <for interface="plone.app.portlets.interfaces.IColumn" />
00004 </portlet>
00005 """

Definition at line 323 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.Exists" title="Foo" description="Foo" />
00003 """

Definition at line 274 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.Exists" extend="" purge="" />
00003 """

Definition at line 266 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.NonExists" extend="" />
00003 """

Definition at line 270 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.New" title="Foo" description="Foo">
00003   <for interface="plone.app.portlets.interfaces.IColumn" />
00004   <for interface="plone.app.portlets.interfaces.IDashboard" />
00005 </portlet>
00006 """

Definition at line 305 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portletmanager name="plone.foo_column" />
00003 """

Definition at line 366 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portletmanager name="plone.foo_column" class="plone.app.portlets.tests.utils.FooPortletManager" />
00003 """

Definition at line 374 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portletmanager name="plone.foo_column" type="plone.app.portlets.interfaces.IColumn" />
00003 """

Definition at line 370 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.PurgeMe" purge="" title="Bar" description="Bar">
00003   <for interface="plone.app.portlets.interfaces.IColumn" />
00004 </portlet>
00005 """

Definition at line 342 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.PurgeMe" title="Foo" description="Foo">
00003   <for interface="plone.app.portlets.interfaces.IDashboard" />
00004 </portlet>
00005 """

Definition at line 336 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.RemoveMe" remove="" />
00003 """

Definition at line 352 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.RemoveMe" title="Foo" description="Foo" />
00003 """

Definition at line 348 of file test_exportimport.py.

Initial value:
00001 """<?xml version="1.0"?>
00002 <portlet addview="portlets.Exists" extend="">
00003   <for interface="plone.app.portlets.interfaces.IColumn" />
00004   <for interface="plone.app.portlets.interfaces.IDashboard" remove ="" />
00005 </portlet>
00006 """

Definition at line 282 of file test_exportimport.py.