/[SWISH-PlusPlus]/trunk/t/swish.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/t/swish.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Fri Dec 3 13:40:34 2004 UTC (19 years, 4 months ago) by dpavlin
File MIME type: application/x-troff
File size: 327 byte(s)
new test (single one will do, I hope)

1 #!/usr/bin/perl -w
2
3 use strict;
4
5 use Test::More tests => 4;
6 use Test::Exception;
7 use blib;
8
9 BEGIN {
10 use_ok('SWISH::PlusPlus')
11 };
12
13 my $i;
14
15 throws_ok { SWISH::PlusPlus->new() } qr/index/, "need index";
16
17 ## FIXME
18 my $index = '/tmp/swish-pp';
19
20 ok($i = new SWISH::PlusPlus( index=> $index ), "new");
21
22 ok(-e $index, "index exist");

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26