Permalink
Browse files

add test.

  • Loading branch information...
1 parent 3e5cb43 commit b78c986728c9eaea742ae1a6a62da8072ac27b52 @dragon3 committed May 15, 2009
Showing with 16 additions and 1 deletion.
  1. +5 −0 .gitignore
  2. +1 −0 MANIFEST
  3. +0 −1 TODO
  4. +10 −0 t/01_new.t
View
5 .gitignore
@@ -0,0 +1,5 @@
+META.yml
+Makefile
+inc/
+pm_to_blib
+*~
View
1 MANIFEST
@@ -22,3 +22,4 @@ MANIFEST This list of files
META.yml
README
t/00_compile.t
+TODO
View
1 TODO
@@ -1 +0,0 @@
-add more more test.
View
10 t/01_new.t
@@ -0,0 +1,10 @@
+use strict;
+use Test::More tests => 2;
+
+BEGIN { use_ok 'Cache::Ehcache' }
+
+my $cache = Cache::Ehcache->new(
+ server => 'http://hogehoge:9090/ehcache/rest',
+ namespace => 'hogehoge',
+);
+is( $cache->server, 'http://hogehoge:9090/ehcache/rest/' );

0 comments on commit b78c986

Please sign in to comment.