Passwd-Keyring-Secret
view release on metacpan or search on metacpan
t/01-set-get-reset.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 9;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/02-is-persistent.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 4;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/03-many-sets-and-gets.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 12;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/04-recover-in-another-program.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 14;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/05-recover-with-app-and-group-changes.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 9;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/06-very-long-parameters.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 5;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/07-ugly-characters.t view on Meta::CPAN
use Test::More;
BEGIN
{
if ($ENV{DBUS_SESSION_BUS_ADDRESS})
{
plan tests => 5;
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
t/08-auto-chooser.t view on Meta::CPAN
{
plan skip_all => "Passwd::Keyring::Auto required";
}
else
{
plan tests => 3;
}
}
else
{
plan skip_all => "Session D-Bus not available (not running a desktop session?), skipping tests";
}
ok(eval { require Passwd::Keyring::Secret; 1 }, "load Passwd::Keyring::Secret");
if ($@)
{
diag($@);
BAIL_OUT("OS unsupported");
}
}
( run in 0.475 second using v1.01-cache-2.11-cpan-299005ec8e3 )