Back to index

plone3  3.1.7
Public Member Functions
CMFCore.testing.ConformsToContent Class Reference

List of all members.

Public Member Functions

def test_content_z2interfaces
def test_content_z3interfaces

Detailed Description

Definition at line 59 of file testing.py.


Member Function Documentation

Definition at line 61 of file testing.py.

00061 
00062     def test_content_z2interfaces(self):
00063         from Interface.Verify import verifyClass
00064         from Products.CMFCore.interfaces.Contentish \
00065                 import Contentish as IContentish
00066         from Products.CMFCore.interfaces.DublinCore \
00067                 import CatalogableDublinCore as ICatalogableDublinCore
00068         from Products.CMFCore.interfaces.DublinCore \
00069                 import DublinCore as IDublinCore
00070         from Products.CMFCore.interfaces.DublinCore \
00071                 import MutableDublinCore as IMutableDublinCore
00072         from Products.CMFCore.interfaces.Dynamic \
00073                 import DynamicType as IDynamicType
00074 
00075         verifyClass(ICatalogableDublinCore, self._getTargetClass())
00076         verifyClass(IContentish, self._getTargetClass())
00077         verifyClass(IDublinCore, self._getTargetClass())
00078         verifyClass(IDynamicType, self._getTargetClass())
00079         verifyClass(IMutableDublinCore, self._getTargetClass())

Definition at line 80 of file testing.py.

00080 
00081     def test_content_z3interfaces(self):
00082         from zope.interface.verify import verifyClass
00083         from Products.CMFCore.interfaces import ICatalogableDublinCore
00084         from Products.CMFCore.interfaces import IContentish
00085         from Products.CMFCore.interfaces import IDublinCore
00086         from Products.CMFCore.interfaces import IDynamicType
00087         from Products.CMFCore.interfaces import IMutableDublinCore
00088         from Products.GenericSetup.interfaces import IDAVAware
00089 
00090         verifyClass(ICatalogableDublinCore, self._getTargetClass())
00091         verifyClass(IContentish, self._getTargetClass())
00092         verifyClass(IDAVAware, self._getTargetClass())
00093         verifyClass(IDublinCore, self._getTargetClass())
00094         verifyClass(IDynamicType, self._getTargetClass())
00095         verifyClass(IMutableDublinCore, self._getTargetClass())
00096 


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