summaryrefslogtreecommitdiff
path: root/xt/tests
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-11 17:24:54 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-11 17:24:54 +0100
commit0053c2aec257a12a3a0b5c903eccdd7a91b7df9c (patch)
treecac3fa5e240ac0069fae2739bc1b3104cd08ca5d /xt/tests
downloadkiokudb-backend-riak-0053c2aec257a12a3a0b5c903eccdd7a91b7df9c.tar.gz
initial commit
Diffstat (limited to '')
-rw-r--r--xt/tests/Test/KiokuDB/Backend/Riak.pm25
1 files changed, 25 insertions, 0 deletions
diff --git a/xt/tests/Test/KiokuDB/Backend/Riak.pm b/xt/tests/Test/KiokuDB/Backend/Riak.pm
new file mode 100644
index 0000000..0786a3e
--- /dev/null
+++ b/xt/tests/Test/KiokuDB/Backend/Riak.pm
@@ -0,0 +1,25 @@
+package Test::KiokuDB::Backend::Riak;
+
+use strict;
+use warnings;
+use base 'Test::Class';
+use Test::Exception;
+use Test::More;
+
+sub class { 'KiokuDB::Backend::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;