From ec1e256bf94d16108f673c17e5e28c24fe225dc4 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 10 Dec 2009 14:22:43 +0100 Subject: initial commit --- xt/tests/Test/AnyEvent/Riak.pm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 xt/tests/Test/AnyEvent/Riak.pm (limited to 'xt/tests/Test') diff --git a/xt/tests/Test/AnyEvent/Riak.pm b/xt/tests/Test/AnyEvent/Riak.pm new file mode 100644 index 0000000..3e621fc --- /dev/null +++ b/xt/tests/Test/AnyEvent/Riak.pm @@ -0,0 +1,25 @@ +package Test::AnyEvent::Riak; + +use strict; +use warnings; +use base 'Test::Class'; +use Test::Exception; +use Test::More; + +sub class { 'AnyEvent::Riak' } + +sub startup : Tests(startup => 1) { + my $test = shift; + use_ok $test->class, "use ok"; +} + +sub shutdown : Tests(shutdown) { + my $test = shift; +} + +sub constructor : Tests(1) { + my $test = shift; + can_ok $test->class, 'new'; +} + +1; -- cgit v1.2.3