forked from tungwaiyip/HTMLTestRunner
-
Notifications
You must be signed in to change notification settings - Fork 68
/
sample_test_report.html
6079 lines (4826 loc) · 194 KB
/
sample_test_report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Unit Test Report</title>
<meta name="generator" content="HTMLTestRunner 0.8.2"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css" media="screen">
body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
table { font-size: 100%; }
pre { }
/* -- heading ---------------------------------------------------------------------- */
h1 {
font-size: 16pt;
color: gray;
}
.heading {
margin-top: 0ex;
margin-bottom: 1ex;
}
.heading .attribute {
margin-top: 1ex;
margin-bottom: 0;
}
.heading .description {
margin-top: 4ex;
margin-bottom: 6ex;
}
/* -- css div popup ------------------------------------------------------------------------ */
a.popup_link {
}
a.popup_link:hover {
color: red;
}
.popup_window {
display: none;
position: relative;
left: 0px;
top: 0px;
/*border: solid #627173 1px; */
padding: 10px;
background-color: #E6E6D6;
font-family: "Lucida Console", "Courier New", Courier, monospace;
text-align: left;
font-size: 8pt;
width: 500px;
}
}
/* -- report ------------------------------------------------------------------------ */
#show_detail_line {
margin-top: 3ex;
margin-bottom: 1ex;
}
#result_table {
width: 80%;
border-collapse: collapse;
border: 1px solid #777;
}
#header_row {
font-weight: bold;
color: white;
background-color: #777;
}
#result_table td {
border: 1px solid #777;
padding: 2px;
}
#total_row { font-weight: bold; }
.passClass { background-color: #6c6; }
.failClass { background-color: #c60; }
.errorClass { background-color: #c00; }
.passCase { color: #6c6; }
.failCase { color: #c60; font-weight: bold; }
.errorCase { color: #c00; font-weight: bold; }
.hiddenRow { display: none; }
.testcase { margin-left: 2em; }
/* -- ending ---------------------------------------------------------------------- */
#ending {
}
</style>
</head>
<body>
<script language="javascript" type="text/javascript"><!--
output_list = Array();
/* level - 0:Summary; 1:Failed; 2:All */
function showCase(level) {
trs = document.getElementsByTagName("tr");
for (var i = 0; i < trs.length; i++) {
tr = trs[i];
id = tr.id;
if (id.substr(0,2) == 'ft') {
if (level < 1) {
tr.className = 'hiddenRow';
}
else {
tr.className = '';
}
}
if (id.substr(0,2) == 'pt') {
if (level > 1) {
tr.className = '';
}
else {
tr.className = 'hiddenRow';
}
}
}
}
function showClassDetail(cid, count) {
var id_list = Array(count);
var toHide = 1;
for (var i = 0; i < count; i++) {
tid0 = 't' + cid.substr(1) + '.' + (i+1);
tid = 'f' + tid0;
tr = document.getElementById(tid);
if (!tr) {
tid = 'p' + tid0;
tr = document.getElementById(tid);
}
id_list[i] = tid;
if (tr.className) {
toHide = 0;
}
}
for (var i = 0; i < count; i++) {
tid = id_list[i];
if (toHide) {
document.getElementById('div_'+tid).style.display = 'none'
document.getElementById(tid).className = 'hiddenRow';
}
else {
document.getElementById(tid).className = '';
}
}
}
function showTestDetail(div_id){
var details_div = document.getElementById(div_id)
var displayState = details_div.style.display
// alert(displayState)
if (displayState != 'block' ) {
displayState = 'block'
details_div.style.display = 'block'
}
else {
details_div.style.display = 'none'
}
}
function html_escape(s) {
s = s.replace(/&/g,'&');
s = s.replace(/</g,'<');
s = s.replace(/>/g,'>');
return s;
}
/* obsoleted by detail in <div>
function showOutput(id, name) {
var w = window.open("", //url
name,
"resizable,scrollbars,status,width=800,height=450");
d = w.document;
d.write("<pre>");
d.write(html_escape(output_list[id]));
d.write("\n");
d.write("<a href='javascript:window.close()'>close</a>\n");
d.write("</pre>\n");
d.close();
}
*/
--></script>
<div class='heading'>
<h1>Unit Test Report</h1>
<p class='attribute'><strong>Start Time:</strong> 2011-03-28 09:00:12</p>
<p class='attribute'><strong>Duration:</strong> 0:00:06.825000</p>
<p class='attribute'><strong>Status:</strong> Pass 318 Failure 10 Error 6</p>
<p class='description'></p>
</div>
<p id='show_detail_line'>Show
<a href='javascript:showCase(0)'>Summary</a>
<a href='javascript:showCase(1)'>Failed</a>
<a href='javascript:showCase(2)'>All</a>
</p>
<table id='result_table'>
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row'>
<td>Test Group/Test case</td>
<td>Count</td>
<td>Pass</td>
<td>Fail</td>
<td>Error</td>
<td>View</td>
</tr>
<tr class='passClass'>
<td>minds.cgibin.test.test_cgi.TestCGI</td>
<td>6</td>
<td>6</td>
<td>0</td>
<td>0</td>
<td><a href="javascript:showClassDetail('c1',6)">Detail</a></td>
</tr>
<tr id='pt1.1' class='hiddenRow'>
<td class='none'><div class='testcase'>test_control</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1')" >
pass</a>
<div id='div_pt1.1' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.1: DEBUG:app:Run CGI script: /___ path: /___
DEBUG:app:CGI script: /___ completed duration: 0.10000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt1.2' class='hiddenRow'>
<td class='none'><div class='testcase'>test_help</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2')" >
pass</a>
<div id='div_pt1.2' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.2: DEBUG:app:Run CGI script: /help path: /help
DEBUG:app:CGI script: /help completed duration: 0.80000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt1.3' class='hiddenRow'>
<td class='none'><div class='testcase'>test_help_gettingstarted</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3')" >
pass</a>
<div id='div_pt1.3' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.3: DEBUG:app:Run CGI script: /help path: /help/GettingStarted
DEBUG:app:CGI script: /help completed duration: 0.110000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt1.4' class='hiddenRow'>
<td class='none'><div class='testcase'>test_help_proxyinstruction</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4')" >
pass</a>
<div id='div_pt1.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.4: DEBUG:app:Run CGI script: /help path: /help/ProxyInstruction
DEBUG:app:CGI script: /help completed duration: 0.80000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt1.5' class='hiddenRow'>
<td class='none'><div class='testcase'>test_root</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.5')" >
pass</a>
<div id='div_pt1.5' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.5').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.5: DEBUG:app:Run CGI script: / path: /
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
WARNING:wlib.store:Ignore unknown id: "a_name"
DEBUG:cgi.weblib:method GET rid=None tid=None path= param ()
DEBUG:app:CGI script: / completed duration: 0.60000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt1.6' class='hiddenRow'>
<td class='none'><div class='testcase'>test_updateParent_input_escape</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.6')" >
pass</a>
<div id='div_pt1.6' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt1.6').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt1.6: DEBUG:app:Run CGI script: /updateParent path: /updateParent?url='"</bad_tag>
DEBUG:app:CGI script: /updateParent completed duration: 0.20000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr class='failClass'>
<td>minds.cgibin.test.test_history.TestHistory</td>
<td>4</td>
<td>0</td>
<td>4</td>
<td>0</td>
<td><a href="javascript:showClassDetail('c2',4)">Detail</a></td>
</tr>
<tr id='ft2.1' class='none'>
<td class='failCase'><div class='testcase'>test_GET</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.1')" >
fail</a>
<div id='div_ft2.1' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.1').style.display = 'none' " >
[x]</a>
</div>
<pre>
ft2.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /history path: /history
ERROR:app:CGI execution error: /history
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\app_httpserver.py", line 166, in run_cgi
mod.main(self.rfile, parsed_wfile, env)
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\history.py", line 44, in main
doGET(wfile, req, qform)
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\history.py", line 48, in doGET
numIndexed, archive_date, numQueued = qmsg_processor.getQueueStatus()
File "c:\0\bin\mindretrieve\trunk\minds\qmsg_processor.py", line 40, in getQueueStatus
reader = lucene_logic.Reader(indexpath)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 72, in __init__
self.directory = openDirectory(pathname)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 50, in openDirectory
directory = PyLucene.FSDirectory.getDirectory(pathname, True)
NameError: global name 'PyLucene' is not defined
DEBUG:app:"GET /history HTTP/1.0" 500 -
DEBUG:app:CGI script: /history completed duration: 0.50000000
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_history.py", line 14, in test_GET
'<title>', 'History', '</title>', '</html>',
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_weblib.py", line 45, in checkPathForPattern
patterns_tester.showFile(StringIO.StringIO(data), 'out', 10240),
AssertionError: failed:/history
pattern missing: <title>
--out-------------------------------------------------------------------
HTTP/1.0 500 Internal Server Error
Server: MindRetrieve 0.8.2
Date: Mon, 28 Mar 2011 16:00:12 GMT
Content-type: text/html
<html><body><h1>Internal Error</h1>
<pre>
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\app_httpserver.py", line 166, in run_cgi
mod.main(self.rfile, parsed_wfile, env)
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\history.py", line 44, in main
doGET(wfile, req, qform)
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\history.py", line 48, in doGET
numIndexed, archive_date, numQueued = qmsg_processor.getQueueStatus()
File "c:\0\bin\mindretrieve\trunk\minds\qmsg_processor.py", line 40, in getQueueStatus
reader = lucene_logic.Reader(indexpath)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 72, in __init__
self.directory = openDirectory(pathname)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 50, in openDirectory
directory = PyLucene.FSDirectory.getDirectory(pathname, True)
NameError: global name 'PyLucene' is not defined
</body></html>
--^end-----------------------------------------------------------------
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='ft2.2' class='none'>
<td class='failCase'><div class='testcase'>test_indexnow_needed</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.2')" >
fail</a>
<div id='div_ft2.2' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.2').style.display = 'none' " >
[x]</a>
</div>
<pre>
ft2.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_history.py", line 24, in test_indexnow_needed
self.fail()
AssertionError
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='ft2.3' class='none'>
<td class='failCase'><div class='testcase'>test_query_needed</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.3')" >
fail</a>
<div id='div_ft2.3' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.3').style.display = 'none' " >
[x]</a>
</div>
<pre>
ft2.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_history.py", line 21, in test_query_needed
self.fail()
AssertionError
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='ft2.4' class='none'>
<td class='failCase'><div class='testcase'>test_query_no_result_needed</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft2.4')" >
fail</a>
<div id='div_ft2.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft2.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
ft2.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_history.py", line 18, in test_query_no_result_needed
self.fail()
AssertionError
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr class='failClass'>
<td>minds.cgibin.test.test_weblib.TestWeblibCGI</td>
<td>14</td>
<td>13</td>
<td>1</td>
<td>0</td>
<td><a href="javascript:showClassDetail('c3',14)">Detail</a></td>
</tr>
<tr id='pt3.1' class='hiddenRow'>
<td class='none'><div class='testcase'>test_buildCategoryList</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.1')" >
pass</a>
<div id='div_pt3.1' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.1').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.2' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.2')" >
pass</a>
<div id='div_pt3.2' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.2').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib
DEBUG:cgi.weblib:method GET rid=None tid=None path= param ()
DEBUG:app:CGI script: /weblib completed duration: 0.20000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=inbox
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (tag=inbox)
INFO:upgrade:Upgrade feed status: ? [0.8.2 Version 0.8.2 Multiple bug fixes (2006-03-27) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=9589] next 2011-04-04
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old date: 2006-03-27T18:00:00Z
DEBUG:app:CGI script: /weblib completed duration: 0.4570000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=inbox
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (tag=inbox)
DEBUG:app:CGI script: /weblib completed duration: 0.290000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=English
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (tag=English)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.3' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_go</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.3')" >
pass</a>
<div id='div_pt3.3' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.3').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/4/go;url
DEBUG:cgi.weblib:method GET rid=4 tid=None path=/4/go;url param ()
DEBUG:app:CGI script: /weblib completed duration: 0.30000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.4' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_go_invalid</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.4')" >
pass</a>
<div id='div_pt3.4' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.4').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/987654321/go;url
DEBUG:cgi.weblib:method GET rid=987654321 tid=None path=/987654321/go;url param ()
DEBUG:app:CGI script: /weblib completed duration: 0.10000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.5' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_input_escape</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.5')" >
pass</a>
<div id='div_pt3.5' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.5').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.5: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?query=</bad_tag>
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (query=</bad_tag>)
DEBUG:app:CGI script: /weblib completed duration: 0.270000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.6' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_input_escape_tag</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.6')" >
pass</a>
<div id='div_pt3.6' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.6').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.6: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=</bad_tag>
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (tag=</bad_tag>)
DEBUG:app:CGI script: /weblib completed duration: 0.300000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.7' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_query</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.7')" >
pass</a>
<div id='div_pt3.7' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.7').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.7: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?query=%20-%20Wikipedia
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (query= - Wikipedia)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='pt3.8' class='hiddenRow'>
<td class='none'><div class='testcase'>test_weblib_query_sort_date</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt3.8')" >
pass</a>
<div id='div_pt3.8' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_pt3.8').style.display = 'none' " >
[x]</a>
</div>
<pre>
pt3.8: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?query=wiki&sort=date-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=date-asc,query=wiki)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
DEBUG:app:Run CGI script: /weblib path: /weblib?query=wiki&sort=date-desc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=date-desc,query=wiki)
DEBUG:app:CGI script: /weblib completed duration: 0.330000000
</pre>
</div>
<!--css div popup end-->
</td>
</tr>
<tr id='ft3.9' class='none'>
<td class='failCase'><div class='testcase'>test_weblib_query_sort_tag</div></td>
<td colspan='5' align='center'>
<!--css div popup start-->
<a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft3.9')" >
fail</a>
<div id='div_ft3.9' class="popup_window">
<div style='text-align: right; color:red;cursor:pointer'>
<a onfocus='this.blur();' onclick="document.getElementById('div_ft3.9').style.display = 'none' " >
[x]</a>
</div>
<pre>
ft3.9: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?query=wiki&sort=tag-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=tag-asc,query=wiki)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_weblib.py", line 157, in test_weblib_query_sort_tag
'</html>',
File "c:\0\bin\mindretrieve\trunk\minds\cgibin\test\test_weblib.py", line 45, in checkPathForPattern
patterns_tester.showFile(StringIO.StringIO(data), 'out', 10240),
AssertionError: failed:/weblib?query=wiki&sort=tag-asc
pattern missing: Kremlin de Moscou - Wikip\xe9dia
--out-------------------------------------------------------------------
HTTP/1.0 200 OK
Content-type: text/html; charset=utf-8
Cache-control: no-cache
Set-Cookie: weblib_sort=tag-asc
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/html4/loose.dtd">
<html>
<head>
<title>MindRetrieve - Web Library</title>
<link rel="stylesheet" href="/main.css" type="text/css">
<script src="/js/prototype.js" type="text/javascript"></script>
<script src="/js/scriptaculous.js" type="text/javascript"></script>
<style>
/* == Header ======================================================================== */
.midHeader {
border-bottom: 1px solid #000;
}
.midHeader h1 {
color: #930;
font-size: 20pt;
margin: 0.5ex 1em 0.5ex 0.2em;
}
.subHeader {
color: white;
background-color: #003399;
margin: 0 0 0 0;
padding: 1ex 0.5em 1ex 0.5em;
xborder-top: 1px solid #004BE5;
}
.subHeader .searchBox {
float: right;
xfont-size: 80%;
}
.subHeader .searchBox form {
margin: 0 0 0 0;
}
.subHeader .searchBox input {
xvertical-align: baseline;
font-size: 90%;
}
.subHeader .searchBox input[type='text'] {
padding: 0 0 0 0;
xbackground-color: red;
}
.searchBoxButton {
font-weight: bold;
padding-left: 0.5em;
padding-right: 0.5em;
xbackground-color:#fed;
xborder: 2px outset #fed;
}
.subHeader a {
color: white;
background-color: transparent;
text-decoration: none;
font-weight: bold;
margin: 0;
padding: 0 0.75ex 0 0.5ex;
}
.subHeader a:hover {
text-decoration: underline;
}
#body {
width: 100%;
}
/* == footer ======================================================================== */
#footer {
color: white;
background-color: rgb(100,135,220);
font-size: 91%;
margin: 0;
padding: 0.5ex 2.5mm 1ex 2.5mm;
clear: both;
}
#footer .left {
line-height: 1.45em;
margin-top:0;
float: left;
clear: left;
}
#footer .right {
text-align: right;
line-height: 1.45em;
}
#footer a {
color: white;
background-color: transparent;
text-decoration: underline;
}
#footer a:hover {
text-decoration: none;
}
</style>
<style>
/* == side-bar ======================================================================== */
#sidebar {
width: 16em;
border-right: 1px solid rgb(153,153,153);
}
#tagList {
background-color:#ccc;
margin:0;
padding:0;
}
#tagList a {
text-decoration: none;
}
#tagList form {
margin:0;
}
#tagList select {
font-size:95%;
width: 11em;
margin:0.5ex;
}
#tagList .button img {
position:relative;
top:1px;
border:0;
}
#categoryPanel {
margin-left:0.5em;
margin-right: 0.5em;
padding-bottom: 6ex;
}
/*
#categoryPanel p {
padding: 0.2cm;
border: thin solid #777;
}
*/
#categoryPanel ul {
list-style-type: none;
padding: 0;
margin-left: 0;