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

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

Adicionadas as views do container principal do SAAL

File size: 4.9 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_portlet(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    # from class SAAL:
76    def test_saal_view(self):
77        """
78        """
79        #Uncomment one of the following lines as needed
80        ##self.loginAsPortalOwner()
81        ##o=SAAL('temp_SAAL')
82        ##self.folder._setObject('temp_SAAL', o)
83        pass
84
85
86    # from class SAAL:
87    def test_contabilidade_view(self):
88        """
89        """
90        #Uncomment one of the following lines as needed
91        ##self.loginAsPortalOwner()
92        ##o=SAAL('temp_SAAL')
93        ##self.folder._setObject('temp_SAAL', o)
94        pass
95
96
97    # from class SAAL:
98    def test_folha_pagamento_view(self):
99        """
100        """
101        #Uncomment one of the following lines as needed
102        ##self.loginAsPortalOwner()
103        ##o=SAAL('temp_SAAL')
104        ##self.folder._setObject('temp_SAAL', o)
105        pass
106
107
108    # from class SAAL:
109    def test_material_view(self):
110        """
111        """
112        #Uncomment one of the following lines as needed
113        ##self.loginAsPortalOwner()
114        ##o=SAAL('temp_SAAL')
115        ##self.folder._setObject('temp_SAAL', o)
116        pass
117
118
119    # from class SAAL:
120    def test_orcamento_view(self):
121        """
122        """
123        #Uncomment one of the following lines as needed
124        ##self.loginAsPortalOwner()
125        ##o=SAAL('temp_SAAL')
126        ##self.folder._setObject('temp_SAAL', o)
127        pass
128
129
130    # from class SAAL:
131    def test_patrimonio_view(self):
132        """
133        """
134        #Uncomment one of the following lines as needed
135        ##self.loginAsPortalOwner()
136        ##o=SAAL('temp_SAAL')
137        ##self.folder._setObject('temp_SAAL', o)
138        pass
139
140
141    # from class SAAL:
142    def test_recursos_humanos_view(self):
143        """
144        """
145        #Uncomment one of the following lines as needed
146        ##self.loginAsPortalOwner()
147        ##o=SAAL('temp_SAAL')
148        ##self.folder._setObject('temp_SAAL', o)
149        pass
150
151
152    # from class SAAL:
153    def test_tesouraria_view(self):
154        """
155        """
156        #Uncomment one of the following lines as needed
157        ##self.loginAsPortalOwner()
158        ##o=SAAL('temp_SAAL')
159        ##self.folder._setObject('temp_SAAL', o)
160        pass
161
162
163
164    # Manually created methods
165    def test_saal_menu(self):
166        """
167        """
168        #Uncomment one of the following lines as needed
169        ##self.loginAsPortalOwner()
170        ##o=SAAL('temp_SAAL')
171        ##self.folder._setObject('temp_SAAL', o)
172        pass
173
174
175
176def test_suite():
177    from unittest import TestSuite
178    from Testing.ZopeTestCase.zopedoctest import ZopeDocFileSuite
179
180    return TestSuite((
181        ZopeDocFileSuite('testSAALDoc.txt',
182                         package='Products.ILSAAL.doc',
183                         test_class=testSAALDoc),
184    ))
185
186
187##code-section module-footer #fill in your manual code here
188##/code-section module-footer
189
190
191if __name__ == '__main__':
192    framework()
193
194
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.