Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.layout.globals.tests.test_tools.TestToolsView Class Reference
Inheritance diagram for plone.app.layout.globals.tests.test_tools.TestToolsView:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.globals.tests.test_tools.TestToolsView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def test_actions
def test_catalog
def test_membership
def test_properties
def test_syndication
def test_types
def test_url
def test_workflow

Public Attributes

 view

Detailed Description

Ensure that the basic redirector setup is successful.

Definition at line 6 of file test_tools.py.


Member Function Documentation

Definition at line 10 of file test_tools.py.

00010 
00011     def afterSetUp(self):
00012         self.view = self.folder.restrictedTraverse('@@plone_tools')
    

Definition at line 13 of file test_tools.py.

00013 
00014     def test_actions(self):
00015         self.assertEquals(self.view.actions(), getToolByName(self.folder, 'portal_actions'))
        

Here is the call graph for this function:

Definition at line 16 of file test_tools.py.

00016 
00017     def test_catalog(self):
00018         self.assertEquals(self.view.catalog(), getToolByName(self.folder, 'portal_catalog'))
        

Here is the call graph for this function:

Definition at line 19 of file test_tools.py.

00019 
00020     def test_membership(self):
00021         self.assertEquals(self.view.membership(), getToolByName(self.folder, 'portal_membership'))
        

Here is the call graph for this function:

Definition at line 22 of file test_tools.py.

00022 
00023     def test_properties(self):
00024         self.assertEquals(self.view.properties(), getToolByName(self.folder, 'portal_properties'))
        

Here is the call graph for this function:

Definition at line 25 of file test_tools.py.

00025 
00026     def test_syndication(self):
00027         self.assertEquals(self.view.syndication(), getToolByName(self.folder, 'portal_syndication'))
        

Here is the call graph for this function:

Definition at line 28 of file test_tools.py.

00028 
00029     def test_types(self):
00030         self.assertEquals(self.view.types(), getToolByName(self.folder, 'portal_types'))
        

Here is the call graph for this function:

Definition at line 31 of file test_tools.py.

00031 
00032     def test_url(self):
00033         self.assertEquals(self.view.url(), getToolByName(self.folder, 'portal_url'))

Here is the call graph for this function:

Definition at line 34 of file test_tools.py.

00034 
00035     def test_workflow(self):
00036         self.assertEquals(self.view.workflow(), getToolByName(self.folder, 'portal_workflow'))

Here is the call graph for this function:


Member Data Documentation

Definition at line 11 of file test_tools.py.


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