Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests Class Reference
Inheritance diagram for CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate
def _verifyImport

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 256 of file test_skins.py.


Member Function Documentation

Definition at line 260 of file test_skins.py.

00260 
00261     def _getTargetClass(self):
00262         from Products.CMFCore.exportimport.skins import SkinsToolXMLAdapter
00263 
00264         return SkinsToolXMLAdapter

Definition at line 265 of file test_skins.py.

00265 
00266     def _populate(self, obj):
00267         from Products.CMFCore.DirectoryView import DirectoryView
00268 
00269         obj._setObject('foo_directoryview',
00270                        DirectoryView('foo_directoryview',
00271                                      'CMFCore/exportimport/tests/one'))
00272         obj.addSkinSelection('foo_path', 'one')

Here is the caller graph for this function:

Definition at line 273 of file test_skins.py.

00273 
00274     def _verifyImport(self, obj):
00275         pass

Here is the caller graph for this function:

Reimplemented from CMFCore.exportimport.tests.test_skins._DVRegistrySetup.

Definition at line 276 of file test_skins.py.

00276 
00277     def setUp(self):
00278         from Products.CMFCore import DirectoryView
00279         from Products.CMFCore.SkinsTool import SkinsTool
00280 
00281         BodyAdapterTestCase.setUp(self)
00282         _DVRegistrySetup.setUp(self)
00283         self._obj = SkinsTool()
00284         self._BODY = _SKINSTOOL_BODY

Reimplemented from CMFCore.exportimport.tests.test_skins._DVRegistrySetup.

Definition at line 285 of file test_skins.py.

00285 
00286     def tearDown(self):
00287         _DVRegistrySetup.tearDown(self)
00288         BodyAdapterTestCase.tearDown(self)
00289 


Member Data Documentation

Definition at line 283 of file test_skins.py.

Definition at line 282 of file test_skins.py.

Definition at line 258 of file test_skins.py.


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