lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-88) NUnit test for TestQueryParser -2
Date Thu, 23 Aug 2007 08:36:30 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522062
] 

Digy commented on LUCENENET-88:
-------------------------------

Hi George
In the final version of TestQueryParser.cs
the patch
"-using ParseException = Lucene.Net.Analysis.Standard.ParseException;
+using ParseException = Lucene.Net.QueryParsers.ParseException;"
is not applied.

This patch eliminates 4 failing test case in TestQueryParsed. ("TestBooleanQuery","TestEscaped","TestException"
 and "TestWildCard")

DIGY



> NUnit test for TestQueryParser -2
> ---------------------------------
>
>                 Key: LUCENENET-88
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-88
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Assignee: George Aroush
>            Priority: Minor
>         Attachments: TestQueryParser.patch
>
>
> For TestQueryParser.TestDateRange and TestQueryParser.TestLegacyDateRange.
> 1-
> temp.ToString("MM/d/yyy") 
> statement is buggy. Some countries use dd/MM/yyyy format. So change it to 
> temp.ToShortDateString();
> 2-The ParseException to catch should be of type 
>    Lucene.Net.QueryParsers.ParseException 
> not
> Lucene.Net.Analysis.Standard.ParseException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message