Hy ! I read about nhibernate validator. I donwload the source code of the proyect and som examples from the same page. I modify the code in the integration example, and i try to use it for my entities. In particular, i configure one whit an email field. The proyect work as expected, and the field whith email is validate ok.
BUT, i use the same code in other proyect, same entitie, same configurations files, all the same, and I try to use the code that validate the email inside a test unit. For my surprise, this time the code not work. All compile ok, but no validation occur. The rules are broken and the validator say nothing. The test pass always and the validation dont work. Even the funtion Validate return true whit bogus data. I can not use the validator inside a unit test?? Thanks in advance, Danyel. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
