source: publico/ILSAAL/trunk/tests/testSAAL1.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: testSAAL1.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
40##code-section module-beforeclass #fill in your manual code here
41##/code-section module-beforeclass
42
43
44class testSAAL1(SAALTestCase):
45    """ test-cases for class(es) SAAL
46    """
47
48    ##code-section class-header_testSAAL1 #fill in your manual code here
49    ##/code-section class-header_testSAAL1
50
51    def afterSetUp(self):
52        """
53        """
54        pass
55
56
57    # from class SAAL:
58    def test___init__(self):
59        """
60        """
61        #Uncomment one of the following lines as needed
62        ##self.loginAsPortalOwner()
63        ##o=SAAL('temp_SAAL')
64        ##self.folder._setObject('temp_SAAL', o)
65        pass
66
67
68    # from class SAAL:
69    def test_saal_portlet(self):
70        """
71        """
72        #Uncomment one of the following lines as needed
73        ##self.loginAsPortalOwner()
74        ##o=SAAL('temp_SAAL')
75        ##self.folder._setObject('temp_SAAL', o)
76        pass
77
78
79    # from class SAAL:
80    def test_saal_view(self):
81        """
82        """
83        #Uncomment one of the following lines as needed
84        ##self.loginAsPortalOwner()
85        ##o=SAAL('temp_SAAL')
86        ##self.folder._setObject('temp_SAAL', o)
87        pass
88
89
90    # from class SAAL:
91    def test_contabilidade_view(self):
92        """
93        """
94        #Uncomment one of the following lines as needed
95        ##self.loginAsPortalOwner()
96        ##o=SAAL('temp_SAAL')
97        ##self.folder._setObject('temp_SAAL', o)
98        pass
99
100
101    # from class SAAL:
102    def test_folha_pagamento_view(self):
103        """
104        """
105        #Uncomment one of the following lines as needed
106        ##self.loginAsPortalOwner()
107        ##o=SAAL('temp_SAAL')
108        ##self.folder._setObject('temp_SAAL', o)
109        pass
110
111
112    # from class SAAL:
113    def test_material_view(self):
114        """
115        """
116        #Uncomment one of the following lines as needed
117        ##self.loginAsPortalOwner()
118        ##o=SAAL('temp_SAAL')
119        ##self.folder._setObject('temp_SAAL', o)
120        pass
121
122
123    # from class SAAL:
124    def test_orcamento_view(self):
125        """
126        """
127        #Uncomment one of the following lines as needed
128        ##self.loginAsPortalOwner()
129        ##o=SAAL('temp_SAAL')
130        ##self.folder._setObject('temp_SAAL', o)
131        pass
132
133
134    # from class SAAL:
135    def test_patrimonio_view(self):
136        """
137        """
138        #Uncomment one of the following lines as needed
139        ##self.loginAsPortalOwner()
140        ##o=SAAL('temp_SAAL')
141        ##self.folder._setObject('temp_SAAL', o)
142        pass
143
144
145    # from class SAAL:
146    def test_recursos_humanos_view(self):
147        """
148        """
149        #Uncomment one of the following lines as needed
150        ##self.loginAsPortalOwner()
151        ##o=SAAL('temp_SAAL')
152        ##self.folder._setObject('temp_SAAL', o)
153        pass
154
155
156    # from class SAAL:
157    def test_tesouraria_view(self):
158        """
159        """
160        #Uncomment one of the following lines as needed
161        ##self.loginAsPortalOwner()
162        ##o=SAAL('temp_SAAL')
163        ##self.folder._setObject('temp_SAAL', o)
164        pass
165
166
167
168    # Manually created methods
169    def test_saal_menu(self):
170        """
171        """
172        #Uncomment one of the following lines as needed
173        ##self.loginAsPortalOwner()
174        ##o=SAAL('temp_SAAL')
175        ##self.folder._setObject('temp_SAAL', o)
176        pass
177
178
179def test_suite():
180    from unittest import TestSuite, makeSuite
181    suite = TestSuite()
182    suite.addTest(makeSuite(testSAAL1))
183    return suite
184
185##code-section module-footer #fill in your manual code here
186##/code-section module-footer
187
188
189if __name__ == '__main__':
190    framework()
191
192
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.