Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
GenericSetup.OFSP.tests.test_exportimport.FolderXMLAdapterTests Class Reference
Inheritance diagram for GenericSetup.OFSP.tests.test_exportimport.FolderXMLAdapterTests:
Inheritance graph
Collaboration diagram for GenericSetup.OFSP.tests.test_exportimport.FolderXMLAdapterTests:
Collaboration graph

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate
def _verifyImport

Private Attributes


Detailed Description

Definition at line 32 of file

Member Function Documentation

Definition at line 36 of file

00037     def _getTargetClass(self):
00038         from Products.GenericSetup.OFSP.exportimport import FolderXMLAdapter
00040         return FolderXMLAdapter

Definition at line 41 of file

00042     def _populate(self, obj):
00043         obj._setPropValue('title', 'Foo')

Here is the caller graph for this function:

Definition at line 44 of file

00045     def _verifyImport(self, obj):
00046         self.assertEqual(type(obj.title), str)
00047         self.assertEqual(obj.title, 'Foo')

Here is the caller graph for this function:

Definition at line 48 of file

00049     def setUp(self):
00050         from OFS.Folder import Folder
00052         BodyAdapterTestCase.setUp(self)
00053         self._obj = Folder('foo_folder')
00054         self._BODY = _FOLDER_BODY

Member Data Documentation

Definition at line 53 of file

Definition at line 52 of file

Definition at line 34 of file

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