Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.tests.test_CMFBTreeFolder.CMFBTreeFolderTests Class Reference
Inheritance diagram for CMFCore.tests.test_CMFBTreeFolder.CMFBTreeFolderTests:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.tests.test_CMFBTreeFolder.CMFBTreeFolderTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_empty

Private Member Functions

def _getTargetClass
def _makeOne

Detailed Description

Definition at line 24 of file test_CMFBTreeFolder.py.


Member Function Documentation

Definition at line 26 of file test_CMFBTreeFolder.py.

00026 
00027     def _getTargetClass(self):
00028         from Products.CMFCore.CMFBTreeFolder import CMFBTreeFolder
00029 
00030         return CMFBTreeFolder

def CMFCore.tests.test_CMFBTreeFolder.CMFBTreeFolderTests._makeOne (   self,
  args,
  kw 
) [private]

Definition at line 31 of file test_CMFBTreeFolder.py.

00031 
00032     def _makeOne(self, *args, **kw):
00033         return self._getTargetClass()(*args, **kw)

Here is the call graph for this function:

Definition at line 34 of file test_CMFBTreeFolder.py.

00034 
00035     def test_empty( self ):
00036         empty = self._makeOne('test')
00037         self.assertEqual( len( empty.objectIds() ), 0 )
00038 
# this test doesn't work with ZopeTestCase.ZopeLite.installProduct

Here is the call graph for this function:


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