Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.contentmenu.tests.TestActionsMenu Class Reference

List of all members.

Public Member Functions

def afterSetUp
def testActionsMenuImplementsIBrowserMenu
def testActionsMenuImplementsIActionsMenu
def testActionsMenuFindsActions

Public Attributes

 menu
 request

Detailed Description

Definition at line 29 of file tests.py.


Member Function Documentation

Definition at line 31 of file tests.py.

00031 
00032     def afterSetUp(self):
00033         self.menu = getUtility(IBrowserMenu, name='plone_contentmenu_actions', context=self.folder)
00034         self.request = self.app.REQUEST

Definition at line 41 of file tests.py.

00041 
00042     def testActionsMenuFindsActions(self):
00043         actions = self.menu.getMenuItems(self.folder, self.request)
00044         self.failUnless('copy' in [a['extra']['id'] for a in actions])
00045 

Here is the call graph for this function:

Definition at line 38 of file tests.py.

00038 
00039     def testActionsMenuImplementsIActionsMenu(self):
00040         self.failUnless(IActionsMenu.providedBy(self.menu))

Definition at line 35 of file tests.py.

00035 
00036     def testActionsMenuImplementsIBrowserMenu(self):
00037         self.failUnless(IBrowserMenu.providedBy(self.menu))


Member Data Documentation

Definition at line 32 of file tests.py.

Definition at line 33 of file tests.py.


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