1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/perl -w
use strict;
use Gnome2;
use constant TESTS => 3;
use Test::More tests => TESTS;
# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gnome2/t/GnomePixmapEntry.t,v 1.4 2003/12/15 00:17:24 kaffeetisch Exp $
###############################################################################
SKIP: {
our $application;
do "t/TestBoilerplate";
#############################################################################
my $entry = Gnome2::PixmapEntry -> new("schmih", "Schmah", 1);
isa_ok($entry, "Gnome2::PixmapEntry");
isa_ok($entry -> scrolled_window(), "Gtk2::ScrolledWindow");
isa_ok($entry -> preview_widget(), "Gtk2::Widget");
$entry -> set_pixmap_subdir("nautilus");
$entry -> set_preview(1);
$entry -> set_preview_size(23, 42);
$entry -> get_filename();
}
|