public void ImportCustomValue_Etch_RuntimeException() { StructValue sv = new StructValue(vf.GetType("_Etch_RuntimeException"), vf); _Etch_RuntimeException e = (_Etch_RuntimeException)vf.ImportCustomValue(sv); Assert.IsNotNull(e); Assert.IsNull(e.msg); }
public void ImportCustomValue_Etch_RuntimeException_msg() { StructValue sv = new StructValue(vf.GetType("_Etch_RuntimeException"), vf); sv[DefaultValueFactory._mf_msg] = "foo"; _Etch_RuntimeException e = (_Etch_RuntimeException)vf.ImportCustomValue(sv); Assert.IsNotNull(e); Assert.AreEqual("foo", e.msg); }