~ubuntu-branches/ubuntu/precise/libcgi-formbuilder-perl/precise

« back to all changes in this revision

Viewing changes to t/1d-messages.t

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard
  • Date: 2011-09-11 02:55:17 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110911025517-nhr6j6fwwc9xc4l1
Tags: 3.06-1
* New upstream release.
* Use CDBS perl-makemaker.mk (not deprecated perlmodule.mk).
  Tighten build-dependency on CDBS.
* Update copyright file:
  + Fix use Comment field (not License-Comments).
  + Quote license names in comments.
* Add patch cherry-picked upstream to fix testsuite.
* Update package relations:
  + Build-depend on and suggest libcgi-ssi-perl.
  + Make suggestions unversioned and drop conflicts: satisfied even in
    oldstable.
  + Maintain all relations using CDBS in rules file.
* Stop preserving cruft no long shipped upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/perl
2
2
 
3
 
# Copyright (c) 2000-2006 Nathan Wiger <nate@wiger.org>.
 
3
# Copyright (c) Nate Wiger http://nateware.com.
4
4
# All Rights Reserved. If you're reading this, you're bored.
5
5
# 1d-messages.t - messages and localization
6
6
 
9
9
our $TESTING = 1;
10
10
our $DEBUG = $ENV{DEBUG} || 0;
11
11
our $VERSION;
12
 
BEGIN { $VERSION = '3.0501'; }
 
12
BEGIN { $VERSION = '3.06'; }
13
13
 
14
14
use Test;
15
15
use FindBin;
72
72
$ENV{REQUEST_METHOD} = 'GET';
73
73
$ENV{QUERY_STRING}   = 'ticket=111&user=pete&replacement=TRUE&action=Unsubscribe&name=Pete+Peteson&email=pete%40peteson.com&extra=junk&_submitted=1&blank=&two=&two=';
74
74
 
75
 
use CGI::FormBuilder 3.0501;
 
75
use CGI::FormBuilder 3.06;
76
76
 
77
77
# Now manually try a whole bunch of things
78
78
my $hash = CGI::FormBuilder->new(