You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/03/02 14:54:41 UTC

DO NOT REPLY [Bug 26939] - [PATCH] SmartDateFormat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26939>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26939

[PATCH] SmartDateFormat

otis@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From otis@apache.org  2004-03-02 13:54 -------
A simple test case would be nice.
Also, it looks like the existing unit tests for QueryParser fail after this
QueryParser patch is applied:

    [junit] Testcase:
testDateRange(org.apache.lucene.queryParser.TestQueryParser):     FAILED
    [junit] Query /[ 2/1/02 TO 2/4/02]/ yielded /[2/1/02 TO 2/4/02]/, expecting
/[0cx572ow0 TO 0cx9he8w0]/
    [junit] junit.framework.AssertionFailedError: Query /[ 2/1/02 TO 2/4/02]/
yielded /[2/1/02 TO 2/4/02]/, expecting /[0cx572ow0 TO 0cx9he8w0]/
    [junit]     at
org.apache.lucene.queryParser.TestQueryParser.assertQueryEquals(TestQueryParser.java:162)
    [junit]     at
org.apache.lucene.queryParser.TestQueryParser.testDateRange(TestQueryParser.java:350)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                                                               
                                             
                                                                               
                                             
    [junit] TEST org.apache.lucene.queryParser.TestQueryParser FAILED

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org