lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-88) NUnit test for TestQueryParser -2
Date Wed, 22 Aug 2007 19:54:30 GMT
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
            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