summaryrefslogtreecommitdiffstats
path: root/t/02
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-13 10:46:21 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-13 10:46:21 -0500
commitb7b7c17b7a7a2eab5b82011cd49ce4223470deba (patch)
tree0a2510f48fb080ef6a7410186cd3cb58ac7afdb6 /t/02
parent3cdbd3b4f09e64d737cbc4fb6d64a4e48d6d2db4 (diff)
downloadpod-weaver-section-template-b7b7c17b7a7a2eab5b82011cd49ce4223470deba.tar.gz
pod-weaver-section-template-b7b7c17b7a7a2eab5b82011cd49ce4223470deba.zip
add test for dzil integration0.01
Diffstat (limited to 't/02')
-rw-r--r--t/02/bugs.section5
-rw-r--r--t/02/dist.ini8
-rw-r--r--t/02/lib/Foo/Bar.pm7
-rw-r--r--t/02/lib/Foo/Baz.pm6
-rw-r--r--t/02/support.section25
-rw-r--r--t/02/weaver.ini8
6 files changed, 59 insertions, 0 deletions
diff --git a/t/02/bugs.section b/t/02/bugs.section
new file mode 100644
index 0000000..c633fe4
--- /dev/null
+++ b/t/02/bugs.section
@@ -0,0 +1,5 @@
+No known bugs.
+
+Please report any bugs through RT: email
+C<bug-{{ lc($name) }} at rt.cpan.org>, or browse to
+L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue={{ $name }}>.
diff --git a/t/02/dist.ini b/t/02/dist.ini
new file mode 100644
index 0000000..7f68ce8
--- /dev/null
+++ b/t/02/dist.ini
@@ -0,0 +1,8 @@
+name = Foo-Bar
+version = 0.01
+author = Jesse Luehrs <doy at tozt dot net>
+license = Perl_5
+copyright_holder = Jesse Luehrs
+
+[GatherDir]
+[PodWeaver]
diff --git a/t/02/lib/Foo/Bar.pm b/t/02/lib/Foo/Bar.pm
new file mode 100644
index 0000000..ae80734
--- /dev/null
+++ b/t/02/lib/Foo/Bar.pm
@@ -0,0 +1,7 @@
+package Foo::Bar;
+# ABSTRACT: turns trinkets into baubles
+
+sub bar {
+}
+
+1;
diff --git a/t/02/lib/Foo/Baz.pm b/t/02/lib/Foo/Baz.pm
new file mode 100644
index 0000000..2e01b8d
--- /dev/null
+++ b/t/02/lib/Foo/Baz.pm
@@ -0,0 +1,6 @@
+package Foo::Baz;
+
+sub baz {
+}
+
+1;
diff --git a/t/02/support.section b/t/02/support.section
new file mode 100644
index 0000000..1f4c42b
--- /dev/null
+++ b/t/02/support.section
@@ -0,0 +1,25 @@
+You can find this documentation for this module with the perldoc command.
+
+ perldoc {{ $main_module_name }}
+
+You can also look for information at:
+
+=over 4
+
+=item * AnnoCPAN: Annotated CPAN documentation
+
+L<http://annocpan.org/dist/{{ $name }}>
+
+=item * CPAN Ratings
+
+L<http://cpanratings.perl.org/d/{{ $name }}>
+
+=item * RT: CPAN's request tracker
+
+L<http://rt.cpan.org/NoAuth/Bugs.html?Dist={{ $name }}>
+
+=item * Search CPAN
+
+L<http://search.cpan.org/dist/{{ $name }}>
+
+=back
diff --git a/t/02/weaver.ini b/t/02/weaver.ini
new file mode 100644
index 0000000..bc813e5
--- /dev/null
+++ b/t/02/weaver.ini
@@ -0,0 +1,8 @@
+[@CorePrep]
+
+[Template / BUGS]
+template = ../../../t/02/bugs.section
+main_module_only = 1
+
+[Template / SUPPORT]
+template = ../../../t/02/support.section