Start Time: 2011-03-28 09:00:12
Duration: 0:00:06.825000
Status: Pass 318 Failure 10 Error 6
| Test Group/Test case | Count | Pass | Fail | Error | View |
| minds.cgibin.test.test_cgi.TestCGI | 6 | 6 | 0 | 0 | Detail |
test_control |
pass
pt1.1: DEBUG:app:Run CGI script: /___ path: /___
DEBUG:app:CGI script: /___ completed duration: 0.10000000
|
||||
test_help |
pass
pt1.2: DEBUG:app:Run CGI script: /help path: /help
DEBUG:app:CGI script: /help completed duration: 0.80000000
|
||||
test_help_gettingstarted |
pass
pt1.3: DEBUG:app:Run CGI script: /help path: /help/GettingStarted
DEBUG:app:CGI script: /help completed duration: 0.110000000
|
||||
test_help_proxyinstruction |
pass
pt1.4: DEBUG:app:Run CGI script: /help path: /help/ProxyInstruction
DEBUG:app:CGI script: /help completed duration: 0.80000000
|
||||
test_root |
pass
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
|
||||
test_updateParent_input_escape |
pass
pt1.6: DEBUG:app:Run CGI script: /updateParent path: /updateParent?url='"</bad_tag>
DEBUG:app:CGI script: /updateParent completed duration: 0.20000000
|
||||
| minds.cgibin.test.test_history.TestHistory | 4 | 0 | 4 | 0 | Detail |
test_GET |
fail
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-----------------------------------------------------------------
|
||||
test_indexnow_needed |
fail
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
|
||||
test_query_needed |
fail
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
|
||||
test_query_no_result_needed |
fail
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
|
||||
| minds.cgibin.test.test_weblib.TestWeblibCGI | 14 | 13 | 1 | 0 | Detail |
test_buildCategoryList |
pass
pt3.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
|
||||
test_weblib |
pass
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
|
||||
test_weblib_go |
pass
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
|
||||
test_weblib_go_invalid |
pass
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
|
||||
test_weblib_input_escape |
pass
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
|
||||
test_weblib_input_escape_tag |
pass
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
|
||||
test_weblib_query |
pass
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
|
||||
test_weblib_query_sort_date |
pass
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
|
||||
test_weblib_query_sort_tag |
fail
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;
margin-top: 1ex;
}
#categoryPanel a {
color: #000;
text-decoration: none;
}
#categoryPanel a:hover{
text-decoration: underline;
}
#categoryPanel .toggleSwitch {
padding-right: 0.3em;
width: 50px;
/* invisible border to make the toggle not move when hover */
border: thin solid #fff;
}
#categoryPanel .highlight .toggleSwitch {
padding-right: 0.3em;
width: 50px;
/* invisible border to make the toggle not move when hover */
border: thin solid #fc9;
}
#categoryPanel .toggleSwitch:hover{
text-decoration: none;
border: thin outset #777;
}
#categoryPanel .MainCat {
font-size: larger;
font-weight: bold;
}
#categoryPanel .subcategories {
}
#categoryPanel .subcategoriesCollapsed {
display: none;
}
#categoryPanel .SubCat1 {
display: inline;
font-size: 95%;
color: #000;
}
#categoryPanel .SubCat2 {
display: inline;
margin-right: 0;
font-size: 80%;
}
#categoryPanel .highlight {
padding-top: 0.5ex;
padding-bottom: 0.5ex;
line-height:150%;
background-color: #fc9;
}
/* the color of CategorySubItems is control via <a>?? */
#categoryPanel .MainCat a {
color: #000;
}
#categoryPanel .SubCat1 a {
color: #000;
}
#categoryPanel .SubCat2 a {
color: #777;
}
/* == main ======================================================================== */
#main {
margin: 0;
padding: 0.5mm 1em 5mm 1em;
}
#found_msg {
padding-left: 0.2em;
padding-right: 0.5em;
margin-top: 1ex;
margin-bottom: 0.5ex;
}
#webpages {
margin: 1ex 0 0 0;
}
.libTable {
border-collapse: collapse;
}
.libTable tr {
border-top: thin solid white;
}
.libTable td {
padding-left: 2px;
padding-right: 2px;
}
.libTable a {
text-decoration: none;
}
.libTable a:hover {
text-decoration: underline;
}
.libTable .itemHeader a {
color:black;
}
.webItemHeading {
background-color: #ccc;
}
.webItemHeading .sorting img {
padding: 2px;
border: 0;
}
.webItemHeading .sorting a {
text-decoration: None;
font-weight: bold;
color: #000;
}
.webItemHeading .sorting a:hover {
text-decoration: None;
background-color: #fff;
}
.webItemHeading .tag {
float: right;
}
.webItemHeading .date {
text-align: right;
}
.libTableFooter {
background-color: #ccc;
}
/* item table */
.col1 { width: 2em; }
.col2 { width: *;}
.col3 { width: 6em;}
.col4 { width: 1.5em;}
.col5 { width: 1.5em;}
.altrow {
background-color: #eee;
}
.selectedrow {
background-color: #fc9;
}
.altselectedrow {
background-color: #fc9;
}
.webItem {
}
.webItem .description {
float: left;
}
.webItem .nickname {
margin-left: 0.5em;
color:#777;
font-size:75%;
}
.webItem .rightPane {
float: right;
}
.webItem .tag {
color:black;
font-size:75%;
}
.webItem_date {
color:#777;
font-size:75%;
text-align: right;
}
.webItem img {
position:relative;
top:1px;
border:0;
}
.itemHeader {
font-weight: bold;
}
.itemHeaderSpacer {
line-height:150%;
}
/* == hidden asyncForm ======================================================================== */
#asyncForm {
width: 50%;
height: 20%;
font-size: small;
display: none;
}
</style>
<script>
/*
function webitemKeypressEvent(e) {
window.status = 'keyCode=' + e.keyCode;
}
*/
function openWeblibForm(url) {
h = window.innerHeight * 0.8;
w = window.innerWidth * 0.8;
s = 'width=' + w + ',height=' + h + ',scrollbars';
win = window.open(url, 'weblibForm', s);
win.focus();
}
function openWeblibFormFull(url) {
win = window.open(url, 'weblibFormFull');
win.focus();
}
function onTagListSelectChanged(e) {
var form = document.getElementById('tagListForm');
var id = form.elements['tagListSelect'].value;
window.location = '/weblib?tag=' + id;
}
function editTag() {
var form = document.getElementById('tagListForm');
var sel = form.elements['tagListSelect'];
var id = sel.value;
if (!id) {
alert('Please select a tag to edit');
return;
}
openWeblibForm()
form.elements['method'].value = 'GET';
form.target = 'weblibForm';
form.submit();
}
function deleteTag() {
var form = document.getElementById('tagListForm');
var sel = form.elements['tagListSelect'];
var id = sel.value;
if (!id) {
alert('Please select a tag to delete');
return;
}
var opt = sel.options[sel.selectedIndex];
var tagName = opt.text
if (!confirm('Remove the "' + tagName + '" and its references?'))
return;
form.elements['method'].value = 'DELETE';
form.target = 'asyncFrame'
form.submit();
}
function toggleSubCatEvent(e) {
if (window.event)
var srcElem = window.event.srcElement; // IE
else
var srcElem = this; // W3C
result = toggleSubCat(srcElem);
// notify server of the new setting via the asyncForm
var form = document.getElementById('asyncForm');
form.action = '/weblib/' + result[0];
form.elements['method'].value = 'POST';
form.elements['category_collapse'].value = result[1];
form.submit();
}
// return [switchElem.id, collapse('on'/'off')]
function toggleSubCat(switchElem) {
// find the subcategories element
for (var subcat=switchElem.nextSibling; subcat != null; subcat=subcat.nextSibling) {
if (subcat.className == 'subcategories') {
switchElem.innerHTML = '+';
subcat.className = 'subcategoriesCollapsed';
return [switchElem.id, 'on'];
}
else if (subcat.className == 'subcategoriesCollapsed') {
switchElem.innerHTML = '-';
subcat.className = 'subcategories';
return [switchElem.id, 'off'];
}
}
throw new Error('toggleSubCat subcategories class not found: switchElem.id=' + switchElem.id);
}
function toggleWebitemEvent(e) {
if (window.event)
var srcElem = window.event.srcElement; // IE
else
var srcElem = this; // W3C
setWebitemRow(srcElem)
}
function setWebitemRow(checkbox) {
// set class of parent <tr>
for (var p=checkbox.parentNode; p.nodeType == 1/*ELEMENT_NODE*/; p=p.parentNode) {
if (p.tagName.toLowerCase() != 'tr') continue;
if (checkbox.checked) {
if (p.className == '') {
p.className = 'selectedrow';
}
else if (p.className == 'altrow') {
p.className = 'altselectedrow';
}
}
else {
if (p.className == 'selectedrow') {
p.className = '';
}
else if (p.className == 'altselectedrow') {
p.className = 'altrow';
}
}
return;
}
throw new Error('Cannot not find a parent <tr>: ' + checkbox);
}
function selectAll(cb) {
var checked = document.getElementById(cb).checked;
var form = document.getElementById('webpages');
for (i=0; i < form.elements.length; i++) {
var elem = form.elements[i];
if (elem.type == 'checkbox') {
elem.checked = checked;
setWebitemRow(elem);
}
}
}
function editWebItem(id) {
url = '/weblib/' + id + '/form';
openWeblibForm(url);
}
function organizeSelected() {
var count = countSelected();
if (count == 0) ...
--^end-----------------------------------------------------------------
|
||||
test_weblib_query_sort_title |
pass
pt3.10: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?query=wiki&sort=title-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=title-asc,query=wiki)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
DEBUG:app:Run CGI script: /weblib path: /weblib?query=wiki&sort=title-desc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=title-desc,query=wiki)
DEBUG:app:CGI script: /weblib completed duration: 0.360000000
|
||||
test_weblib_tag |
pass
pt3.11: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=%E6%97%A5%E6%9C%AC%E8%AA%9E
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (tag=日本語)
DEBUG:app:CGI script: /weblib completed duration: 0.290000000
|
||||
test_weblib_tag_sort_date |
pass
pt3.12: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=date-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=date-asc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=date-desc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=date-desc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.320000000
|
||||
test_weblib_tag_sort_tag |
pass
pt3.13: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=tag-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=tag-asc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.330000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=tag-desc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=tag-desc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.400000000
|
||||
test_weblib_tag_sort_title |
pass
pt3.14: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=title-asc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=title-asc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.390000000
DEBUG:app:Run CGI script: /weblib path: /weblib?tag=Kremlin&sort=title-desc
DEBUG:cgi.weblib:method GET rid=None tid=None path= param (sort=title-desc,tag=Kremlin)
DEBUG:app:CGI script: /weblib completed duration: 0.310000000
|
||||
| minds.cgibin.test.test_weblibForm.TestWeblibForm | 10 | 10 | 0 | 0 | Detail |
test_GET_404 |
pass
pt4.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/987654321
DEBUG:cgi.weblib:method GET rid=987654321 tid=None path=/987654321 param ()
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
|
||||
test_GET_URL_match |
pass
pt4.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_?url=http://en.wikipedia.org/wiki/Moscow_Kremlin&title=1+2&description=
DEBUG:cgi.weblib:method GET rid=-1 tid=None path=/_ param (url=http://en.wikipedia.org/wiki/Moscow_Kremlin,description=,title=1 2)
DEBUG:app:CGI script: /weblib completed duration: 0.40000000
|
||||
test_GET_new |
pass
pt4.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_
DEBUG:cgi.weblib:method GET rid=-1 tid=None path=/_ param ()
DEBUG:app:CGI script: /weblib completed duration: 0.110000000
DEBUG:app:Run CGI script: /weblib path: /weblib/_/form
DEBUG:cgi.weblib:method GET rid=-1 tid=None path=/_/form param ()
DEBUG:app:CGI script: /weblib completed duration: 0.90000000
|
||||
test_GET_rid |
pass
pt4.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/4
DEBUG:cgi.weblib:method GET rid=4 tid=None path=/4 param ()
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
DEBUG:app:Run CGI script: /weblib path: /weblib/4/form
DEBUG:cgi.weblib:method GET rid=4 tid=None path=/4/form param ()
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
|
||||
test_PUT_404 |
pass
pt4.5: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/987654321?method=PUT
DEBUG:cgi.weblib:method PUT rid=987654321 tid=None path=/987654321 param (method=PUT)
DEBUG:app:CGI script: /weblib completed duration: 0.120000000
|
||||
test_PUT_char_workout |
pass
pt4.6: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_?description=description%3A%E2%82%AC%21%22%23%24%25%26%27%28%29%2A%2B%2C-.+%2F0123456789%3A+%3B%3C%3D%3E%3F%40%5B%5C%5D%5E_%60%7B%7C%7D%7E%0D%0A%5BFor+testing%5D&tags=%E2%82%AC%21%22%24%25+%26%27%28%29%2A-.%2F%3B+%3D%3F%5B%5C%5D%5E+_%60%7B%7C%7D%7E&url=url%3A%E2%82%AC%21%22%23%24%25%26%27%28%29%2A%2B%2C-.+%2F0123456789%3A+%3B%3C%3D%3E%3F%40%5B%5C%5D%5E_%60%7B%7C%7D%7E&title=%E2%82%AC%21%22%23%24%25%26%27%28%29%2A%2B%2C-.+%2F0123456789%3A+%3B%3C%3D%3E%3F%40%5B%5C%5D%5E_%60%7B%7C%7D%7E&method=PUT&create_tags=1
DEBUG:cgi.weblib:method PUT rid=-1 tid=None path=/_ param (description=description:€!"#$%&'()*+,-. /0123456789: ;<=>?@[\]^_`{|}~
[For testing],title=€!"#$%&'()*+,-. /0123456789: ;<=>?@[\]^_`{|}~,url=url:€!"#$%&'()*+,-. /0123456789: ;<=>?@[\]^_`{|}~,tags=€!"$% &'()*-./; =?[\]^ _`{|}~,method=PUT,create_tags=1)
DEBUG:weblib:Added tag: €!"$% &'()*-./; =?[\]^ _`{|}~
INFO:cgi.wlibFm:Adding WebPage: €!"#$%&'()*+,-. /0123456789: ;<=>?@[\]^_`{|}~
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib completed duration: 0.120000000
|
||||
test_PUT_existing |
pass
pt4.7: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/1?description=some+description&title=Test+Title&url=http%3A%2F%2Fwww.mindretrieve.net%2F&lastused=1901&created=1902&nickname=_nickname_&method=PUT&tags=Kremlin%2C+English&modified=1900
DEBUG:cgi.weblib:method PUT rid=1 tid=None path=/1 param (description=some description,created=1902,url=http://www.mindretrieve.net/,title=Test Title,modified=1900,lastused=1901,nickname=_nickname_,method=PUT,tags=Kremlin, English)
INFO:cgi.wlibFm:Updating WebPage: Test Title
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib completed duration: 0.120000000
DEBUG:app:Run CGI script: /weblib path: /weblib/1?url=new+url&method=PUT
DEBUG:cgi.weblib:method PUT rid=1 tid=None path=/1 param (url=new url,method=PUT)
INFO:cgi.wlibFm:Updating WebPage: Test Title
DEBUG:app:CGI script: /weblib completed duration: 0.40000000
|
||||
test_PUT_illegal |
pass
pt4.8: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_?url=http%3A%2F%2Fwww.mindretrieve.net%2F&tags=%23illegal+tag&method=PUT&title=Test+Title
DEBUG:cgi.weblib:method PUT rid=-1 tid=None path=/_ param (url=http://www.mindretrieve.net/,title=Test Title,method=PUT,tags=#illegal tag)
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
DEBUG:app:Run CGI script: /weblib path: /weblib/_?url=http%3A%2F%2Fwww.mindretrieve.net%2F&tags=this+is+a+new+tag&method=PUT&title=Test+Title
DEBUG:cgi.weblib:method PUT rid=-1 tid=None path=/_ param (url=http://www.mindretrieve.net/,title=Test Title,method=PUT,tags=this is a new tag)
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
|
||||
test_PUT_input_escape |
pass
pt4.9: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_?description=%3C%2Fbad_tag%3E&tags=%3C%2Fbad_tag%3E&url=%3C%2Fbad_tag%3E&title=%3C%2Fbad_tag%3E&method=PUT&create_tags=
DEBUG:cgi.weblib:method PUT rid=-1 tid=None path=/_ param (description=</bad_tag>,title=</bad_tag>,url=</bad_tag>,tags=</bad_tag>,method=PUT,create_tags=)
DEBUG:app:CGI script: /weblib completed duration: 0.100000000
|
||||
test_PUT_new |
pass
pt4.10: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/_?url=http%3A%2F%2Fabc.com%2F&tags=new+tag1%2C+new+tag2&create_tags=1&method=PUT&title=Test+Title
DEBUG:cgi.weblib:method PUT rid=-1 tid=None path=/_ param (url=http://abc.com/,title=Test Title,create_tags=1,method=PUT,tags=new tag1, new tag2)
DEBUG:weblib:Added tag: new tag1
DEBUG:weblib:Added tag: new tag2
INFO:cgi.wlibFm:Adding WebPage: Test Title
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib completed duration: 0.130000000
|
||||
| minds.cgibin.test.test_weblibMultiForm.TestWeblibMultiForm | 6 | 6 | 0 | 0 | Detail |
test_GET |
pass
pt5.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?method=GET&2=on&3=on
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.80000000
|
||||
test_POST_add |
pass
pt5.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=on&%40122changed=1&%40121=on&%40121changed=&add_tags=inbox&method=POST
Traceback (most recent call last):
File "C:\Python26\Lib\logging\__init__.py", line 776, in emit
msg = self.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 654, in format
return fmt.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 436, in format
record.message = record.getMessage()
File "C:\Python26\Lib\logging\__init__.py", line 306, in getMessage
msg = msg % self.args
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 4: ordinal not in range(128)
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.120000000
|
||||
test_POST_add_new_tag |
pass
pt5.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=on&%40122changed=1&%40121=on&%40121changed=&add_tags=aNewTag&method=POST&create_tags=1
DEBUG:weblib:Added tag: aNewTag
Traceback (most recent call last):
File "C:\Python26\Lib\logging\__init__.py", line 776, in emit
msg = self.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 654, in format
return fmt.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 436, in format
record.message = record.getMessage()
File "C:\Python26\Lib\logging\__init__.py", line 306, in getMessage
msg = msg % self.args
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 4: ordinal not in range(128)
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.100000000
|
||||
test_POST_illegal_tag |
pass
pt5.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=on&%40122changed=1&%40121=on&%40121changed=&add_tags=#illegal&method=POST
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.90000000
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=on&%40122changed=1&%40121=on&%40121changed=&add_tags=this+is+a+new+tag&method=POST
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.90000000
|
||||
test_POST_input_escape |
pass
pt5.5: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=on&%40122changed=1&%40121=on&%40121changed=&add_tags=</bad_tag>&method=POST
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.100000000
|
||||
test_POST_remove |
pass
pt5.6: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/multiform path: /weblib/multiform?id_list=2%2C3&%40122=&%40122changed=1&%40121=on&%40121changed=&add_tags=inbox&method=POST
Traceback (most recent call last):
File "C:\Python26\Lib\logging\__init__.py", line 776, in emit
msg = self.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 654, in format
return fmt.format(record)
File "C:\Python26\Lib\logging\__init__.py", line 436, in format
record.message = record.getMessage()
File "C:\Python26\Lib\logging\__init__.py", line 306, in getMessage
msg = msg % self.args
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 4: ordinal not in range(128)
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:CGI script: /weblib/multiform completed duration: 0.110000000
|
||||
| minds.cgibin.test.test_weblibTagCategorize.TestWeblibTagCategorize | 5 | 5 | 0 | 0 | Detail |
test_GET |
pass
pt6.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/tag_categorize path: /weblib/tag_categorize
DEBUG:app:CGI script: /weblib/tag_categorize completed duration: 0.100000000
|
||||
test_POST |
pass
pt6.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/tag_categorize path: /weblib/tag_categorize?category_description=a%0D%0A%20%20b&method=POST
DEBUG:weblib:Add tag from category: a
DEBUG:weblib:Add tag from category: b
DEBUG:app:CGI script: /weblib/tag_categorize completed duration: 0.20000000
|
||||
test_POST0 |
pass
pt6.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/tag_categorize path: /weblib/tag_categorize?category_description=&method=POST
DEBUG:app:CGI script: /weblib/tag_categorize completed duration: 0.20000000
|
||||
test_POST_illegal |
pass
pt6.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/tag_categorize path: /weblib/tag_categorize?category_description=%40bad1%0D%0A%23bad2%0D%0Agood&method=POST
DEBUG:weblib:Add tag from category: .bad1
DEBUG:weblib:Add tag from category: .bad2
DEBUG:weblib:Add tag from category: good
DEBUG:app:CGI script: /weblib/tag_categorize completed duration: 0.30000000
|
||||
test_POST_input_escape |
pass
pt6.5: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib/tag_categorize path: /weblib/tag_categorize
DEBUG:app:CGI script: /weblib/tag_categorize completed duration: 0.100000000
|
||||
| minds.cgibin.test.test_weblibTagForm.TestTagForm | 9 | 9 | 0 | 0 | Detail |
test_GET |
pass
pt7.1: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form
DEBUG:cgi.weblib:method GET rid=None tid=124 path=/@124/form param ()
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
|
||||
test_GET_404 |
pass
pt7.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@987654321
DEBUG:cgi.weblib:method GET rid=None tid=987654321 path=/@987654321 param ()
DEBUG:app:CGI script: /weblib completed duration: 0.20000000
|
||||
test_POST_404 |
pass
pt7.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@987654321/form?method=POST&name=Buckingham
DEBUG:cgi.weblib:method POST rid=None tid=987654321 path=/@987654321/form param (method=POST,name=Buckingham)
DEBUG:app:CGI script: /weblib completed duration: 0.30000000
|
||||
test_POST_category_collapse |
pass
pt7.4: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&category_collapse=on
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (category_collapse=on,method=POST)
DEBUG:cgi.tagFrm:setCategoryCollapse @124 True
DEBUG:app:CGI script: /weblib completed duration: 0.30000000
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&category_collapse=
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (category_collapse=,method=POST)
DEBUG:cgi.tagFrm:setCategoryCollapse @124 False
DEBUG:app:CGI script: /weblib completed duration: 0.40000000
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&category_collapse=
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (category_collapse=,method=POST)
DEBUG:cgi.tagFrm:setCategoryCollapse @124 False
DEBUG:app:CGI script: /weblib completed duration: 0.30000000
|
||||
test_POST_invalid |
pass
pt7.5: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name=)
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=++
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name= )
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=#illegal
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name=#illegal)
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
|
||||
test_POST_merge |
pass
pt7.6: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=inbox
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name=inbox)
DEBUG:weblib:tag_merge_del Kremlin-->inbox #tag=6
DEBUG:weblib:tag_merge_del completed. Webpages updated=4 #tag=5
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
|
||||
test_POST_rename |
pass
pt7.7: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=Buckingham
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name=Buckingham)
DEBUG:weblib:tag_rename tag count=6 tag=Kremlin newName=Buckingham
DEBUG:app:CGI script: /weblib completed duration: 0.30000000
|
||||
test_POST_rename_capitalization |
pass
pt7.8: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@124/form?method=POST&name=KREMLIN
DEBUG:cgi.weblib:method POST rid=None tid=124 path=/@124/form param (method=POST,name=KREMLIN)
DEBUG:weblib:tag_rename tag count=6 tag=Kremlin newName=KREMLIN
DEBUG:app:CGI script: /weblib completed duration: 0.40000000
|
||||
test_PUT_input_escape |
pass
pt7.9: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
DEBUG:app:Run CGI script: /weblib path: /weblib/@126/form?name=</bad_tag>
DEBUG:cgi.weblib:method GET rid=None tid=126 path=/@126/form param (name=</bad_tag>)
DEBUG:app:CGI script: /weblib completed duration: 0.60000000
|
||||
| minds.cgibin.util.test_request.TestRequest | 7 | 7 | 0 | 0 | Detail |
test_cookie |
pass | ||||
test_method |
pass | ||||
test_others |
pass | ||||
test_param |
pass | ||||
test_rid |
pass | ||||
test_str |
pass | ||||
test_tid |
pass | ||||
| minds.cgibin.util.test_response.TestResponse | 7 | 7 | 0 | 0 | Detail |
test_CGIRenderer |
pass | ||||
test_WeblibLayoutRenderer |
pass | ||||
test_buildBookmarklet |
pass | ||||
test_cookie |
pass | ||||
test_jsEscapeString |
pass
pt9.5:
Please cut and paste the statement below and test in your browser
------------------------------------------------------------------------
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script>
alert("You should see\n1. new line separate by \\n.\r\n2. new line separate by \\r\\n.\n3. quote \' and double quote \".\n4. The slash \\ character.\n5. The \x26 character.\n6. The angle brackets \x3C and \x3E.\n7. The euro sign â¬.\n");
</script>
------------------------------------------------------------------------
|
||||
test_redirect |
pass | ||||
test_split_style_block |
pass | ||||
| minds.test.test_app_httpserver.TestAppHTTPRequestHandler | 1 | 1 | 0 | 0 | Detail |
test_lookup_cgi |
pass | ||||
| minds.test.test_app_httpserver.TestCGIFileFilter | 6 | 6 | 0 | 0 | Detail |
test1 |
pass | ||||
test_buffer |
pass | ||||
test_location |
pass | ||||
test_nodirective |
pass | ||||
test_states |
pass | ||||
test_status |
pass | ||||
| minds.test.test_app_httpserver.TestMisc | 3 | 3 | 0 | 0 | Detail |
test_convertPath2Module1 |
pass | ||||
test_convertPath2Module2 |
pass | ||||
test_convertPath2Module3 |
pass | ||||
| minds.test.test_cachefile.TestCacheFile | 2 | 2 | 0 | 0 | Detail |
test_discard |
pass | ||||
test_write |
pass | ||||
| minds.test.test_config.TestConfig | 10 | 10 | 0 | 0 | Detail |
testSafeConfig |
pass
pt14.1: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_get |
pass
pt14.2: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_get_notexist |
pass
pt14.3: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_getboolean |
pass
pt14.4: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_getdefault |
pass
pt14.5: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_getint |
pass
pt14.6: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_getpath |
pass
pt14.7: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_save |
pass
pt14.8: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
|
||||
test_set |
pass
pt14.9: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
test_str |
pass
pt14.10: INFO:cfg:Loading config file: config.ini
INFO:cfg:Load test config. Data path: testdata
|
||||
| minds.test.test_distillML.TestCharEncoding | 8 | 8 | 0 | 0 | Detail |
test_bad_encoding |
pass | ||||
test_big5 |
pass | ||||
test_big5_txt |
pass | ||||
test_euc_jp |
pass | ||||
test_euc_kr |
pass | ||||
test_iso_8851_1 |
pass | ||||
test_koi8_r |
pass | ||||
test_utf8 |
pass | ||||
| minds.test.test_distillML.TestDistill | 10 | 7 | 3 | 0 | Detail |
testAttrEncodingProblem: Bad HTML found in http://news.bbc.co.uk/ |
pass | ||||
testDistill |
pass | ||||
testDistillTxt |
pass | ||||
testMeta |
pass | ||||
testMetaVariations |
pass | ||||
testParseCrazyTitleProblem |
pass | ||||
testParseEmptyTagProblem: Test problem in parsing |
pass | ||||
testParserError |
fail
ft16.8: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_distillML.py", line 132, in testParserError
self.assertEqual(distillML.PARSE_ERROR, result[0])
AssertionError: -1 != 5
|
||||
testTextAsHTML_needed |
fail
ft16.9: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_distillML.py", line 140, in testTextAsHTML_needed
self.fail('todo')
AssertionError: todo
|
||||
testWordSpaceCollapseIssue_needed |
fail
ft16.10: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_distillML.py", line 136, in testWordSpaceCollapseIssue_needed
self.fail('todo')
AssertionError: todo
|
||||
| minds.test.test_distillML.TestFormatter | 1 | 1 | 0 | 0 | Detail |
test_notifyHtml |
pass | ||||
| minds.test.test_distillML.TestWeeding | 8 | 8 | 0 | 0 | Detail |
testCSS |
pass | ||||
testDomainFiltered |
pass | ||||
testDomainFilteredTxt |
pass | ||||
testFrameset |
pass | ||||
testJavascript |
pass | ||||
testLowvisible |
pass | ||||
testMagicFiltered |
pass | ||||
testMagicFilteredTxt: Wrong media type text/plain |
pass | ||||
| minds.test.test_distillparse.TestParseDistillML | 6 | 6 | 0 | 0 | Detail |
testMAX_OUTPUT_TAG_LEN |
pass | ||||
testParse0: test parsing a minimal file |
pass | ||||
testParse00: test parsing a empty file (invalid without the header section) |
pass | ||||
testParseMeta: test parsing header into meta dictionary |
pass | ||||
testParseTagSpanBuffer |
pass | ||||
testParseTags |
pass | ||||
| minds.test.test_docarchive.TestArchiveHandler | 3 | 2 | 0 | 1 | Detail |
test_add_document |
error
ft20.1: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_docarchive.py", line 191, in test_add_document
fp = docarchive.get_document('000000001')
File "c:\0\bin\mindretrieve\trunk\minds\docarchive.py", line 54, in get_document
return StringIO.StringIO(zfile.read(filename))
File "C:\Python26\Lib\zipfile.py", line 834, in read
return self.open(name, "r", pwd).read()
File "C:\Python26\Lib\zipfile.py", line 857, in open
zinfo = self.getinfo(name)
File "c:\0\bin\mindretrieve\trunk\toollib\zipfile_single.py", line 181, in getinfo
return self._RealGetContents1(filename)
File "c:\0\bin\mindretrieve\trunk\toollib\zipfile_single.py", line 170, in _RealGetContents1
+ fheader[_FH_EXTRA_FIELD_LENGTH])
AttributeError: 'ZipInfo' object has no attribute 'file_offset'
|
||||
test_append_to_exiting_archive |
pass | ||||
test_invalid_mode |
pass | ||||
| minds.test.test_docarchive.TestDocArchive | 3 | 2 | 0 | 1 | Detail |
test_get_document |
error
ft21.1: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_docarchive.py", line 58, in test_get_document
fp = docarchive.get_document('000000000')
File "c:\0\bin\mindretrieve\trunk\minds\docarchive.py", line 54, in get_document
return StringIO.StringIO(zfile.read(filename))
File "C:\Python26\Lib\zipfile.py", line 834, in read
return self.open(name, "r", pwd).read()
File "C:\Python26\Lib\zipfile.py", line 857, in open
zinfo = self.getinfo(name)
File "c:\0\bin\mindretrieve\trunk\toollib\zipfile_single.py", line 181, in getinfo
return self._RealGetContents1(filename)
File "c:\0\bin\mindretrieve\trunk\toollib\zipfile_single.py", line 170, in _RealGetContents1
+ fheader[_FH_EXTRA_FIELD_LENGTH])
AttributeError: 'ZipInfo' object has no attribute 'file_offset'
|
||||
test_get_document_not_exist |
pass | ||||
test_invalideId |
pass | ||||
| minds.test.test_docarchive.TestIdCounter | 5 | 4 | 0 | 1 | Detail |
test_findIdRange |
pass | ||||
test_findIdRange_initial_state |
pass | ||||
test_findIdRange_no_file_in_zip |
error
ft22.3: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_docarchive.py", line 103, in test_findIdRange_no_file_in_zip
self._assertRange(1000,1001)
File "c:\0\bin\mindretrieve\trunk\minds\test\test_docarchive.py", line 84, in _assertRange
ic._findIdRange()
File "c:\0\bin\mindretrieve\trunk\minds\docarchive.py", line 89, in _findIdRange
first = self._findId(apath/first_arc, min)
File "c:\0\bin\mindretrieve\trunk\minds\docarchive.py", line 99, in _findId
zfile = zipfile.ZipFile(arcpath, 'r') # would throw BadZipfile if not a zip file
File "C:\Python26\Lib\zipfile.py", line 696, in __init__
self._GetContents()
File "C:\Python26\Lib\zipfile.py", line 716, in _GetContents
self._RealGetContents()
File "C:\Python26\Lib\zipfile.py", line 728, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file
|
||||
test_findIdRange_resist_garbagefile |
pass | ||||
test_getNewId |
pass
pt22.5: INFO:docarc:Initial archive id range is 0:0
|
||||
| minds.test.test_domain_filter.TestDomainFilter | 4 | 4 | 0 | 0 | Detail |
testFilter0 |
pass | ||||
testFilter1 |
pass | ||||
testLoad |
pass | ||||
testLoad0 |
pass | ||||
| minds.test.test_encode_tools.TestEncodeTools | 11 | 11 | 0 | 0 | Detail |
test_determine0 |
pass | ||||
test_determine_DEFAULT |
pass | ||||
test_determine_HTTP_CONTENT_TYPE |
pass | ||||
test_determine_META_CHARSET0 |
pass | ||||
test_determine_META_CHARSET1 |
pass | ||||
test_determine_lenient |
pass | ||||
test_findCharSet0 |
pass | ||||
test_findCharSet1 |
pass | ||||
test_findCharSetX: eXtreme findCharSet |
pass | ||||
test_getreader |
pass | ||||
test_getreader_invalid |
pass | ||||
| minds.test.test_lucene_logic.TestLuceneLogic | 3 | 0 | 0 | 3 | Detail |
test_FSDirectory |
error
ft25.1: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_lucene_logic.py", line 73, in test_FSDirectory
self._test_index_and_search(pathname=self.indexpath)
File "c:\0\bin\mindretrieve\trunk\minds\test\test_lucene_logic.py", line 30, in _test_index_and_search
writer = lucene_logic.Writer(**args)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 115, 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
|
||||
test_RAM |
error
ft25.2: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_lucene_logic.py", line 66, in test_RAM
self._test_index_and_search()
File "c:\0\bin\mindretrieve\trunk\minds\test\test_lucene_logic.py", line 30, in _test_index_and_search
writer = lucene_logic.Writer(**args)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 115, in __init__
self.directory = openDirectory(pathname)
File "c:\0\bin\mindretrieve\trunk\minds\lucene_logic.py", line 46, in openDirectory
directory = PyLucene.RAMDirectory()
NameError: global name 'PyLucene' is not defined
|
||||
test_version |
error
ft25.3: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_lucene_logic.py", line 82, in test_version
reader = lucene_logic.Reader()
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 46, in openDirectory
directory = PyLucene.RAMDirectory()
NameError: global name 'PyLucene' is not defined
|
||||
| minds.test.test_messagelog.TestMessageInfo | 5 | 4 | 1 | 0 | Detail |
testDiscardFilter |
fail
ft26.1: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\test\test_messagelog.py", line 108, in testDiscardFilter
self.assert_(minfo.discard)
AssertionError
|
||||
testParseMessageLog |
pass | ||||
testParseMessageLog00 |
pass | ||||
testParseMessageLog01 |
pass | ||||
testTruncated |
pass
pt26.5: WARNING:messagelog:message truncated - content-length: 100 bytes received: 7 -
|
||||
| minds.test.test_messagelog.TestMsgLogger | 6 | 6 | 0 | 0 | Detail |
testDispose_00 |
pass
pt27.1: DEBUG:messagelog: 0.00s None, GET,404,txt , 7,___, R=??
|
||||
testDispose_01 |
pass
pt27.2: DEBUG:messagelog: 0.00s 000000001, GET,200,txt , 7,___, R=??
|
||||
testDispose_10 |
pass
pt27.3: DEBUG:messagelog: 0.00s 000000001, GET,404,txt , 7,___, R=??
|
||||
testDispose_11 |
pass
pt27.4: DEBUG:messagelog: 0.00s 000000001, GET,200,txt , 7,___, R=??
|
||||
testLastIssued |
pass
pt27.5: INFO:messagelog:Initials currentId is 1
|
||||
test_findHighestId |
pass | ||||
| minds.test.test_proxyhandler.TestProxyHandler | 5 | 5 | 0 | 0 | Detail |
testDiscarded |
pass
pt28.1: WARNING:proxy:No response from us.a1.yimg.com /us.yimg.com/a/1-/jscodes/031016/ct_yad_031016.js
DEBUG:messagelog: 0.00s None, GET,0 , , 0,,http://us.a1.yimg.com/us.yimg.com/a/1-/jscodes/031016/ct_yad_031016.js R=ini
DEBUG:messagelog: 0.00s None, GET,404,html , 121,___,http://lists.netsys.com/favicon.ico R=??
|
||||
testException |
pass
pt28.2: ERROR:proxy:Unable to close outgoing socket
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\proxyhandler.py", line 121, in do_GET
if soc: soc.close()
File "c:\0\bin\mindretrieve\trunk\minds\util\fileutil.py", line 160, in close
self.fin.close()
AttributeError: 'object' object has no attribute 'close'
ERROR:proxy:Problem in handling request
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\proxyhandler.py", line 70, in handle_one_request
BaseHTTPServer.BaseHTTPRequestHandler.handle_one_request(self)
File "C:\Python26\Lib\BaseHTTPServer.py", line 323, in handle_one_request
method()
File "c:\0\bin\mindretrieve\trunk\minds\proxyhandler.py", line 106, in do_GET
rspBuf, header_size, bytes_received = self._transfer_data(soc)
File "c:\0\bin\mindretrieve\trunk\minds\proxyhandler.py", line 219, in _transfer_data
for cData, sData in proxy_pump:
File "c:\0\bin\mindretrieve\trunk\minds\proxyhandler.py", line 457, in _proxy_pump
data = serverSoc.fin.read()
AttributeError: 'object' object has no attribute 'read'
DEBUG:messagelog: 0.00s None, GET,0 , , 0,,http://creativecommons.org/ R=ini
|
||||
testHandlerOverflow |
pass
pt28.3: WARNING:proxy:logOverflow bytes received: 12158
DEBUG:messagelog: 0.00s None, GET,200,html , 12158,___,http://creativecommons.org/ R=http://www.google.com/search?q=creative+common&sourceid=opera&num=0&ie=utf-8&oe=utf-8
|
||||
testNextProxy |
pass
pt28.4: INFO:messagelog:Initials currentId is 1
DEBUG:messagelog: 0.00s 000000001, GET,200,html , 12158,___,http://creativecommons.org/ R=http://www.google.com/search?q=creative+common&sourceid=opera&num=0&ie=utf-8&oe=utf-8
|
||||
testRequestForwarded |
pass
pt28.5: INFO:messagelog:Initials currentId is 1
DEBUG:messagelog: 0.00s 000000001, GET,200,html , 12158,___,http://creativecommons.org/ R=http://www.google.com/search?q=creative+common&sourceid=opera&num=0&ie=utf-8&oe=utf-8
|
||||
| minds.test.test_upgrade_checker.TestUpgrade | 5 | 5 | 0 | 0 | Detail |
test_checkUpgrade |
pass
pt29.1: INFO:upgrade:Upgrade feed status: n/a [0.4.2 Version 0.4.2 Maintenance release with minor enhancement (2005-02-21) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=4867] next 2005-01-11
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Upgrade available. current version 0.0 last_entry_date 2005-02-21T17:00:00Z force_check False
INFO:upgrade:Upgrade feed status: n/a [0.4.2 Version 0.4.2 Maintenance release with minor enhancement (2005-02-21) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=4867] next 2005-01-11
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old date: 2005-02-21T17:00:00Z
INFO:upgrade:Upgrade feed status: n/a [0.4.2 Version 0.4.2 Maintenance release with minor enhancement (2005-02-21) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=4867] next 2005-01-11
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old Version: 0.4.2
INFO:upgrade:Upgrade feed status: n/a [0.8.0 Version 0.8.0 New features added: web library, tag based categorization, etc (2006-01-18) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=8737] next 2005-01-11
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Upgrade available. current version 0.4.0 last_entry_date 2006-01-18T17:00:00Z force_check False
|
||||
test_checkUpgrade_failed_fetch |
pass
pt29.2: INFO:upgrade:Upgrade feed status: [None] next 2005-01-02
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
INFO:upgrade:Upgrade feed status: [None] next 2005-01-02
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
INFO:upgrade:Upgrade feed status: [None] next 2005-01-02
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
INFO:upgrade:Upgrade feed status: [None] next 2005-01-02
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
|
||||
test_fetch |
pass | ||||
test_pollUpgradeInfo |
pass
pt29.4: 0.0 current 2004-12-31 fetch -->
0.0 current 2005-01-01 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.4.2 Version 0.4.2 Maintenance release with minor enhancement (2005-02-21) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=4867] next 2005-01-11
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Upgrade available. current version 0.0 last_entry_date 2005-02-21T17:00:00Z force_check False
0.0 current 2005-01-02 fetch -->
0.0 current 2005-01-03 fetch -->
0.0 current 2005-01-11 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.4.2 Version 0.4.2 Maintenance release with minor enhancement (2005-02-21) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=4867] next 2005-01-21
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old date: 2005-02-21T17:00:00Z
0.0 current 2005-01-21 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.8.0 Version 0.8.0 New features added: web library, tag based categorization, etc (2006-01-18) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=8737] next 2005-01-31
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Upgrade available. current version 0.0 last_entry_date 2006-01-18T17:00:00Z force_check False
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
0.0 current 2005-01-31 fetch -->
0.0 current 2005-01-22 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.8.0 Version 0.8.0 New features added: web library, tag based categorization, etc (2006-01-18) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=8737] next 9999-12-31
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Upgrade available. current version 0.0 last_entry_date 2006-01-18T17:00:00Z force_check True
9.9 current 2005-01-23 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.8.0 Version 0.8.0 New features added: web library, tag based categorization, etc (2006-01-18) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=8737] next 9999-12-31
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old Version: 0.8.0
9.9 current 2005-02-10 fetch -->
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
9.9 current 2005-02-10 fetch -->
INFO:upgrade:Upgrade feed status: n/a [0.8.0 Version 0.8.0 New features added: web library, tag based categorization, etc (2006-01-18) https://developer.berlios.de/project/showfiles.php?group_id=2905&release_id=8737] next 2005-02-20
INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
DEBUG:upgrade:Feed ignored. Old date: 2006-01-18T17:00:00Z
|
||||
test_set_config |
pass
pt29.5: INFO:cfg:Saving config file: testdata\config.ini 2011-03-28
|
||||
| minds.util.httputil.TestHttputil | 2 | 2 | 0 | 0 | Detail |
test_canonicalize |
pass | ||||
test_split |
pass | ||||
| minds.util.multiblockfile.TestReaderWriter | 3 | 3 | 0 | 0 | Detail |
testFillerline |
pass | ||||
testReadWrite |
pass
pt31.2:
@testReadWrite
Block1 clen=50 len(data)=50 [[Message 1 has\n3 lines\nand ends without line break.]]
Block2 clen=50 len(data)=50 [[Message 2 has\n3 lines\nand ends with a line break.\n]]
Block3 clen=53 len(data)=53 [[Message 3 has 3 lines \n\nand ends without line break.]]
Block4 clen=52 len(data)=52 [[Message 4 has \n3 lines\nand ends with a line break.\n]]
Block5 clen=53 len(data)=53 [[Message 5 has 3 lines \n\nand ends without line break.]]
Block6 clen=52 len(data)=52 [[Message 6 has \n3 lines\nand ends with a line break.\n]]
Block_nil clen=0 len(data)=0 [[]]
Block8 partial clen=51 len(data)=22 [[Message 8 has \n2 line]]
Block9 clen=52 len(data)=52 [[Message 9 has \n2 lines and ends without line break.]]
Block9 clen=52 len(data)=52 [[Message 9 has \n2 lines and ends without line break.]]
|
||||
testTellNSeek |
pass
pt31.3:
@testTellNSeek
|
||||
| minds.util.patterns_tester.TestCheckStrings | 7 | 7 | 0 | 0 | Detail |
test00 |
pass | ||||
test01 |
pass | ||||
test10 |
pass | ||||
testCheckedOK |
pass | ||||
testNoPatternBad |
pass | ||||
testNoPatternGood |
pass | ||||
testOrderWrong |
pass | ||||
| minds.util.patterns_tester.TestPatternTester | 8 | 8 | 0 | 0 | Detail |
test00 |
pass | ||||
test01 |
pass | ||||
test10 |
pass | ||||
testCheckedOK |
pass | ||||
testCheckedRe |
pass | ||||
testNoPatternBad |
pass | ||||
testNoPatternGood |
pass | ||||
testOrderWrong |
pass | ||||
| minds.util.test_dateutil.TestDateUtil | 2 | 2 | 0 | 0 | Detail |
test_isoformat |
pass | ||||
test_parse |
pass | ||||
| minds.util.test_fileutil.TestBoundedFile | 3 | 3 | 0 | 0 | Detail |
test_boundedFile |
pass | ||||
test_boundedFile1 |
pass | ||||
test_boundedFileDelegation |
pass | ||||
| minds.util.test_fileutil.TestFileUtil | 2 | 2 | 0 | 0 | Detail |
test_RecordFile |
pass
pt36.1: line 0: [line1
]
line 1: [line2
]
line 2: [line3
]
|
||||
test_shift_files |
pass | ||||
| minds.util.test_html_pull_parser.TestParser | 4 | 4 | 0 | 0 | Detail |
test_0 |
pass | ||||
test_comment |
pass | ||||
test_no_retain |
pass | ||||
test_parse |
pass | ||||
| minds.util.test_html_pull_parser.TestSGMLPatch | 5 | 5 | 0 | 0 | Detail |
test_declaration_bad |
pass | ||||
test_declaration_good_case |
pass | ||||
test_declaration_incomplete |
pass | ||||
test_parse_emptytag |
pass | ||||
test_xml_CDATA |
pass | ||||
| minds.util.test_magic.TestMagic | 13 | 13 | 0 | 0 | Detail |
test_empty_file |
pass | ||||
test_gif |
pass | ||||
test_ico |
pass | ||||
test_jpeg |
pass | ||||
test_partial_mask_match0 |
pass | ||||
test_partial_mask_match1 |
pass | ||||
test_partial_match0 |
pass | ||||
test_partial_match1 |
pass | ||||
test_png |
pass | ||||
test_text_html |
pass | ||||
test_uft16 |
pass | ||||
test_utf8 |
pass | ||||
test_zip |
pass | ||||
| minds.util.test_pagemeter.TestPageMeter | 4 | 4 | 0 | 0 | Detail |
test0 |
pass | ||||
test100 |
pass | ||||
test105 |
pass | ||||
testError |
pass | ||||
| minds.util.test_rspreader.TestChunked | 10 | 10 | 0 | 0 | Detail |
test0 |
pass | ||||
testBadLength |
pass | ||||
testEmpty |
pass | ||||
testErrorOnSecondBlock |
pass | ||||
testIncompleteChunk |
pass | ||||
testInvalidEOC |
pass | ||||
testNegativeLength |
pass | ||||
testNoLength |
pass | ||||
testOneBlock |
pass | ||||
testTwoBlocks |
pass | ||||
| minds.util.test_rspreader.TestContentReader | 8 | 8 | 0 | 0 | Detail |
test0 |
pass | ||||
testChunked |
pass | ||||
testChunkedGzip |
pass | ||||
test_deflate |
pass | ||||
test_empty_response |
pass | ||||
test_gzip_encoding |
pass | ||||
test_no_encoding |
pass | ||||
test_no_encoding_controlled: controlled test of test_no_encoding() without using ContentReader |
pass | ||||
| minds.util.test_rspreader.TestOpen | 4 | 4 | 0 | 0 | Detail |
testOpenMlog |
pass | ||||
testOpenMlogBinary |
pass | ||||
testOpenMlog_controlled |
pass | ||||
testOpenRegularDoc |
pass | ||||
| minds.util.test_rspreader.TestRspReader | 2 | 2 | 0 | 0 | Detail |
test_RspReader |
pass | ||||
test_RspReader_controlled: controlled test of test_RspReader() without using RspReader |
pass | ||||
| minds.util.test_threadutil.Test_PooledExecutor | 2 | 2 | 0 | 0 | Detail |
test_PooledExecutor: test PooledExecutor |
pass
pt45.1:
@test_PooledExecutor
55
82
100
nAlive 3
|
||||
test_exception: Test task throws exception |
pass
pt45.2: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
task.run()
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 21, in run
self.__target(*self.__args, **self.__kwargs)
File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
raise Exception, 'bad'
Exception: bad
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
task.run()
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 21, in run
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
self.__target(*self.__args, **self.__kwargs)
task.run()
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 21, in run
File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
raise Exception, 'bad'
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
Exception: bad
self.__target(*self.__args, **self.__kwargs)
File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
raise Exception, 'bad'
task.run()
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 21, in run
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
self.__target(*self.__args, **self.__kwargs)
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
task.run()
File "c:\0\bin\mindretrieve\trunk\minds\util\threadutil.py", line 76, in _runLoop
raise Exception, 'bad'
self.__targ File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
self.__target(*self.__args, **self.__kwargs)
File "c:\0\bin\mindretrieve\trunk\minds\util\test_threadutil.py", line 138, in badWork
raise Exception, 'bad'
raise Exception, 'bad'
Exception: bad
Exception: bad
|
||||
| minds.weblib.test.test_graph.TestIndentedTextParsing | 7 | 7 | 0 | 0 | Detail |
test0 |
pass | ||||
test_bfs |
pass | ||||
test_deformed |
pass | ||||
test_delete |
pass | ||||
test_dfs |
pass | ||||
test_rename |
pass | ||||
test_simple |
pass | ||||
| minds.weblib.test.test_graph.TestUtils | 1 | 1 | 0 | 0 | Detail |
test_find_branches |
pass | ||||
| minds.weblib.test.test_import.TestImport | 12 | 12 | 0 | 0 | Detail |
test_ctime_str_2_iso8601 |
pass | ||||
test_delicious |
pass
pt48.2: DEBUG:weblib:Added tag: 3-Firefox_and_Mozilla_Links
INFO:weblib:Adding WebPage: Get Involved - Help spread Firefox!
INFO:weblib:Adding WebPage: MozillaZine
INFO:weblib:Adding WebPage: Firefox Start Page
DEBUG:weblib:Added tag: 2-Quick_Searches
INFO:weblib:Adding WebPage: Wikipedia Quicksearch
INFO:weblib:Adding WebPage: Answers.com Dictionary Quicksearch
INFO:weblib:Adding WebPage: Google Quicksearch
DEBUG:weblib:Added tag: 1-Bookmarks_Toolbar_Folder
INFO:weblib:Adding WebPage: Latest Headlines
INFO:weblib:Adding WebPage: Getting Started
DEBUG:weblib:Added tag: 2.1-misc
INFO:weblib:Adding WebPage: Google
INFO:weblib:Adding WebPage: Answers.com
INFO:weblib:Adding WebPage: Amazon.com
INFO:weblib:Adding WebPage: Price Comparison
INFO:weblib:Adding WebPage: Ebay.com
INFO:weblib:Adding WebPage: Google groups
INFO:weblib:Adding WebPage: Opera Web
INFO:weblib:Adding WebPage: Download.com
INFO:weblib:Adding WebPage: Google News
INFO:weblib:Adding WebPage: Opera support
DEBUG:weblib:Added tag: 4-日本語
INFO:weblib:Adding WebPage: メインページ - Wikipedia
INFO:wlib.imprt:Import completed items added=19 updated=0
|
||||
test_delicious_bad |
pass
pt48.3: WARNING:imp.del.i.:Error parsing delicious import: lib/testdocs\test_magic/penguin100.jpg:1:0: not well-formed (invalid token)
|
||||
test_import_bookmarks |
pass
pt48.4: INFO:weblib:Adding WebPage: b01
DEBUG:weblib:Added tag: t1
INFO:weblib:Adding WebPage: b02
DEBUG:weblib:Added tag: t2
DEBUG:weblib:Added tag: t3
INFO:weblib:Adding WebPage: b03
INFO:weblib:Adding WebPage: b04
INFO:wlib.imprt:Import completed items added=4 updated=0
|
||||
test_import_netscape_PushBackIterator |
pass | ||||
test_import_tree |
pass
pt48.6: DEBUG:weblib:Added tag: f1
INFO:weblib:Adding WebPage: b01
INFO:weblib:Adding WebPage: b02
DEBUG:weblib:Added tag: f11
INFO:weblib:Adding WebPage: b03
INFO:weblib:Adding WebPage: b04
DEBUG:weblib:Add tag from category: f2
DEBUG:weblib:Add tag from category: f22
INFO:wlib.imprt:Import completed items added=4 updated=0
|
||||
test_netscape |
pass
pt48.7: DEBUG:weblib:Added tag: 1-Bookmarks Toolbar Folder
INFO:weblib:Adding WebPage: Getting Started
INFO:weblib:Adding WebPage: Latest Headlines
DEBUG:weblib:Added tag: 2-Quick Searches
INFO:weblib:Adding WebPage: Google Quicksearch
INFO:weblib:Adding WebPage: Answers.com Dictionary Quicksearch
INFO:weblib:Adding WebPage: Wikipedia Quicksearch
DEBUG:weblib:Added tag: 2.1-misc
INFO:weblib:Adding WebPage: Google
INFO:weblib:Adding WebPage: Answers.com
INFO:weblib:Adding WebPage: Amazon.com
INFO:weblib:Adding WebPage: Price Comparison
INFO:weblib:Adding WebPage: Ebay.com
INFO:weblib:Adding WebPage: Google groups
DEBUG:weblib:Added tag: 3-Firefox and Mozilla Links
INFO:weblib:Adding WebPage: Firefox Start Page
INFO:weblib:Adding WebPage: MozillaZine
INFO:weblib:Adding WebPage: Get Involved - Help spread Firefox!
INFO:weblib:Adding WebPage: Opera Web
INFO:weblib:Adding WebPage: Download.com
INFO:weblib:Adding WebPage: Google News
INFO:weblib:Adding WebPage: Opera support
DEBUG:weblib:Added tag: 4-日本語
INFO:weblib:Adding WebPage: メインページ - Wikipedia
INFO:wlib.imprt:Import completed items added=19 updated=0
|
||||
test_netscape_bad |
pass
pt48.8: INFO:wlib.imprt:Import completed items added=0 updated=0
|
||||
test_netscape_via_IE |
pass
pt48.9: DEBUG:weblib:Added tag: 1-Bookmarks Toolbar Folder
INFO:weblib:Adding WebPage: Google
DEBUG:weblib:Added tag: 2-Quick Searches
DEBUG:weblib:Added tag: 2.1-misc
INFO:weblib:Adding WebPage: Amazon.com
INFO:weblib:Adding WebPage: Answers.com
INFO:weblib:Adding WebPage: Ebay.com
INFO:weblib:Adding WebPage: Google groups
INFO:weblib:Adding WebPage: Google
INFO:weblib:Adding WebPage: Price Comparison
INFO:weblib:Adding WebPage: Google
DEBUG:weblib:Added tag: 3-Firefox and Mozilla Links
INFO:weblib:Adding WebPage: Opera Web
DEBUG:weblib:Added tag: 4-???
INFO:weblib:Adding WebPage: ?????? - Wikipedia
INFO:weblib:Adding WebPage: Download.com
INFO:weblib:Adding WebPage: Google News
INFO:weblib:Adding WebPage: Opera support
INFO:weblib:Adding WebPage: Opera Web
INFO:wlib.imprt:Import completed items added=14 updated=0
[]
|
||||
test_netscape_via_safari |
pass
pt48.10: DEBUG:weblib:Added tag: Bookmarks Menu
DEBUG:weblib:Added tag: 1-Bookmarks Toolbar Folder
INFO:weblib:Adding WebPage: Getting Started
INFO:weblib:Adding WebPage: Latest Headlines
DEBUG:weblib:Added tag: 2-Quick Searches
INFO:weblib:Adding WebPage: Google Quicksearch
INFO:weblib:Adding WebPage: Answers.com Dictionary Quicksearch
INFO:weblib:Adding WebPage: Wikipedia Quicksearch
DEBUG:weblib:Added tag: 2.1-misc
INFO:weblib:Adding WebPage: Google
INFO:weblib:Adding WebPage: Answers.com
INFO:weblib:Adding WebPage: Amazon.com
INFO:weblib:Adding WebPage: Price Comparison
INFO:weblib:Adding WebPage: Ebay.com
INFO:weblib:Adding WebPage: Google groups
DEBUG:weblib:Added tag: 3-Firefox and Mozilla Links
INFO:weblib:Adding WebPage: Firefox Start Page
INFO:weblib:Adding WebPage: MozillaZine
INFO:weblib:Adding WebPage: Get Involved - Help spread Firefox!
INFO:weblib:Adding WebPage: Opera Web
INFO:weblib:Adding WebPage: Download.com
INFO:weblib:Adding WebPage: Google News
INFO:weblib:Adding WebPage: Opera support
DEBUG:weblib:Added tag: 4-日本語
INFO:weblib:Adding WebPage: メインページ - Wikipedia
DEBUG:weblib:Add tag from category: Bookmarks Bar
INFO:wlib.imprt:Import completed items added=19 updated=0
|
||||
test_opera |
pass
pt48.11: WARNING:imp.opera:Unknown line 1 - opera hotlist version 2.0
WARNING:imp.opera:Unknown line 2 - options: encoding = utf8, version=3
DEBUG:weblib:Added tag: 1-Bookmarks Toolbar Folder
INFO:weblib:Adding WebPage: Getting Started
INFO:weblib:Adding WebPage: Latest Headlines
DEBUG:weblib:Added tag: 2-Quick Searches
INFO:weblib:Adding WebPage: Google Quicksearch
INFO:weblib:Adding WebPage: Answers.com Dictionary Quicksearch
INFO:weblib:Adding WebPage: Wikipedia Quicksearch
DEBUG:weblib:Added tag: 2.1-misc
INFO:weblib:Adding WebPage: Google
INFO:weblib:Adding WebPage: Answers.com
INFO:weblib:Adding WebPage: Amazon.com
INFO:weblib:Adding WebPage: Price Comparison
INFO:weblib:Adding WebPage: Ebay.com
INFO:weblib:Adding WebPage: Google groups
DEBUG:weblib:Added tag: 3-Firefox and Mozilla Links
INFO:weblib:Adding WebPage: Firefox Start Page
INFO:weblib:Adding WebPage: MozillaZine
INFO:weblib:Adding WebPage: Get Involved - Help spread Firefox!
DEBUG:weblib:Added tag: 4-日本語
INFO:weblib:Adding WebPage: メインページ - Wikipedia
INFO:weblib:Adding WebPage: Opera Web
INFO:weblib:Adding WebPage: Download.com
INFO:weblib:Adding WebPage: Google News
INFO:weblib:Adding WebPage: Opera support
INFO:wlib.imprt:Import completed items added=19 updated=0
|
||||
test_opera_bad |
pass
pt48.12: WARNING:imp.opera:Unknown line 1 - \ufffd\ufffd\ufffd\ufffd\x00\x10jfif\x00\x01\x01\x02\x00
WARNING:imp.opera:Unknown line 2 - \x00
WARNING:imp.opera:Unknown line 3 - \x00\x00\ufffd\ufffd\x00c\x00\x05\x03\x04\x04\x04\x03\x05\x04\x04\x04\x05\x05\x05\x06\x07\x0c\x08\x07\x07\x07\x07\x0f\x0b\x0b\t\x0c\x11\x0f\x12\x12\x11\x0f\x11\x11\x13\x16
WARNING:imp.opera:Unknown line 4 - \x17\x13\x14\x1a\x15\x11\x11\x18!\x18\x1a
WARNING:imp.opera:Unknown line 6 - \x13\x17"$"
WARNING:imp.opera:Unknown line 7 - $
WARNING:imp.opera:Unknown line 10 - \ufffd\ufffd\x00c\x01\x05\x05\x05\x07\x06\x07\x0e\x08\x08\x0e
WARNING:imp.opera:Unknown line 11 - \x14\x11\x14
WARNING:imp.opera:Unknown line 61 - \ufffd\ufffd\x00\x11\x08\x00d\x00[\x03\x01"\x00\x02\x11\x01\x03\x11\x01\ufffd\ufffd\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08
WARNING:imp.opera:Unknown line 62 - \ufffd\ufffd\x00\ufffd\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1a\x06\x13qa\x07"q\x142\ufffd\ufffd\ufffd\x08#b\ufffd\ufffd\x15
WARNING:imp.opera:Too many unknown lines. The rest will be skipped.
INFO:wlib.imprt:Import completed items added=0 updated=0
|
||||
| minds.weblib.test.test_query.TestQuery | 5 | 5 | 0 | 0 | Detail |
test_find_url |
pass | ||||
test_query |
pass | ||||
test_queryRoot |
pass | ||||
test_query_by_tags |
pass | ||||
test_query_tags |
pass | ||||
| minds.weblib.test.test_store.TestDsvUtil | 3 | 3 | 0 | 0 | Detail |
test_encode_and_decode |
pass | ||||
test_row_object |
pass | ||||
test_row_object_compatibility |
pass | ||||
| minds.weblib.test.test_store.TestStore | 20 | 20 | 0 | 0 | Detail |
test_change_n_save |
pass | ||||
test_column_compatibility |
pass
pt51.2: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
|
||||
test_dsv_encode_error |
pass
pt51.3: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
ERROR:wlib.store:Error parsing line 4
Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\weblib\store.py", line 440, in load
n = self._interpretRecord(line)
File "c:\0\bin\mindretrieve\trunk\minds\weblib\store.py", line 501, in _interpretRecord
fields = decode_dsv(line)
File "c:\0\bin\mindretrieve\trunk\minds\weblib\store.py", line 191, in decode_dsv
return [f.encode('utf-8').decode('string_escape').decode('utf-8') for f in fields]
ValueError: Trailing \ in string
|
||||
test_getWriter |
pass
pt51.4: INFO:wlib.store:Create weblib file: testdata/weblib\weblib.dat
INFO:wlib.store:Upgrade weblib file existing verion= new version=0.8
INFO:wlib.store:Create weblib file: testdata/weblib\weblib.dat
INFO:wlib.store:Upgrade weblib file existing verion= new version=0.8
|
||||
test_init |
pass | ||||
test_load |
pass | ||||
test_load0 |
pass | ||||
test_load_n_save |
pass | ||||
test_refresh_when_needed |
pass
pt51.9: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
INFO:wlib.store:Refresh data file, loaded since: 2006-01-12 17:32:20Z
INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
|
||||
test_remove_tag |
pass | ||||
test_remove_webpage |
pass | ||||
test_timestamp |
pass | ||||
test_upgrade |
pass
pt51.13: INFO:wlib.store:Loading weblib from: testdata/weblib\weblib.dat
WARNING:wlib.store:Ignore unknown id: "a_name"
INFO:wlib.store:Upgrade weblib file existing verion=0.01 new version=0.8
|
||||
test_write_name_value |
pass
pt51.14: WARNING:wlib.store:Ignore unknown id: "a_name"
|
||||
test_write_tag_duplicated |
pass | ||||
test_write_tag_existing |
pass | ||||
test_write_tag_new |
pass | ||||
test_write_webpage_existing |
pass | ||||
test_write_webpage_new |
pass | ||||
test_write_webpage_values |
pass | ||||
| minds.weblib.test.test_util.TestIdList | 7 | 7 | 0 | 0 | Detail |
test0 |
pass | ||||
test3 |
pass | ||||
test_duplicates |
pass | ||||
test_failfast |
pass | ||||
test_first |
pass | ||||
test_remove |
pass | ||||
test_with_id |
pass | ||||
| minds.weblib.test.test_util.TestIdNameList | 11 | 11 | 0 | 0 | Detail |
test0 |
pass | ||||
test3 |
pass | ||||
test_blank |
pass | ||||
test_duplicates |
pass | ||||
test_failfast |
pass | ||||
test_first |
pass | ||||
test_invalid_rename |
pass | ||||
test_remove |
pass | ||||
test_rename |
pass | ||||
test_rename_capitalization |
pass | ||||
test_with_id |
pass | ||||
| minds.weblib.test.test_util.TestURLUtil | 1 | 0 | 1 | 0 | Detail |
test_url_util_need_test |
fail
ft54.1: Traceback (most recent call last):
File "c:\0\bin\mindretrieve\trunk\minds\weblib\test\test_util.py", line 263, in test_url_util_need_test
self.fail()
AssertionError
|
||||
| minds.weblib.test.test_weblib.TestTag | 3 | 3 | 0 | 0 | Detail |
test0 |
pass | ||||
test_cleanIllegalChar |
pass | ||||
test_hasIllegalChar |
pass | ||||
| minds.weblib.test.test_weblib.TestWebPage | 1 | 1 | 0 | 0 | Detail |
test_object |
pass | ||||
| minds.weblib.test.test_weblib.TestWeblib | 11 | 11 | 0 | 0 | Detail |
test_category_setdescription |
pass
pt57.1: DEBUG:weblib:Add tag from category: Buckingham
|
||||
test_default_tag |
pass | ||||
test_editTags |
pass | ||||
test_makeTags |
pass
pt57.4: DEBUG:weblib:Added tag: T1
DEBUG:weblib:Added tag: T2
DEBUG:weblib:Added tag: T3
DEBUG:weblib:Added tag: T4
DEBUG:weblib:Added tag: T5
|
||||
test_makeTags_duplicated |
pass
pt57.5: DEBUG:weblib:Added tag: A
DEBUG:weblib:Added tag: b
|
||||
test_makeTags_invalid |
pass | ||||
test_makeTags_order |
pass
pt57.7: DEBUG:weblib:Added tag: A
DEBUG:weblib:Added tag: b
|
||||
test_setCategoryCollapse |
pass | ||||
test_tag_merge_del |
pass
pt57.9: DEBUG:weblib:tag_merge_del English-->Français #tag=6
DEBUG:weblib:tag_merge_del completed. Webpages updated=1 #tag=5
DEBUG:weblib:tag_merge_del Kremlin-->Français #tag=5
DEBUG:weblib:tag_merge_del completed. Webpages updated=4 #tag=4
DEBUG:weblib:tag_merge_del Français-->None #tag=4
DEBUG:weblib:tag_merge_del completed. Webpages updated=4 #tag=3
|
||||
test_tag_rename |
pass
pt57.10: DEBUG:weblib:tag_rename tag count=6 tag=English newName=Irish
|
||||
test_visit |
pass | ||||
| Total | 334 | 318 | 10 | 6 | |