/[webpac2]/trunk/t/6-unit.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

Diff of /trunk/t/6-unit.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1099 by dpavlin, Mon Sep 3 15:26:46 2007 UTC revision 1100 by dpavlin, Sat Aug 2 23:46:41 2008 UTC
# Line 39  my $lookup_file = "$abs_path../conf/look Line 39  my $lookup_file = "$abs_path../conf/look
39    
40  ok(my $isis = new WebPAC::Input(  ok(my $isis = new WebPAC::Input(
41          module => 'WebPAC::Input::ISIS',          module => 'WebPAC::Input::ISIS',
         code_page => 'ISO-8859-2',      # application encoding  
42          limit => 100,          limit => 100,
43          no_progress_bar => 1,          no_progress_bar => 1,
44  ), "new Input::ISIS");  ), "new Input::ISIS");
45    
46  ok(my $maxmfn = $isis->open(  ok(my $maxmfn = $isis->open(
47          path => $isis_file,          path => $isis_file,
48          code_page => 'cp852',           # database encoding          input_encoding => 'cp852',              # database encoding
49          lookup_coderef => sub {          lookup_coderef => sub {
50                  my $rec = shift || return;                  my $rec = shift || return;
51                  ok($rec, 'lookup_coderef has rec');                  ok($rec, 'lookup_coderef has rec');

Legend:
Removed from v.1099  
changed lines
  Added in v.1100

  ViewVC Help
Powered by ViewVC 1.1.26