Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFTopic.tests.common.CriterionTestCase Class Reference
Inheritance diagram for CMFTopic.tests.common.CriterionTestCase:
Inheritance graph
[legend]
Collaboration diagram for CMFTopic.tests.common.CriterionTestCase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_z2interfaces
def test_z3interfaces

Private Member Functions

def _makeOne

Detailed Description

Definition at line 21 of file common.py.


Member Function Documentation

def CMFTopic.tests.common.CriterionTestCase._makeOne (   self,
  id,
  args,
  kw 
) [private]

Definition at line 23 of file common.py.

00023 
00024     def _makeOne(self, id, *args, **kw):
00025         return self._getTargetClass()(id, *args, **kw)

Definition at line 26 of file common.py.

00026 
00027     def test_z2interfaces(self):
00028         from Interface.Verify import verifyClass
00029         from Products.CMFTopic.interfaces import Criterion as ICriterion
00030 
00031         verifyClass( ICriterion, self._getTargetClass() )

Definition at line 32 of file common.py.

00032 
00033     def test_z3interfaces(self):
00034         from zope.interface.verify import verifyClass
00035         from Products.CMFTopic.interfaces import ICriterion
00036 
00037         verifyClass(ICriterion, self._getTargetClass())

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