Source

jython / bugtests /

Filename Size Date modified Message
..
classes
test049p
test088p
test122p
test154p
test168p
test170p
test171p
test173p
test194m
test209p
test235p
test238p
test240p
test241p
test243p
test244p
test261p
test262p
test269p
test270p
test273p/com
test277p
test278p
test279p
test293p
test296p
test308d
52 B
1.4 KB
1.0 KB
3.3 KB
133 B
361 B
298 B
318 B
303 B
536 B
387 B
752 B
199 B
145 B
331 B
180 B
121 B
334 B
255 B
137 B
310 B
169 B
130 B
207 B
280 B
218 B
255 B
167 B
291 B
272 B
245 B
195 B
360 B
187 B
92 B
259 B
86 B
187 B
269 B
204 B
168 B
307 B
160 B
118 B
68 B
140 B
198 B
182 B
117 B
139 B
180 B
134 B
243 B
229 B
167 B
168 B
1.2 KB
276 B
300 B
217 B
313 B
151 B
264 B
163 B
1.3 KB
224 B
163 B
400 B
247 B
528 B
93 B
336 B
335 B
136 B
317 B
461 B
269 B
179 B
184 B
176 B
223 B
76 B
73 B
107 B
284 B
105 B
148 B
153 B
333 B
24 B
700 B
109 B
403 B
195 B
57 B
240 B
277 B
311 B
232 B
165 B
153 B
120 B
211 B
296 B
269 B
1.2 KB
286 B
217 B
319 B
394 B
276 B
15 B
292 B
241 B
358 B
679 B
405 B
33 B
1.2 KB
679 B
253 B
1.6 KB
223 B
208 B
178 B
258 B
126 B
155 B
223 B
73 B
435 B
793 B
97 B
351 B
719 B
387 B
284 B
675 B
104 B
663 B
312 B
432 B
26 B
151 B
414 B
481 B
319 B
126 B
435 B
248 B
136 B
448 B
143 B
425 B
144 B
135 B
225 B
227 B
143 B
268 B
353 B
263 B
221 B
315 B
114 B
205 B
260 B
328 B
171 B
145 B
113 B
572 B
164 B
374 B
223 B
191 B
323 B
826 B
359 B
192 B
162 B
131 B
149 B
137 B
270 B
154 B
487 B
114 B
139 B
174 B
184 B
116 B
151 B
107 B
274 B
146 B
216 B
282 B
66 B
225 B
77 B
195 B
304 B
272 B
253 B
241 B
184 B
251 B
1.3 KB
282 B
148 B
479 B
475 B
76 B
150 B
340 B
101 B
100 B
187 B
466 B
88 B
391 B
275 B
75 B
447 B
334 B
238 B
74 B
366 B
385 B
82 B
115 B
157 B
132 B
215 B
115 B
356 B
92 B
133 B
166 B
136 B
107 B
136 B
146 B
136 B
136 B
164 B
42 B
144 B
12.2 KB
163 B
125 B
133 B
2.6 KB
534 B
403 B
347 B
385 B
206 B
453 B
256 B
151 B
404 B
552 B
233 B
150 B
76 B
150 B
196 B
232 B
143 B
96 B
250 B
287 B
256 B
136 B
12 B
457 B
182 B
395 B
161 B
703 B
329 B
20 B
329 B
13 B
329 B
20 B
17 B
131 B
136 B
279 B
158 B
3.1 KB
161 B
671 B
88 B
19 B
425 B
282 B
257 B
142 B
68 B
232 B
344 B
87 B
3.4 KB
2.3 KB
741 B
281 B
87 B
251 B
318 B
235 B
161 B
1.6 KB
206 B
91 B
137 B
2.4 KB
878 B
329 B
264 B
247 B
226 B
243 B
106 B
279 B
165 B
144 B
18 B
70 B
144 B
18 B
130 B
144 B
67 B
145 B
76 B
123 B
381 B
213 B
43 B
18 B
76 B
150 B
94 B
577 B
182 B
38 B
135 B
131 B
636 B
32 B
17 B
50 B
160 B
38 B
159 B
125 B
208 B
113 B
984 B
213 B
367 B
49 B
78 B
419 B
399 B
276 B
150 B
114 B
590 B
412 B
146 B
166 B
657 B
290 B
375 B
209 B
303 B
154 B
41 B
205 B
161 B
204 B
196 B
91 B
109 B
418 B
136 B
430 B
255 B
614 B
182 B
569 B
207 B
371 B
342 B
339 B
222 B
791 B
253 B
99 B
257 B
272 B
655 B
414 B
0 B
375 B
580 B
422 B
95 B
601 B
285 B
162 B
289 B
209 B
102 B
10 B
263 B
1.9 KB
965 B
175 B
250 B
175 B
This directory contains small tests that attempt to ensure that old fixed
bugs does inot reappear.

Running
=======

Start a command prompt in this ("bugtests") directory. Make sure that 
the "classes" subdirectory is included in the CLASSPATH environment 
variable and that the "bugtests" directory is *not* included in in CLASSPATH.

Run the script "driver.py".

After running the tests the applets should be tested by starting the 
appletviewer on all the *.html files. Both MS and javasoft's appletviewer
should be tested.


Adding new tests
================

The tests follow a strict naming scheme that ensure that we always know
which files that belong to each test. The main script of each test is called
"testNNN" where NNN is a 3-digit number. All other files that belong to this
test also starts with testNNN. There are no exceptions to this rule!

Dependent file normally follow a simple naming

testNNNp    a python package
testNNNm    a python module
testNNNj    a java class
testNNNi    a java interface
testNNNc    a python module meant for compilation with jythonc.
testNNNa    an applet, compiled with jythonc.
testNNNs    modules with deleberate syntax errors.

The tests should always complete without throwing exceptions or errors. Since
these tests also cover bugs which may not have been fixed yet, the test should
instead throw a TestWarning exception. When the bug is fixed the TestWarning
should be removed and replaced with a TestError instead.