public void CheckIsInGroupTest() { QuickFix.DataDictionary.DataDictionary dd = new QuickFix.DataDictionary.DataDictionary("../../../spec/fix/FIX44.xml"); QuickFix.DataDictionary.DDGrp g = dd.Messages["B"].GetGroup(33); QuickFix.Fields.Text textField = new QuickFix.Fields.Text("woot"); QuickFix.Fields.ClOrdID clOrdIdField = new QuickFix.Fields.ClOrdID("not woot"); Assert.DoesNotThrow(delegate() { dd.CheckIsInGroup(textField, g, "B"); }); Assert.Throws(typeof(TagNotDefinedForMessage), delegate { dd.CheckIsInGroup(clOrdIdField, g, "B"); }); }
public void Set(QuickFix.Fields.Text val) { this.Text = val; }