Update of /cvsroot/fink/fink/t/SelfUpdate
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv14024

Added Files:
      Tag: selfupdate_classes
        ChangeLog subclasses.t 
Log Message:
Check interfaces of new class set


--- NEW FILE: subclasses.t ---
#!/usr/bin/perl -w

use strict;
use warnings;
use Test::More tests => 13;

my $baseclass = 'Fink::SelfUpdate::Base';
require_ok($baseclass);  # test #1

# check that each can be loaded and has all expected methods (4x3 tests)
foreach my $subclass (qw/ CVS point rsync tarball /) {
    my $class = "Fink::SelfUpdate::$subclass";

    require_ok($class);

    isa_ok( bless({}, $class), $baseclass );

    can_ok($class, qw/ clear_metadata stamp_set stamp_clear stamp_check /);
}

--- NEW FILE: ChangeLog ---
2007-03-06  Daniel Macks  <[EMAIL PROTECTED]>

        * subclasses.t: Make sure all SU::* are proper subclasses with
        full public interface


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to