git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1305 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-04-04 12:55:18 +00:00
parent ca081c2168
commit fd561b291b
10 changed files with 44 additions and 36 deletions

View file

@ -1,4 +1,4 @@
1.12.2 (release 3.4.2004)
1.12.2 (release 4.4.2004)
* use XmlUtils instead of xmlify for XML quoting
Type: code cleanup
Added: linkcheck/XmlUtils.py

2
debian/changelog vendored
View file

@ -1,4 +1,4 @@
linkchecker (1.12.2) unstable; urgency=low
linkchecker (1.12.2-1) unstable; urgency=low
* New upstream release.

2
debian/copyright vendored
View file

@ -4,7 +4,7 @@ This is linkchecker, written and maintained by Bastian Kleineidam
The original source can always be found at:
http://linkchecker.sourceforge.net/
Copyright (C) 2000-2003 Bastian Kleineidam
Copyright (C) 2000-2004 Bastian Kleineidam
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View file

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: $Id$\n"
"POT-Creation-Date: Sun Apr 4 11:47:12 2004\n"
"POT-Creation-Date: Sun Apr 4 15:04:24 2004\n"
"PO-Revision-Date: 2004-04-03 18:51+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
"Language-Team: de <de@li.org>\n"

View file

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: $Id$\n"
"POT-Creation-Date: Sun Apr 4 11:47:12 2004\n"
"POT-Creation-Date: Sun Apr 4 15:04:24 2004\n"
"PO-Revision-Date: 2004-01-03 23:24+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
"Language-Team: fr <fr@li.org>\n"

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: Sun Apr 4 11:47:12 2004\n"
"POT-Creation-Date: Sun Apr 4 15:04:24 2004\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: $Id$\n"
"POT-Creation-Date: Sun Apr 4 11:47:12 2004\n"
"POT-Creation-Date: Sun Apr 4 15:04:24 2004\n"
"PO-Revision-Date: 2004-02-20 15:26+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
"Language-Team: nl <nl@li.org>\n"

View file

@ -1,6 +1,15 @@
test_base
url file:///home/calvin/projects/linkchecker/test/html/base1.html
valid
url file:///home/calvin/projects/linkchecker/test/html/base2.html
valid
url file:///home/calvin/projects/linkchecker/test/html/codebase.html
valid
url misc.html
valid
url misc.html
cached
valid
url test.txt
baseurl file:///home/calvin/projects/linkchecker/test/html/base/
valid
@ -8,11 +17,3 @@ url test.txt
cached
baseurl file:///home/calvin/projects/linkchecker/test/html/base/
valid
url file:///home/calvin/projects/linkchecker/test/html/base2.html
valid
url file:///home/calvin/projects/linkchecker/test/html/base1.html
valid
url misc.html
valid
url misc.html
valid

View file

@ -1,32 +1,39 @@
test_file
url file:///home/calvin/projects/linkchecker/test/html/file.asc
url file:///home/calvin/projects/linkchecker/test/html/file.html
valid
url file:///home/calvin/projects/linkchecker/test/html/file.txt
valid
url file:///home/calvin/projects/linkchecker/test/html/file.html
url file:///home/calvin/projects/linkchecker/test/html/file.asc
valid
url file:/etc/
name good dir
error
url file:etc/group
name bad file
error
url file:/etc/group
name good file
url file:///home/calvin/projects/linkchecker/test/html/file.css
valid
url file://etc/group
name bad file
error
url file:///etc/group
name good file
valid
url http.html#iswas
name good anchor
url http.html
name relative url
valid
url http.html#isnix
name bad anchor
warning anchor #isnix not found
valid
url http.html
name relative url
url http.html#iswas
name good anchor
valid
url file:///etc/group
name good file
valid
url file://etc/group
name bad file
error
url file:/etc/group
cached
name good file
valid
url file:etc/group
name bad file
error
url file:/etc/
name good dir
error
url misc.html
valid
url news.html
valid

View file

@ -7,7 +7,7 @@ config['log'] = config.newLogger('test')
config["anchors"] = True
config["verbose"] = True
config.setThreads(0)
for filename in ('file.html', "file.txt", "file.asc"):
for filename in ('file.html', "file.txt", "file.asc", "file.css"):
url = os.path.join("test", "html", filename)
config.appendUrl(linkcheck.UrlData.GetUrlDataFrom(url, 0, config))
linkcheck.checkUrls(config)