Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
CMFCore.exportimport.tests.test_actions.ActionCategoryNodeAdapterTests Class Reference
Inheritance diagram for CMFCore.exportimport.tests.test_actions.ActionCategoryNodeAdapterTests:
Inheritance graph
Collaboration diagram for CMFCore.exportimport.tests.test_actions.ActionCategoryNodeAdapterTests:
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 279 of file

Member Function Documentation

Definition at line 283 of file

00284     def _getTargetClass(self):
00285         from Products.CMFCore.exportimport.actions \
00286                 import ActionCategoryNodeAdapter
00288         return ActionCategoryNodeAdapter

Definition at line 289 of file

00290     def _populate(self, obj):
00291         from Products.CMFCore.ActionInformation import Action
00293         obj._setObject('foo_action', Action('foo_action'))

Here is the caller graph for this function:

Definition at line 294 of file

00295     def _verifyImport(self, obj):
00296         self.assertEqual(type(obj.title), str)
00297         self.assertEqual(obj.title, '')

Here is the caller graph for this function:

Definition at line 298 of file

00299     def setUp(self):
00300         from Products.CMFCore.ActionInformation import ActionCategory
00302         NodeAdapterTestCase.setUp(self)
00303         self._obj = ActionCategory('foo_category')
00304         self._XML = _ACTIONCATEGORY_XML

Member Data Documentation

Definition at line 302 of file

Definition at line 303 of file

Definition at line 281 of file

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