Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions
plone.app.portlets.tests.test_exportimport.PortletsExportImportTestCase Class Reference
Inheritance diagram for plone.app.portlets.tests.test_exportimport.PortletsExportImportTestCase:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.tests.test_exportimport.PortletsExportImportTestCase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp

Public Attributes

 sm
 importer
 exporter

Private Member Functions

def _searchPortletManagerRegistrations
def _node_as_string

Detailed Description

Definition at line 24 of file test_exportimport.py.


Member Function Documentation

Definition at line 39 of file test_exportimport.py.

00039 
00040     def _node_as_string(self, node):
00041         file = StringIO()
00042         node.writexml(file)
00043         file.seek(0)
00044         return file.read()

Here is the caller graph for this function:

Definition at line 32 of file test_exportimport.py.

00032 
00033     def _searchPortletManagerRegistrations(self, name = None):  
00034         results = [r for r in self.sm.registeredUtilities()
00035           if r.provided.isOrExtends(IPortletManager)]
00036         if name:
00037             results = [r for r in results if r.name == name]
00038         return results

Here is the caller graph for this function:

Definition at line 25 of file test_exportimport.py.

00025 
00026     def afterSetUp(self):
00027         setHooks()
00028         setSite(self.portal)
00029         self.sm = getSiteManager(self.portal)
00030         self.importer = self.exporter = PortletsXMLAdapter(self.sm,
00031           DummySetupEnviron())
   

Here is the call graph for this function:


Member Data Documentation

Definition at line 29 of file test_exportimport.py.

Definition at line 29 of file test_exportimport.py.

Definition at line 28 of file test_exportimport.py.


The documentation for this class was generated from the following file: