[Test]
public void IgnoredFieldsNotValidated()
{
var args = new NameValueCollection { { "person.Email", string.Empty }};
object instance = binder.BindObject(typeof(Person), "person","person.Email",null, builder.BuildSourceNode(args));
Assert.IsNotNull(instance);
Assert.AreEqual(0, binder.ErrorList.Count);
}
Expected: 0
But was: 1
2012/1/26 Rémi BOURGAREL <bourgar...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/castle-project-devel/-/Oks1eu7Ehi8J.
> To post to this group, send email to castle-pro...@googlegroups.com.
> To unsubscribe from this group, send email to
> castle-project-d...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/castle-project-devel?hl=en.
--
Cheers,
hammett
http://hammett.castleproject.org/
2012/2/6 Rémi BOURGAREL <bourgar...@gmail.com>:
> https://github.com/RemiBou/Core/commit/441a9c2c375be153b0db2cb7b029b1955b236310
>
> is it better ?
>
> rémi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/castle-project-devel/-/ncpFtptCk10J.