Skip Menu |

This queue is for tickets about the Search-Query CPAN distribution.

Report information
The Basics
Id: 94915
Status: resolved
Priority: 0/
Queue: Search-Query

People
Owner: karman [...] cpan.org
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.300
Fixed in: (no value)



Subject: Search::Query::Dialect::DBIxClass fails its tests
With version 0.300 Search::Query::Dialect::DBIxClass fails some tests: t/02_search.t .. ok 1 - installed the core fixtures from configuration files ok 2 - Search::Query::Parser constructed ok ok 3 - one term, default fields, included ok 4 - one term, one field, included ok 5 - one term, one field, exact match ok 6 - one term, default fields, excluded ok 7 - two terms, default fields, included ok 8 - two terms, one field, included ok 9 - two terms, one field, excluded ok 10 - two terms, two fields, exact & included ok 11 - one term, one field, larger ok 12 - one term, one field, smaller ok 13 - one term, one field, larger and equal ok 14 - one term, one field, smaller and equal ok 15 - one term, one field, list of values not ok 16 - one term, one field, not in list of values: Compared array length of $data->[0] # got : array with 2 element(s) # expect : array with 0 element(s) # # Failed test 'one term, one field, not in list of values: Compared array length of $data->[0] # got : array with 2 element(s) # expect : array with 0 element(s) # ' # at /home/ahartmai/perl5/perlbrew/perls/18/lib/site_perl/5.18.2/Test/DBIx/Class.pm line 30. not ok 17 - one term, one field, negated not in list of values: Compared array length of $data->[0] # got : array with 3 element(s) # expect : array with 5 element(s) # 1..17 # Failed test 'one term, one field, negated not in list of values: Compared array length of $data->[0] # got : array with 3 element(s) # expect : array with 5 element(s) # ' # at /home/ahartmai/perl5/perlbrew/perls/18/lib/site_perl/5.18.2/Test/DBIx/Class.pm line 30. # Looks like you failed 2 tests of 17. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/17 subtests Test Summary Report ------------------- t/02_search.t (Wstat: 512 Tests: 17 Failed: 2) Failed tests: 16-17 Non-zero exit status: 2 Files=1, Tests=17, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.74 cusr 0.04 csys = 0.81 CPU) Result: FAIL Please check why they aren't parsed like with version 0.25 or if the problem lies in S::Q::Dialect::DBIxClass or its test suite. Thanks!
Am Mo 21. Apr 2014, 14:01:56, KARMAN schrieb: Show quoted text
Thank you very much for the patch! I've released Search::Query::Dialect::DBIxClass 0.005 with Search::Query 0.300 compatibility.