Joey Hess
6e96b5921a
remove more test diag stuff that needs a newer Test::More than debian stable's
2011-01-24 17:23:58 -04:00
Joey Hess
0e224058e7
Adapt autoindex test suite to work with old Test::More.
2011-01-22 11:00:57 -04:00
Simon McVittie
be6ca4c4e9
po test: add more cases, including (semi-)absolute URLs
...
Three cases are sub-optimal, but having fixed urlto(''), they all
basically work.
2010-12-25 22:54:54 +00:00
Simon McVittie
f328a2eab2
po: test beautify_urlpath with po_link_to=current
...
Same behaviour as 'default'.
2010-12-25 22:54:54 +00:00
Simon McVittie
fbb354d70e
urlto.t: test urlto('', undef, ?)
2010-12-25 22:54:54 +00:00
Simon McVittie
524a78eaca
urlto.t: test more cases, including the special case for to=''
2010-12-25 22:54:54 +00:00
Simon McVittie
44cc8ca420
Add a test for autoindex's current functionality
2010-12-25 22:54:54 +00:00
Simon McVittie
4ca0eb2743
extend the 'tag' test to cover auto-creation of tag pages
2010-12-25 22:54:54 +00:00
Joey Hess
340ac56729
test w/o second parameter
2010-11-29 15:01:35 -04:00
Simon McVittie
70bdd57899
Add a regression test for urlto, baseurl and cgiurl in relative/local/absolute modes
2010-11-22 23:47:05 +00:00
Joey Hess
fcf0ee574a
add test case for RSS url munging
2010-11-16 16:48:42 -04:00
Joey Hess
2df92a956a
Fix test suite failure on other side of date line.
2010-09-29 11:58:45 -04:00
Joey Hess
78e89acf37
update test
2010-09-15 15:38:06 -04:00
Joey Hess
82f9be0960
add test case for link(.) with omitted location
2010-08-30 15:27:06 -04:00
Joey Hess
2ec5efcd6c
t/bazaar.t: Work around bzr 2.2.0's new requirement to configure bzr whoami before committing.
2010-08-30 15:23:22 -04:00
Joey Hess
931036eb5c
Merge remote branch 'intrigeri/po'
2010-08-30 14:47:57 -04:00
Joey Hess
7d1cc3a020
add test for link(.)
2010-08-30 13:35:50 -04:00
intrigeri
e85c15e75b
Merge remote branch 'upstream/master' into prv/po
2010-08-22 11:09:37 +02:00
intrigeri
474b6524e0
Merge remote branch 'upstream/master' into prv/po
2010-08-22 11:05:03 +02:00
Joey Hess
7d29ba2fc7
add htmlscrubber colon in url cases to test suite
2010-08-19 14:04:55 -04:00
Joey Hess
5664401fbc
Fix po test suite to not assume ikiwiki's underlay is already installed. Closes : #593047
2010-08-15 11:38:39 -04:00
intrigeri
38460076e1
po.t: added a bunch of tests for recent code changes
2010-08-02 15:11:44 +02:00
Joey Hess
52f09a63a1
Merge remote branch 'intrigeri/po'
2010-07-24 05:22:33 -04:00
Joey Hess
855fad15e5
whitespace
2010-07-23 14:30:15 -04:00
intrigeri
d98296d1db
po.t: fix expected results
...
As index.{es,fr} don't exist, po::refreshpofiles copies them from the basewiki
underlay before running msgmerge. msgmerge marks as obsolete the translation
strings that came from the basewiki po files, but the link plugin
does not make the difference between obsolete and up-to-date links.
$links{'index.fr'} and $links{'index.es'} are therefore expected to contain
SandBox and ikiwiki.
2010-07-20 13:41:53 +02:00
intrigeri
c66fae8b16
Added tests for po::pofiles.
2010-07-20 13:39:47 +02:00
intrigeri
38014f0cad
Run checkconfig after loading the po plugin, else state is not populated.
...
The pofiles function relies on @slavelanguages to have been populated by po's
checkconfig hook.
2010-07-20 13:27:17 +02:00
Joey Hess
1dbb2632ef
another class of conflicts: subdir/file conflicts
2010-07-18 17:16:39 -04:00
Joey Hess
d6cb4436bd
2 more cases
2010-07-18 16:45:44 -04:00
Joey Hess
773db5a35e
avoid error if two source files render the same destination file
...
There are two sub-caces. If both source files still exist, the winner that
renders the destination file is undefined. If one source file is deleted
and the other added, in a refresh, the new file will take over the
destination file.
2010-07-18 16:28:39 -04:00
Joey Hess
a291f24be6
some other (similar) failure cases
2010-07-18 13:50:06 -04:00
Joey Hess
bfa4660df7
update
2010-07-17 13:30:08 -04:00
Joey Hess
4142308429
turning into complete source file conflict test suite
2010-07-17 13:24:40 -04:00
Joey Hess
fd842e03e6
add 2 failing test cases
2010-07-16 16:11:24 -04:00
Joey Hess
936dc6fc8e
add test of file replace
2010-07-16 16:07:51 -04:00
Joey Hess
1f6ea9a626
clean up messages about unavailable vcs programs
2010-06-25 00:30:12 -04:00
Joey Hess
ecdfd1b864
rcs_commit and rcs_commit_staged api changes
...
Using named parameters for these is overdue. Passing the session in a
parameter instead of passing username and IP separately will later allow
storing other session info, like username or part of the email.
Note that these functions are not part of the exported API,
and the prototype change will catch (most) skew, so I am not changing
API versions. Any third-party plugins that call them will need updated
though.
2010-06-23 19:04:36 -04:00
Joey Hess
f8c2a67b3c
pretty openid login
...
* openid: Incorporated a fancy openid-selector signin form.
(http://code.google.com/p/openid-selector/ )
* openid: Use "openid_identifier" as the form field, as required
by OpenID Authentication v2.0 spec.
2010-05-07 20:14:25 -04:00
Joey Hess
81948abda7
remove bogus test for empty page
2010-05-05 22:47:37 -04:00
Joey Hess
57405061f4
add test
2010-05-05 22:12:31 -04:00
Joey Hess
9257381e8d
fix test count
2010-05-05 18:32:48 -04:00
Joey Hess
34afaf1015
add test suite for find_src_files
2010-05-04 23:20:47 -04:00
Joey Hess
a6d38b7f26
update test suite for recent index load on rebuild changes
2010-04-26 19:01:31 -04:00
Joey Hess
3ac2ae1f14
Add page() PageSpec, which is like glob() but matches only pages, not other files.
2010-04-26 18:47:17 -04:00
Joey Hess
9b112cc986
add test case to ensure all templates are documented
2010-04-23 17:23:31 -04:00
Joey Hess
ef34ea7c05
fix test cases for dynamic influence calculation
2010-04-22 00:07:25 -04:00
Joey Hess
c98414e192
added a test case for this bug
...
Further analysis suggests fixing this might not be as dreadful as I first
thought!
2010-04-21 23:08:54 -04:00
Joey Hess
13325317a3
backlink influence data seems ok
2010-04-21 22:04:03 -04:00
Joey Hess
cff3937b68
remove 2 argument form of file_pruned
2010-04-20 14:08:29 -04:00
Joey Hess
a97964688b
unfinished file_prune revamp
...
Many calls to file_prune were incorrectly calling it with 2 parameters.
In cases where the filename being checked is relative to the srcdir,
that is not needed.
Made absolute filenames be pruned. (This won't work for the 2 parameter call
style.)
2010-04-17 19:05:40 -04:00