Back to index

plone3  3.1.7
Public Member Functions
CMFPlone.tests.testQueryCatalog.TestSearchForms Class Reference
Inheritance diagram for CMFPlone.tests.testQueryCatalog.TestSearchForms:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.tests.testQueryCatalog.TestSearchForms:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def testRenderSearchForm
def testRenderSearchResults
def testRenderSearchRSS
def testRenderTopicView
def setRequestMethod
def getAuthenticator
def setupAuthenticator

Detailed Description

Render all forms related to queryCatalog

Definition at line 231 of file testQueryCatalog.py.


Member Function Documentation

Definition at line 30 of file PloneTestCase.py.

00030 
00031     def getAuthenticator(self):
00032         tag = AuthenticatorView('context', 'request').authenticator()
00033         pattern = '<input .*name="(\w+)".*value="(\w+)"'
00034         return match(pattern, tag).groups()

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFPlone.tests.PloneTestCase.PloneTestCase.setRequestMethod (   self,
  method 
) [inherited]
This is a stub now, but in case you want to try
   something fancy on Your Branch (tm), put it here.

Definition at line 26 of file PloneTestCase.py.

00026 
00027     def setRequestMethod(self, method):
00028         self.app.REQUEST.set('REQUEST_METHOD', method)
00029         self.app.REQUEST.method = method

Here is the caller graph for this function:

Definition at line 35 of file PloneTestCase.py.

00035 
00036     def setupAuthenticator(self):
00037         name, token = self.getAuthenticator()
00038         self.app.REQUEST.form[name] = token
00039 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 234 of file testQueryCatalog.py.

00234 
00235     def testRenderSearchForm(self):
00236         self.portal.search_form()

Definition at line 237 of file testQueryCatalog.py.

00237 
00238     def testRenderSearchResults(self):
00239         self.portal.search()

Definition at line 240 of file testQueryCatalog.py.

00240 
00241     def testRenderSearchRSS(self):
00242         self.portal.search_rss(self.portal, self.app.REQUEST)

Here is the call graph for this function:

Definition at line 243 of file testQueryCatalog.py.

00243 
00244     def testRenderTopicView(self):
00245         self.setPermissions([AddPortalTopics])
00246         self.folder.invokeFactory('Topic', id='topic')
00247         self.folder.topic.atct_topic_view()
00248 

Here is the call graph for this function:


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