summary refs log tree commit diff
path: root/xt/tests/Test/AnyEvent/Riak.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-10 14:22:43 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-10 14:22:43 +0100
commitec1e256bf94d16108f673c17e5e28c24fe225dc4 (patch)
tree5002756788385827d5a50cdf2b9ed23259b9f75d /xt/tests/Test/AnyEvent/Riak.pm
downloadanyevent-riak-ec1e256bf94d16108f673c17e5e28c24fe225dc4.tar.gz
initial commit
Diffstat (limited to 'xt/tests/Test/AnyEvent/Riak.pm')
-rw-r--r--xt/tests/Test/AnyEvent/Riak.pm25
1 files changed, 25 insertions, 0 deletions
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;