public void ValueMember_Can_Get() { prepare(false, false, false, false); Assert.AreEqual("Case", _Case.Get(_c)); Assert.AreEqual("CaSe", _CaSe.Get(_c)); Assert.AreEqual("Name", _Name.Get(_c)); Assert.AreEqual("name", _name.Get(_c)); Assert.AreEqual("IName", _IName.Get(_c)); Assert.AreEqual("iname", _iname.Get(_c)); Assert.True(_iname.CanBeRetrieved); Assert.False(_Wo.CanBeRetrieved); Assert.True(_Ro.CanBeRetrieved); Assert.AreEqual("Ro", _Ro.Get(_c)); Assert.AreEqual("error", _Er.Get(_c)); }
public void SetValue_IgnoreCase_NonPublic() { prepare(false, false, false, false); _h.SetValue(_c, "INAME", "iname2", true, false, false, true, true); Assert.AreEqual("iname2", _IName.Get(_c)); }