Back to index

plone3  3.1.7
Public Member Functions Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def afterSetUp
def renderer
def test_recent_items
def test_recently_modified_link

Detailed Description

Definition at line 71 of file

Member Function Documentation

Definition at line 73 of file

00074     def afterSetUp(self):
00075         setHooks()
00076         setSite(self.portal)

Here is the call graph for this function:

def (   self,
  context = None,
  request = None,
  view = None,
  manager = None,
  assignment = None 

Definition at line 77 of file

00078     def renderer(self, context=None, request=None, view=None, manager=None, assignment=None):
00079         context = context or self.folder
00080         request = request or self.folder.REQUEST
00081         view = view or self.folder.restrictedTraverse('@@plone')
00082         manager = manager or getUtility(IPortletManager, name='plone.rightcolumn', context=self.portal)
00083         assignment = assignment or recent.Assignment()
00085         return getMultiAdapter((context, request, view, manager, assignment), IPortletRenderer)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 86 of file

00087     def test_recent_items(self):
00088         r = self.renderer(assignment=recent.Assignment(count=5))
00089         self.assertEquals(5, len(r.recent_items()))

Here is the call graph for this function:

Definition at line 90 of file

00091     def test_recently_modified_link(self):
00092         r = self.renderer(assignment=recent.Assignment(count=5))
00093         self.failUnless(r.recently_modified_link().endswith('/recently_modified'))

Here is the call graph for this function:

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