1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#!/usr/bin/perl -w
use strict;
use Gnome2;
use constant TESTS => 4;
use Test::More tests => TESTS;
# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gnome2/t/GnomeUtil.t,v 1.2 2006/12/30 15:11:06 kaffeetisch Exp $
###############################################################################
is(Gnome2::Util -> extension("blub.abw"), "abw");
like(Gnome2::Util -> prepend_user_home("blub.abw"), qr/blub.abw/);
like(Gnome2::Util -> home_file("blub.abw"), qr/blub.abw/);
ok(-e Gnome2::Util -> user_shell());
|