Debian Codegraph @

t/getquery.t

raw symbols SCIP
1 use Test::More tests => 3;
2
3 # Include the test hierarchy
4 use lib 't/lib';
5
6 # Can we even use this module?
7 use_ok('TestApp7');
8
9 # Prevent output to STDOUT
10 $ENV{CGI_APP_RETURN_ONLY} = 1;
11
12 # Test basic cgiapp_get_query()
13 {
14 my $ta_obj = TestApp7->new();
15 my $output = $ta_obj->run();
16
17 # Did the run mode work?
18 like($output, qr/^Content\-Type\:\ text\/html/);
19 like($output, qr/Hello\ World\:\ testcgi\_mode\ OK/);
20 }
21
22
23 ###############
24 #### EOF ####
25 ###############