diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-06-27 00:01:08 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-06-27 00:01:08 +0200 |
commit | b45b0092699f801bae7d59e1806d052bc03fcd7e (patch) | |
tree | 7a0e5802d95dcdfbf1d5060c0068924884cd5d54 /t | |
parent | 5fa88cfef5cd638f897c1b73cc1f41ca602089b2 (diff) | |
download | colin-keep-b45b0092699f801bae7d59e1806d052bc03fcd7e.tar colin-keep-b45b0092699f801bae7d59e1806d052bc03fcd7e.tar.gz colin-keep-b45b0092699f801bae7d59e1806d052bc03fcd7e.tar.bz2 colin-keep-b45b0092699f801bae7d59e1806d052bc03fcd7e.tar.xz colin-keep-b45b0092699f801bae7d59e1806d052bc03fcd7e.zip |
Rpmdragora extension of urpmi_backend::DB
Diffstat (limited to 't')
-rw-r--r-- | t/06-rpmdragora.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/06-rpmdragora.t b/t/06-rpmdragora.t index 49ff7c5..ddaf26a 100644 --- a/t/06-rpmdragora.t +++ b/t/06-rpmdragora.t @@ -5,8 +5,13 @@ use Test::More; BEGIN { use_ok( 'ManaTools::rpmdragora' ) || print "ManaTools::rpmdragora failed!\n"; + use_ok( 'ManaTools::Rpmdragora::DB' ) || print "ManaTools::Rpmdragora::DB failed!\n"; } +ok ( my $obj = ManaTools::Rpmdragora::DB->new(), 'db_new'); +is ( ref($obj->open_rpm_db()), 'URPM::DB', 'open_rpm_db'); +is ( ref($obj->fast_open_urpmi_db()), 'urpm', 'fast_open_urpmi_db'); +is ( ref($obj->open_urpmi_db()), 'urpm', 'open_urpmi_db'); SKIP: { #remember to skip the righ number of tests |