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=26413>.
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=26413

Indexed Field Date Validation Allows Invalid Dates





------- Additional Comments From [EMAIL PROTECTED]  2004-02-13 12:01 -------
I know you are right and I did have a quick look at doing that hoping to copy 
an existing struts validator test - but unfortunately there arn't any and I 
haven't used junit before.

I am snowed under with my current project at the moment, but will try have a go 
at a test in the next couple of weeks, but its not a promise.

I did set up my own small test harness and I tested each of the FieldChecks 
methods I changed with a valid value, an invalid value a blank value and a null 
value.

I also run tests for the Date and Integer validations in my current struts 
project verifying that indexed fields failed with a nightly build, but passed 
when I switched in the patched version of FieldChecks.

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to