aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* avoid running this test if File:MimeInfo is not installedJoey Hess2014-01-25
| | | | it's needed to get mime types in the feed
* remove test for page state saved for disabled pluginJoey Hess2013-11-16
| | | | | | | | | | | | | | | | | My change did cause this state to be retained. I hope this is not a problem. Afaik, plugins test if they were disabled before by looking at the toplevel plugin state, not the per-page plugin state. So the only remaining problem might be a) A plugin is disabled but its state keeps being saved. Which is not ideal, perhaps, but the large speedup of my optimisation seems worth it. b) A plugin might have been enabled, be disabled, and get re-enabled, and see old state from before. I don't see how this would be different from the plugin seeing any other old state, though, so hopefully no breakage. My optmisation looks a little more risky, but I still hope I can keep it.
* Fix test suite to work with perl 5.18. Closes: #719969Joey Hess2013-08-30
|
* Genericize download link for more use cases.Amitai Schlair2013-06-26
|
* Merge branch 'master' into fancypodcastAmitai Schlair2013-05-12
|\
| * avoid running test if xml::twig is not installedJoey Hess2013-05-09
| |
* | Merge branch 'master' into fancypodcastAmitai Schlair2013-03-17
|\| | | | | | | | | Conflicts: doc/todo/fancypodcast.mdwn
| * permalink test: start by deleting t/tmpSimon McVittie2013-02-24
| | | | | | | | | | Otherwise, tests that don't end by deleting t/tmp (which is a useful change when debugging a failing test) would cause this one to fail.
| * map test: clean up after ourselvesSimon McVittie2013-02-24
| |
| * map test: print maps' source as commentsSimon McVittie2013-02-24
| |
| * extend test, some cases now failSimon McVittie2013-02-24
| |
| * Add a test for the map directiveSimon McVittie2013-02-24
| |
* | Un-copy-paste the fancy-podcast tests.Amitai Schlair2013-02-21
| |
* | Render fancy podcast enclosures.Amitai Schlair2013-02-20
| | | | | | | | | | | | | | | | | | | | | | Simple podcast feeds didn't have content tags and I made sure to keep it that way. This may be unnecessarily conservative. Changing the behavior to include empty content tags might be fine, but I don't want to think about it right now, I just want my tests to keep passing! The new fancy-podcast tests are copy-pasted-edited from the simple-podcast tests. These tests shall be refactored.
* | Make enclosures absolute (in feeds they have to be).Amitai Schlair2013-02-20
| |
* | When inlining HTML pages, render enclosures.Amitai Schlair2013-02-19
| |
* | Let tests determine whether feeds get made.Amitai Schlair2013-02-19
| |
* | Document that last enclosure wins.Amitai Schlair2013-02-19
| |
* | Make enclosure follow WikiLink LinkingRules.Amitai Schlair2013-02-19
| |
* | Rename some posts and fix wrong assumptions.Amitai Schlair2013-02-19
| |
* | Make [[!meta enclosure=foo.mp3]] "work" for HTML.Amitai Schlair2013-02-19
| |
* | Document that podcasts are text XOR enclosure.Amitai Schlair2013-02-19
| |
* | Wrap a long line.Amitai Schlair2013-02-19
| |
* | Add tests for existing podcast behavior.Amitai Schlair2013-02-19
|/
* Bump test count for previous.Amitai Schlair2013-02-02
|
* Fix diffurl links (cvsweb expects unescaped '/').Amitai Schlair2013-02-02
|
* Fix longstanding bug (chdir to nonexistent dirs).Amitai Schlair2013-01-27
| | | | | | | | | | | | | | | | | In test, set up the post-commit hook for more realism (and bugs!). To make wrappers work in test, set PERL5LIB, and allow the wrappee's path to be overridden. Meta-test that post-commit is really hooked up by verifying that content is getting generated in destdir. About the longstanding bug, which as far as I know was harmless: CVS can't operate outside a srcdir, so we're always setting $CWD. "local $CWD" restores the previous value when we go out of scope. Usually that's correct. But if we're removing the last file from a directory, the post-commit hook will exec in a working directory that's about to not exist (CVS will prune it). The fix: chdir() manually in cvs_runcvs(), so we can selectively not chdir() back.
* Merge branch 'master' into cvsAmitai Schlair2013-01-25
|\
| * If the title of a trail or trail-member changes, rebuild affected pagesSimon McVittie2013-01-02
| | | | | | | | | | | | | | | | If the title of a trail changes, each member of that trail must be rebuilt, for its prev/up/next box to reflect the new title. If the title of a member changes, its next and previous items (if any) must be rebuilt, for their prev/up/next boxes to reflect the new title.
| * Add more trail regression testsSimon McVittie2013-01-02
| | | | | | | | | | Some of these untested bits have in fact regressed, and as such, are marked as TODO.
| * avoid syntax checking cvs, since it needs File::Chdir, whichJoey Hess2012-04-27
| | | | | | | | is not a build dep
| * Merge remote-tracking branch 'smcv/ready/literal-pagenames'Joey Hess2012-04-08
| |\
| | * trail, inline: treat pagenames as a list of literal names, not linksSimon McVittie2012-04-06
| | |
| * | prune: do not prune beyond an optional base directory, and add a testSimon McVittie2012-04-07
| |/ | | | | | | | | | | | | | | Previously, prune("wiki/srcdir/sandbox/test.mdwn") could delete srcdir or even wiki, if they happened to be empty. This is rarely what you want: there's usually some base directory (destdir, srcdir, transientdir or another subdirectory of wikistatedir) beyond which you do not want to delete.
| * add some seatbelts to toad's jalopyJoey Hess2012-04-04
| | | | | | | | | | This does not change the number of failing tests I see, but it does make it show the expected result, which makes analysis easier.
| * Use utime to make initial files in trail test come from the pastSimon McVittie2012-03-19
| | | | | | | | | | | | This ensures that when we do the second phase of the test (edit some files and refresh), the changes get a different mtime and are picked up, even if the entire test happened between two 1-second "clock ticks".
| * Replace [[!trailinline]] directive with [[!inline trail=yes]]Simon McVittie2012-03-18
| |
| * Merge tag '3.20120202' into trail3-integratedSimon McVittie2012-03-18
| |\
| * | Split trail directive into trailitems, trailoptionsSimon McVittie2011-11-12
| | |
| * | trail: improve and test sortingSimon McVittie2011-11-12
| | |
| * | Add path and path_natural sort ordersSimon McVittie2011-11-12
| | | | | | | | | | | | | | | These correspond to title and title_natural, but compare the entire path: a < a/b < a/z < ab < b.
| * | trail: new plugin (3rd attempt)Simon McVittie2011-11-09
| | |
* | | Notes.Amitai Schlair2012-02-05
| | |
* | | More testings and fixings:Amitai Schlair2012-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Test that adding a text file under a name formerly tracked as binary (and vice versa) gets the right keyword-substitution behavior. * Explicitly set -kkv for text files to make the tests pass. * CVS warns in these cases about "changing keyword expansion mode", but this is correct behavior, so filter it from stderr. Filter stdout the same way in case we ever want to keep any of it. * In rcs_add(), replace comments with obviousness.
* | | Remember to run all the tests before committing!Amitai Schlair2012-02-05
| | |
* | | Test checkconfig().Amitai Schlair2012-02-05
| | |
* | | Test RCS Id keyword expansion on typical commit.Amitai Schlair2012-02-05
| | |
* | | Notes from an evening's debugging.Amitai Schlair2012-02-05
| | |
* | | Write rcs_diff() tests according to the API spec, then make them pass.Amitai Schlair2012-02-05
| |/ |/|
* | Update test plan, missed in previous.Amitai Schlair2012-02-01
| |