Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
ATContentTypes.tests.test_adapters.TestFolderishArchiver Class Reference
Inheritance diagram for ATContentTypes.tests.test_adapters.TestFolderishArchiver:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.tests.test_adapters.TestFolderishArchiver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def test_implements
def test_adapter

Public Attributes

 fobj

Detailed Description

Definition at line 92 of file test_adapters.py.


Member Function Documentation

Definition at line 93 of file test_adapters.py.

00093 
00094     def afterSetUp(self):
00095         atcttestcase.ATCTSiteTestCase.afterSetUp(self)
00096         self.folder.invokeFactory('Folder', 'fobj', title='folder 1')
00097         self.fobj = self.folder.fobj
00098         self.fobj.invokeFactory('Document','doc1',title='document 1')
00099         self.fobj.doc1.setText("A nice text")

Definition at line 104 of file test_adapters.py.

00104 
00105     def test_adapter(self):
00106         verifyClass(IArchiver,FolderishArchiver)
00107 
00108 tests.append(TestFolderishArchiver)

Definition at line 100 of file test_adapters.py.

00100 
00101     def test_implements(self):
00102         archiver = IArchiver(self.fobj)
00103         self.failUnless(IArchiver.providedBy(archiver))


Member Data Documentation

Definition at line 96 of file test_adapters.py.


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