source: publico/ILSAAL/trunk/tests/testSAALDoc.py @ 1084

Última Alteração nesse arquivo desde 1084 foi 1084, incluída por jeanferri, 14 anos atrás

Atualizada a versão do ArchGenXml para 1.4 RC1

File size: 2.6 KB
Linha 
1# File: testSAALDoc.py
2#
3# Copyright (c) 2005 by Interlegis
4# Generator: ArchGenXML Version 1.4.0-RC1 devel
5#            http://plone.org/products/archgenxml
6#
7# GNU General Public Licence (GPL)
8#
9# This program is free software; you can redistribute it and/or modify it under
10# the terms of the GNU General Public License as published by the Free Software
11# Foundation; either version 2 of the License, or (at your option) any later
12# version.
13# This program is distributed in the hope that it will be useful, but WITHOUT
14# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
16# details.
17# You should have received a copy of the GNU General Public License along with
18# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19# Place, Suite 330, Boston, MA  02111-1307  USA
20#
21__author__  = '''STC Interlegis <stc@interlegis.gov.br>'''
22__docformat__ = 'plaintext'
23
24import os, sys
25if __name__ == '__main__':
26    execfile(os.path.join(sys.path[0], 'framework.py'))
27
28##code-section module-header #fill in your manual code here
29##/code-section module-header
30
31#
32# test-cases for class(es) SAAL
33#
34import os, sys
35from Testing import ZopeTestCase
36from Products.ILSAAL.tests.SAALTestCase import SAALTestCase
37# import the tested classes
38from Products.ILSAAL.SAAL import SAAL
39
40class testSAALDoc(SAALTestCase):
41    """ test-cases for class(es) SAAL
42    """
43
44    ##code-section class-header_testSAALDoc #fill in your manual code here
45    ##/code-section class-header_testSAALDoc
46
47    def afterSetUp(self):
48        """
49        """
50        pass
51
52
53    # from class SAAL:
54    def test___init__(self):
55        """
56        """
57        #Uncomment one of the following lines as needed
58        ##self.loginAsPortalOwner()
59        ##o=SAAL('temp_SAAL')
60        ##self.folder._setObject('temp_SAAL', o)
61        pass
62
63
64    # from class SAAL:
65    def test_saal_menu(self):
66        """
67        """
68        #Uncomment one of the following lines as needed
69        ##self.loginAsPortalOwner()
70        ##o=SAAL('temp_SAAL')
71        ##self.folder._setObject('temp_SAAL', o)
72        pass
73
74
75
76    # Manually created methods
77
78
79def test_suite():
80    from unittest import TestSuite
81    from Testing.ZopeTestCase.zopedoctest import ZopeDocFileSuite
82
83    return TestSuite((
84        ZopeDocFileSuite('testSAALDoc.txt',
85                         package='Products.ILSAAL.doc',
86                         test_class=testSAALDoc),
87    ))
88
89
90##code-section module-footer #fill in your manual code here
91##/code-section module-footer
92
93
94if __name__ == '__main__':
95    framework()
96
97
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.