Mechanize/Browser/Gtk2MozEmbed.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
INIT_INSTANCE
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Mozilla::Mechanize::Browser::Gtk2MozEmbed;
2  
3 use strict;
4 use warnings;
5  
6 use Gtk2;
7 use Gtk2::MozEmbed;
8  
9 use Glib::Object::Subclass Gtk2::Window::;
10  
11 sub INIT_INSTANCE {
12 my $self = shift;
13  
14 $self->set_title('Mozilla::Mechanize');
15 Gtk2::MozEmbed->set_profile_path("$ENV{HOME}/.mozilla-mechanize", 'Mozilla::Mechanize');
16  
17 my $embed = Gtk2::MozEmbed->new();
18 $self->add($embed);
19 $self->{embed} = $embed;
20 }
21  
22  
23 1;
24  
25 __END__