Changeset 2172 for libswish3/trunk/bindings/perl/t/11get_set_parser.t
- Timestamp:
- 09/22/08 00:19:34 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libswish3/trunk/bindings/perl/t/11get_set_parser.t
r2030 r2172 17 17 ok( my $s3 = SWISH::3->new( handler => sub { } ), "new parser" ); 18 18 19 ok( my $conf1 = $s3->get_config,"get initial config" );19 ok( my $conf1 = $s3->get_config, "get initial config" ); 20 20 ok( my $config = SWISH::3::Config->new, "new config" ); 21 21 ok( !$s3->set_config($config), "set config" ); … … 24 24 ); 25 25 ok( my $conf2 = $s3->get_config, "get conf2" ); 26 diag("config = $config"); 27 diag("conf1 = $conf1"); 28 diag("conf2 = $conf2"); 26 27 #diag("config = $config"); 28 #diag("conf1 = $conf1"); 29 #diag("conf2 = $conf2"); 29 30 30 31 ok( my $ana1 = $s3->get_analyzer, "get initial analyzer" ); … … 36 37 ok( my $ana2 = $s3->get_analyzer, "get ana2" ); 37 38 38 # avoid spurious libswish3 mem error due to "random" order of Perl39 # SV cleanup40 #undef $analyzer;41 #undef $ana2;42 #undef $ana1;43 #undef $conf2;44 #undef $conf1;45 #undef $config;46 undef $s3;47
