sandbox/jython27 / 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
test277p
test278p
test293p
test296p
test308d
test342p
test364p
test386jar
test387p
test392LibDir
test394jar
test400
128 B
1.8 KB
1.9 KB
3.9 KB
7.8 KB
134 B
330 B
298 B
318 B
303 B
524 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
1.1 KB
259 B
86 B
187 B
269 B
204 B
168 B
307 B
218 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
621 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
281 B
232 B
165 B
153 B
120 B
211 B
296 B
269 B
1.2 KB
287 B
217 B
319 B
394 B
276 B
15 B
290 B
241 B
358 B
673 B
405 B
33 B
1.2 KB
679 B
253 B
1.6 KB
223 B
201 B
219 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
311 B
136 B
448 B
143 B
425 B
144 B
135 B
336 B
227 B
143 B
268 B
353 B
268 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
277 B
287 B
298 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
322 B
142 B
68 B
232 B
489 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
363 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
181 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
587 B
412 B
146 B
166 B
657 B
290 B
375 B
209 B
154 B
41 B
205 B
161 B
204 B
196 B
91 B
109 B
418 B
136 B
430 B
346 B
614 B
202 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
429 B
95 B
601 B
178 B
162 B
309 B
224 B
474 B
10 B
263 B
883 B
102 B
264 B
272 B
596 B
175 B
257 B
175 B
597 B
1.2 KB
211 B
1.2 KB
393 B
202 B
229 B
23 B
236 B
237 B
94 B
134 B
453 B
137 B
363 B
569 B
237 B
59 B
725 B
159 B
718 B
384 B
509 B
325 B
344 B
88 B
84 B
94 B
405 B
305 B
855 B
1.6 KB
69 B
83 B
81 B
101 B
202 B
231 B
388 B
781 B
933 B
113 B
171 B
187 B
131 B
366 B
56 B
772 B
181 B
68 B
58 B
220 B
18 B
156 B
441 B
324 B
214 B
537 B
150 B
232 B
158 B
392 B
701 B
103 B
1.0 KB
118 B
207 B
173 B
132 B
87 B
189 B
105 B
225 B
323 B
223 B
403 B
207 B
50 B
261 B
54 B
53 B
204 B
940 B
220 B
6.5 KB
2.3 KB
220 B
304 B
227 B
304 B
95 B
112 B
214 B
569 B
746 B
1.7 KB
701 B
229 B
385 B
1.6 KB
980 B
352 B
286 B
6 B
457 B
521 B
484 B
642 B
179 B
137 B
33 B
2.5 KB
437 B
413 B
894 B
39 B
1.9 KB
619 B
171 B
This directory contains small tests that attempt to ensure that old fixed
bugs do not 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.

Create a file called "support_config.py" which contains the following three
entries:

-----
java_home = ""
jython_home = ""
classpath = ""
-----

This is used to make the tests more platform independent.  My file for OS X
looks like:

-----
java_home = "/Library/Java/Home"
jython_home = "/Users/bzimmer/Development/sourceforge/jython/dist"
classpath = jython_home + "/jython.jar:classes"
-----

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 deliberate 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.




Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.