Skip to content

Commit

Permalink
add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon3 committed May 15, 2009
1 parent 3e5cb43 commit b78c986
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
META.yml
Makefile
inc/
pm_to_blib
*~
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -22,3 +22,4 @@ MANIFEST This list of files
META.yml META.yml
README README
t/00_compile.t t/00_compile.t
TODO
1 change: 0 additions & 1 deletion TODO

This file was deleted.

10 changes: 10 additions & 0 deletions 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.