The above test fails if the user customizes the date format setting of the en-us culture. In my case, altough i'm using en-us, my date format is "dd/MM/yyyy" and in that case the test fails. To fix the test, the following line should be changed in AssertHits() :
qp.SetLocale(new System.Globalization.CultureInfo("en-US"));
to:
qp.SetLocale(new System.Globalization.CultureInfo("en-US",false));
(passing false means don't use user overrides)
Regards,
Eyal Post
