Back to index

plone3  3.1.7
Classes | Functions | Variables
Archetypes.tests.test_annotation Namespace Reference

Classes

class  AnnDummy
class  AnnotationTest
class  MetadataAnnotationStorageTest
class  AnnotationStorageTest

Functions

def gen_anndummy
def test_suite

Variables

tuple annschema

Function Documentation

Definition at line 51 of file test_annotation.py.

00051 
00052 def gen_anndummy():
00053     gen_class(AnnDummy, annschema)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 207 of file test_annotation.py.

00207 
00208 def test_suite():
00209     from unittest import TestSuite, makeSuite
00210     suite = TestSuite()
00211     suite.addTest(makeSuite(AnnotationTest))
00212     suite.addTest(makeSuite(MetadataAnnotationStorageTest))
00213     suite.addTest(makeSuite(AnnotationStorageTest))
00214     return suite

Variable Documentation

Initial value:
00001 BaseSchema+Schema((
00002      StringField('string',
00003          default = u'stringdefault',
00004          storage = AnnotationStorage(),
00005          ),
00006      StringField('meta',
00007          default = 'metadefault',
00008          storage = MetadataAnnotationStorage(),
00009          ),
00010     ))

Definition at line 39 of file test_annotation.py.