test_compile.pl untested

filter: Statementstmt 0.0% 0 / 19 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3 use WWW::Crawl::Chromium;
4
5 eval {
6 my $crawler_default = WWW::Crawl::Chromium->new();
7 print "Default instantiation: OK\n";
8 };
9 if ($@) {
10 print "Default instantiation: FAILED - $@\n";
11 }
12
13 eval {
14 my $crawler_proxy = WWW::Crawl::Chromium->new(
15 proxy => 'http://example.com:8080'
16 );
17 print "Proxy instantiation: OK\n";
18 };
19 if ($@) {
20 print "Proxy instantiation: FAILED - $@\n";
21 }