From 6ee4a970fabe88be0935f64e8d4fe232cc393a00 Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Mon, 21 Jul 2008 13:45:06 +0000 Subject: [PATCH] Updates to rss20 tests. --- t/static_basic/config/blosxom.conf | 2 + t/static_basic/config/plugins.conf | 2 + t/static_basic/expected/2006/07/19/index.rss | 48 ++++++++++++-------- t/static_basic/expected/2006/07/index.rss | 48 ++++++++++++-------- t/static_basic/expected/2006/index.rss | 48 ++++++++++++-------- t/static_basic/expected/index.rss | 48 ++++++++++++-------- t/templates/config/plugins.conf | 2 + 7 files changed, 126 insertions(+), 72 deletions(-) create mode 100644 t/static_basic/config/plugins.conf create mode 100644 t/templates/config/plugins.conf diff --git a/t/static_basic/config/blosxom.conf b/t/static_basic/config/blosxom.conf index 7d8ef26..18ddf7a 100644 --- a/t/static_basic/config/blosxom.conf +++ b/t/static_basic/config/blosxom.conf @@ -1,4 +1,6 @@ $datadir = "$ENV{BLOSXOM_CONFIG_DIR}/../data"; +$plugin_list = "$ENV{BLOSXOM_CONFIG_DIR}/plugins.conf"; +$plugin_path = "$ENV{BLOSXOM_CONFIG_DIR}/../../../general:$ENV{BLOSXOM_CONFIG_DIR}/../../../gavinc"; $static_dir = "$ENV{BLOSXOM_CONFIG_DIR}/../static"; $static_password = 'static'; @static_flavours = qw/html rss/; diff --git a/t/static_basic/config/plugins.conf b/t/static_basic/config/plugins.conf new file mode 100644 index 0000000..d3be1b1 --- /dev/null +++ b/t/static_basic/config/plugins.conf @@ -0,0 +1,2 @@ +storydate +rss20 diff --git a/t/static_basic/expected/2006/07/19/index.rss b/t/static_basic/expected/2006/07/19/index.rss index 9d5130f..6628437 100644 --- a/t/static_basic/expected/2006/07/19/index.rss +++ b/t/static_basic/expected/2006/07/19/index.rss @@ -1,20 +1,30 @@ - - - My Weblog - http://localhost/ - Yet another Blosxom weblog. - en - http://blogs.law.harvard.edu/tech/rss - blosxom/2.0.2 + - - Lorem ipsum - Wed, 19 Jul 2006 22:54:00 +0000 - http://localhost/2006/07/19#1 - - /1 - Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso + + My Weblog + http://localhost/ + Yet another Blosxom weblog. + author@example.com (A. U. Thor) + author@example.com (A. U. Thor) + Wed, 19 Jul 2006 22:54:00 +0000 + en + blosxom 2.0.2 + + hourly + 1 + 2000-01-01T12:00+00:00 + + + + Lorem ipsum + http://localhost/1.html + http://localhost/1.html + Wed, 19 Jul 2006 22:54:00 +0000 + Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. @@ -28,7 +38,9 @@ cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer -tyr wuz de ramas cora dola tym ipso hor. - - +tyr wuz de ramas cora dola tym ipso hor. + + + + diff --git a/t/static_basic/expected/2006/07/index.rss b/t/static_basic/expected/2006/07/index.rss index 9d5130f..6628437 100644 --- a/t/static_basic/expected/2006/07/index.rss +++ b/t/static_basic/expected/2006/07/index.rss @@ -1,20 +1,30 @@ - - - My Weblog - http://localhost/ - Yet another Blosxom weblog. - en - http://blogs.law.harvard.edu/tech/rss - blosxom/2.0.2 + - - Lorem ipsum - Wed, 19 Jul 2006 22:54:00 +0000 - http://localhost/2006/07/19#1 - - /1 - Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso + + My Weblog + http://localhost/ + Yet another Blosxom weblog. + author@example.com (A. U. Thor) + author@example.com (A. U. Thor) + Wed, 19 Jul 2006 22:54:00 +0000 + en + blosxom 2.0.2 + + hourly + 1 + 2000-01-01T12:00+00:00 + + + + Lorem ipsum + http://localhost/1.html + http://localhost/1.html + Wed, 19 Jul 2006 22:54:00 +0000 + Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. @@ -28,7 +38,9 @@ cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer -tyr wuz de ramas cora dola tym ipso hor. - - +tyr wuz de ramas cora dola tym ipso hor. + + + + diff --git a/t/static_basic/expected/2006/index.rss b/t/static_basic/expected/2006/index.rss index 9d5130f..6628437 100644 --- a/t/static_basic/expected/2006/index.rss +++ b/t/static_basic/expected/2006/index.rss @@ -1,20 +1,30 @@ - - - My Weblog - http://localhost/ - Yet another Blosxom weblog. - en - http://blogs.law.harvard.edu/tech/rss - blosxom/2.0.2 + - - Lorem ipsum - Wed, 19 Jul 2006 22:54:00 +0000 - http://localhost/2006/07/19#1 - - /1 - Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso + + My Weblog + http://localhost/ + Yet another Blosxom weblog. + author@example.com (A. U. Thor) + author@example.com (A. U. Thor) + Wed, 19 Jul 2006 22:54:00 +0000 + en + blosxom 2.0.2 + + hourly + 1 + 2000-01-01T12:00+00:00 + + + + Lorem ipsum + http://localhost/1.html + http://localhost/1.html + Wed, 19 Jul 2006 22:54:00 +0000 + Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. @@ -28,7 +38,9 @@ cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer -tyr wuz de ramas cora dola tym ipso hor. - - +tyr wuz de ramas cora dola tym ipso hor. + + + + diff --git a/t/static_basic/expected/index.rss b/t/static_basic/expected/index.rss index 9d5130f..6628437 100644 --- a/t/static_basic/expected/index.rss +++ b/t/static_basic/expected/index.rss @@ -1,20 +1,30 @@ - - - My Weblog - http://localhost/ - Yet another Blosxom weblog. - en - http://blogs.law.harvard.edu/tech/rss - blosxom/2.0.2 + - - Lorem ipsum - Wed, 19 Jul 2006 22:54:00 +0000 - http://localhost/2006/07/19#1 - - /1 - Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso + + My Weblog + http://localhost/ + Yet another Blosxom weblog. + author@example.com (A. U. Thor) + author@example.com (A. U. Thor) + Wed, 19 Jul 2006 22:54:00 +0000 + en + blosxom 2.0.2 + + hourly + 1 + 2000-01-01T12:00+00:00 + + + + Lorem ipsum + http://localhost/1.html + http://localhost/1.html + Wed, 19 Jul 2006 22:54:00 +0000 + Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto. @@ -28,7 +38,9 @@ cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer -tyr wuz de ramas cora dola tym ipso hor. - - +tyr wuz de ramas cora dola tym ipso hor. + + + + diff --git a/t/templates/config/plugins.conf b/t/templates/config/plugins.conf new file mode 100644 index 0000000..d3be1b1 --- /dev/null +++ b/t/templates/config/plugins.conf @@ -0,0 +1,2 @@ +storydate +rss20 -- 2.30.2