Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.tests.test_UndoTool.UndoToolTests Class Reference

List of all members.

Public Member Functions

def test_z2interfaces
def test_z3interfaces
def test_listUndoableTransactionsFor

Private Member Functions

def _getTargetClass
def _makeOne

Detailed Description

Definition at line 30 of file test_UndoTool.py.


Member Function Documentation

Definition at line 32 of file test_UndoTool.py.

00032 
00033     def _getTargetClass(self):
00034         from Products.CMFCore.UndoTool import UndoTool
00035 
00036         return UndoTool

def CMFCore.tests.test_UndoTool.UndoToolTests._makeOne (   self,
  args,
  kw 
) [private]

Definition at line 37 of file test_UndoTool.py.

00037 
00038     def _makeOne(self, *args, **kw):
00039         return self._getTargetClass()(*args, **kw)

Here is the call graph for this function:

Definition at line 53 of file test_UndoTool.py.

00053 
00054     def test_listUndoableTransactionsFor(self):
00055         udtool = self._makeOne()
00056         obj = DummyFolder()
00057         transactions = udtool.listUndoableTransactionsFor(obj)
00058         self.assertEqual(transactions, ())
00059 

Definition at line 40 of file test_UndoTool.py.

00040 
00041     def test_z2interfaces(self):
00042         from Interface.Verify import verifyClass
00043         from Products.CMFCore.interfaces.portal_undo \
00044                 import portal_undo as IUndoTool
00045 
00046         verifyClass(IUndoTool, self._getTargetClass())

Here is the call graph for this function:

Definition at line 47 of file test_UndoTool.py.

00047 
00048     def test_z3interfaces(self):
00049         from zope.interface.verify import verifyClass
00050         from Products.CMFCore.interfaces import IUndoTool
00051 
00052         verifyClass(IUndoTool, self._getTargetClass())

Here is the call graph for this function:


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