summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2011-01-22Allow autoindex files to be written into the transient underlaySimon McVittie
As with the tag plugin, for the moment keep the old behaviour in the test.
2011-01-22autoindex: stop tracking deletions, use generic autofile tracking insteadSimon McVittie
- Migrate the set of deletions to the {autofile} set, since it has more or less the same effect. This affects the "deleted" case in the test. - If a page has just been deleted, add it as an autofile anyway: by the time gen_autofile is called, it'll be in the list of deleted files, so it'll just be added to {autofile}. This affects the "gone" case in the test. - Behaviour change: we don't forget that a page with no reason to be re-created was deleted. This affects the 'expunged' and 'reinstated' cases in the test.
2011-01-22autoindex.t: check that none of the files that shouldn't be generated are ↵Simon McVittie
autofiles
2011-01-22autoindex: use add_autofileSimon McVittie
This does cause a minor regression: index pages are now committed individually rather than being a single commit per rebuild. This also means the autoindex regression test needs to trigger the autofile generation pass.
2011-01-22autoindex.t: check that attachments cause indexingSimon McVittie
2011-01-22autoindex test: check that an internal page doesn't cause indexingSimon McVittie
2011-01-22Adapt autoindex test suite to work with old Test::More.Joey Hess
2010-12-25po test: add more cases, including (semi-)absolute URLsSimon McVittie
Three cases are sub-optimal, but having fixed urlto(''), they all basically work.
2010-12-25po: test beautify_urlpath with po_link_to=currentSimon McVittie
Same behaviour as 'default'.
2010-12-25urlto.t: test urlto('', undef, ?)Simon McVittie
2010-12-25urlto.t: test more cases, including the special case for to=''Simon McVittie
2010-12-25Add a test for autoindex's current functionalitySimon McVittie
2010-12-25extend the 'tag' test to cover auto-creation of tag pagesSimon McVittie
2010-11-29test w/o second parameterJoey Hess
2010-11-22Add a regression test for urlto, baseurl and cgiurl in ↵Simon McVittie
relative/local/absolute modes
2010-11-16add test case for RSS url mungingJoey Hess
2010-09-29Fix test suite failure on other side of date line.Joey Hess
2010-09-15update testJoey Hess
2010-08-30add test case for link(.) with omitted locationJoey Hess
2010-08-30t/bazaar.t: Work around bzr 2.2.0's new requirement to configure bzr whoami ↵Joey Hess
before committing.
2010-08-30Merge remote branch 'intrigeri/po'Joey Hess
2010-08-30add test for link(.)Joey Hess
2010-08-22Merge remote branch 'upstream/master' into prv/pointrigeri
2010-08-22Merge remote branch 'upstream/master' into prv/pointrigeri
2010-08-19add htmlscrubber colon in url cases to test suiteJoey Hess
2010-08-15Fix po test suite to not assume ikiwiki's underlay is already installed. ↵Joey Hess
Closes: #593047
2010-08-02po.t: added a bunch of tests for recent code changesintrigeri
2010-07-24Merge remote branch 'intrigeri/po'Joey Hess
2010-07-23whitespaceJoey Hess
2010-07-20po.t: fix expected resultsintrigeri
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-20Added tests for po::pofiles.intrigeri
2010-07-20Run checkconfig after loading the po plugin, else state is not populated.intrigeri
The pofiles function relies on @slavelanguages to have been populated by po's checkconfig hook.
2010-07-18another class of conflicts: subdir/file conflictsJoey Hess
2010-07-182 more casesJoey Hess
2010-07-18avoid error if two source files render the same destination fileJoey Hess
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-18some other (similar) failure casesJoey Hess
2010-07-17updateJoey Hess
2010-07-17turning into complete source file conflict test suiteJoey Hess
2010-07-16add 2 failing test casesJoey Hess
2010-07-16add test of file replaceJoey Hess
2010-06-25clean up messages about unavailable vcs programsJoey Hess
2010-06-23rcs_commit and rcs_commit_staged api changesJoey Hess
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-05-07pretty openid loginJoey Hess
* 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-05remove bogus test for empty pageJoey Hess
2010-05-05add testJoey Hess
2010-05-05fix test countJoey Hess
2010-05-04add test suite for find_src_filesJoey Hess
2010-04-26update test suite for recent index load on rebuild changesJoey Hess
2010-04-26Add page() PageSpec, which is like glob() but matches only pages, not other ↵Joey Hess
files.
2010-04-23add test case to ensure all templates are documentedJoey Hess