internal static void twowaysAMI(Ice.Communicator communicator, Test.MyClassPrx p) { { Dictionary <int, int> i = new Dictionary <int, int>(); i[0] = 1; i[1] = 0; AMI_MyClass_opNVI cb = new AMI_MyClass_opNVI(i); p.opNV_async(cb, i); cb.check(); } { Dictionary <string, string> i = new Dictionary <string, string>(); i["a"] = "b"; i["b"] = "a"; AMI_MyClass_opNRI cb = new AMI_MyClass_opNRI(i); p.opNR_async(cb, i); cb.check(); } { Dictionary <string, Dictionary <int, int> > i = new Dictionary <string, Dictionary <int, int> >(); Dictionary <int, int> id = new Dictionary <int, int>(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; AMI_MyClass_opNDVI cb = new AMI_MyClass_opNDVI(i); p.opNDV_async(cb, i); cb.check(); } { Dictionary <string, Dictionary <string, string> > i = new Dictionary <string, Dictionary <string, string> >(); Dictionary <string, string> id = new Dictionary <string, string>(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; AMI_MyClass_opNDRI cb = new AMI_MyClass_opNDRI(i); p.opNDR_async(cb, i); cb.check(); } { OV i = new OV(); i[0] = 1; i[1] = 0; AMI_MyClass_opOVI cb = new AMI_MyClass_opOVI(i); p.opOV_async(cb, i); cb.check(); } { OR i = new OR(); i["a"] = "b"; i["b"] = "a"; AMI_MyClass_opORI cb = new AMI_MyClass_opORI(i); p.opOR_async(cb, i); cb.check(); } { ODV i = new ODV(); OV id = new OV(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; AMI_MyClass_opODVI cb = new AMI_MyClass_opODVI(i); p.opODV_async(cb, i); cb.check(); } { ODR i = new ODR(); OR id = new OR(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; AMI_MyClass_opODRI cb = new AMI_MyClass_opODRI(i); p.opODR_async(cb, i); cb.check(); } { Dictionary <string, ODV> i = new Dictionary <string, ODV>(); OV iid = new OV(); iid[0] = 1; iid[1] = 0; ODV id = new ODV(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opNODVI cb = new AMI_MyClass_opNODVI(i); p.opNODV_async(cb, i); cb.check(); } { Dictionary <string, ODR> i = new Dictionary <string, ODR>(); OR iid = new OR(); iid["a"] = "b"; iid["b"] = "a"; ODR id = new ODR(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opNODRI cb = new AMI_MyClass_opNODRI(i); p.opNODR_async(cb, i); cb.check(); } { ONDV i = new ONDV(); Dictionary <int, int> iid = new Dictionary <int, int>(); iid[0] = 1; iid[1] = 0; Dictionary <string, Dictionary <int, int> > id = new Dictionary <string, Dictionary <int, int> >(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opONDVI cb = new AMI_MyClass_opONDVI(i); p.opONDV_async(cb, i); cb.check(); } { ONDR i = new ONDR(); Dictionary <string, string> iid = new Dictionary <string, string>(); iid["a"] = "b"; iid["b"] = "a"; Dictionary <string, Dictionary <string, string> > id = new Dictionary <string, Dictionary <string, string> >(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opONDRI cb = new AMI_MyClass_opONDRI(i); p.opONDR_async(cb, i); cb.check(); } { int[] ii = new int[] { 1, 2 }; Dictionary <string, int[]> i = new Dictionary <string, int[]>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDAISI cb = new AMI_MyClass_opNDAISI(i); p.opNDAIS_async(cb, i); cb.check(); } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); Dictionary <string, CIS> i = new Dictionary <string, CIS>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDCISI cb = new AMI_MyClass_opNDCISI(i); p.opNDCIS_async(cb, i); cb.check(); } { List <int> ii = new List <int>(); ii.Add(1); ii.Add(2); Dictionary <string, List <int> > i = new Dictionary <string, List <int> >(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDGISI cb = new AMI_MyClass_opNDGISI(i); p.opNDGIS_async(cb, i); cb.check(); } { string[] ii = new string[] { "a", "b" }; Dictionary <string, string[]> i = new Dictionary <string, string[]>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDASSI cb = new AMI_MyClass_opNDASSI(i); p.opNDASS_async(cb, i); cb.check(); } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); Dictionary <string, CSS> i = new Dictionary <string, CSS>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDCSSI cb = new AMI_MyClass_opNDCSSI(i); p.opNDCSS_async(cb, i); cb.check(); } { List <string> ii = new List <string>(); ii.Add("a"); ii.Add("b"); Dictionary <string, List <string> > i = new Dictionary <string, List <string> >(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDGSSI cb = new AMI_MyClass_opNDGSSI(i); p.opNDGSS_async(cb, i); cb.check(); } { int[] ii = new int[] { 1, 2 }; ODAIS i = new ODAIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODAISI cb = new AMI_MyClass_opODAISI(i); p.opODAIS_async(cb, i); cb.check(); } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); ODCIS i = new ODCIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODCISI cb = new AMI_MyClass_opODCISI(i); p.opODCIS_async(cb, i); cb.check(); } { List <int> ii = new List <int>(); ii.Add(1); ii.Add(2); ODGIS i = new ODGIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODGISI cb = new AMI_MyClass_opODGISI(i); p.opODGIS_async(cb, i); cb.check(); } { string[] ii = new string[] { "a", "b" }; ODASS i = new ODASS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODASSI cb = new AMI_MyClass_opODASSI(i); p.opODASS_async(cb, i); cb.check(); } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); ODCSS i = new ODCSS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODCSSI cb = new AMI_MyClass_opODCSSI(i); p.opODCSS_async(cb, i); cb.check(); } { List <string> ii = new List <string>(); ii.Add("a"); ii.Add("b"); ODGSS i = new ODGSS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODGSSI cb = new AMI_MyClass_opODGSSI(i); p.opODGSS_async(cb, i); cb.check(); } }
internal static void twoways(Ice.Communicator communicator, Test.MyClassPrx p) { { Dictionary<int, int> i = new Dictionary<int, int>(); i[0] = 1; i[1] = 0; Dictionary<int, int> o; Dictionary<int, int> r; r = p.opNV(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary<string, string> i = new Dictionary<string, string>(); i["a"] = "b"; i["b"] = "a"; Dictionary<string, string> o; Dictionary<string, string> r; r = p.opNR(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary<string, Dictionary<int, int>> i = new Dictionary<string, Dictionary<int, int>>(); Dictionary<int, int> id = new Dictionary<int, int>(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; Dictionary<string, Dictionary<int, int>> o; Dictionary<string, Dictionary<int, int>> r; r = p.opNDV(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { Dictionary<string, Dictionary<string, string>> i = new Dictionary<string, Dictionary<string, string>>(); Dictionary<string, string> id = new Dictionary<string, string>(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; Dictionary<string, Dictionary<string, string>> o; Dictionary<string, Dictionary<string, string>> r; r = p.opNDR(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { OV i = new OV(); i[0] = 1; i[1] = 0; OV o; OV r; r = p.opOV(i, out o); test(OV.Equals(i, o)); test(OV.Equals(i, r)); } { OR i = new OR(); i["a"] = "b"; i["b"] = "a"; OR o; OR r; r = p.opOR(i, out o); test(OR.Equals(i, o)); test(OR.Equals(i, r)); } { ODV i = new ODV(); OV id = new OV(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; ODV o; ODV r; r = p.opODV(i, out o); test(ODV.Equals(i, o)); test(ODV.Equals(i, r)); } { ODR i = new ODR(); OR id = new OR(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; ODR o; ODR r; r = p.opODR(i, out o); test(ODR.Equals(i, o)); test(ODR.Equals(i, r)); } { Dictionary<string, ODV> i = new Dictionary<string, ODV>(); OV iid = new OV(); iid[0] = 1; iid[1] = 0; ODV id = new ODV(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; Dictionary<string, ODV> o; Dictionary<string, ODV> r; r = p.opNODV(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary<string, ODR> i = new Dictionary<string, ODR>(); OR iid = new OR(); iid["a"] = "b"; iid["a"] = "b"; ODR id = new ODR(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; Dictionary<string, ODR> o; Dictionary<string, ODR> r; r = p.opNODR(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { ONDV i = new ONDV(); Dictionary<int, int> iid = new Dictionary<int, int>(); iid[0] = 1; iid[1] = 0; Dictionary<string, Dictionary<int, int>> id = new Dictionary<string, Dictionary<int, int>>(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; ONDV o; ONDV r; r = p.opONDV(i, out o); foreach(string key in i.Keys) { foreach(string s in i[key].Keys) { test(Ice.CollectionComparer.Equals(i[key][s], o[key][s])); test(Ice.CollectionComparer.Equals(i[key][s], r[key][s])); } } } { ONDR i = new ONDR(); Dictionary<string, string> iid = new Dictionary<string, string>(); iid["a"] = "b"; iid["b"] = "a"; Dictionary<string, Dictionary<string, string>> id = new Dictionary<string, Dictionary<string, string>>(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; ONDR o; ONDR r; r = p.opONDR(i, out o); foreach(string key in i.Keys) { foreach(string s in i[key].Keys) { test(Ice.CollectionComparer.Equals(i[key][s], o[key][s])); test(Ice.CollectionComparer.Equals(i[key][s], r[key][s])); } } } { int[] ii = new int[] { 1, 2 }; Dictionary<string, int[]> i = new Dictionary<string, int[]>(); i["a"] = ii; i["b"] = ii; Dictionary<string, int[]> o; Dictionary<string, int[]> r; r = p.opNDAIS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); Dictionary<string, CIS> i = new Dictionary<string, CIS>(); i["a"] = ii; i["b"] = ii; Dictionary<string, CIS> o; Dictionary<string, CIS> r; r = p.opNDCIS(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { List<int> ii = new List<int>(); ii.Add(1); ii.Add(2); Dictionary<string, List<int>> i = new Dictionary<string, List<int>>(); i["a"] = ii; i["b"] = ii; Dictionary<string, List<int>> o; Dictionary<string, List<int>> r; r = p.opNDGIS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { string[] ii = new string[] { "a", "b" }; Dictionary<string, string[]> i = new Dictionary<string, string[]>(); i["a"] = ii; i["b"] = ii; Dictionary<string, string[]> o; Dictionary<string, string[]> r; r = p.opNDASS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); Dictionary<string, CSS> i = new Dictionary<string, CSS>(); i["a"] = ii; i["b"] = ii; Dictionary<string, CSS> o; Dictionary<string, CSS> r; r = p.opNDCSS(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { List<string> ii = new List<string>(); ii.Add("a"); ii.Add("b"); Dictionary<string, List<string>> i = new Dictionary<string, List<string>>(); i["a"] = ii; i["b"] = ii; Dictionary<string, List<string>> o; Dictionary<string, List<string>> r; r = p.opNDGSS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { int[] ii = new int[] { 1, 2 }; ODAIS i = new ODAIS(); i["a"] = ii; i["b"] = ii; ODAIS o; ODAIS r; r = p.opODAIS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); ODCIS i = new ODCIS(); i["a"] = ii; i["b"] = ii; ODCIS o; ODCIS r; r = p.opODCIS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { List<int> ii = new List<int>(); ii.Add(1); ii.Add(2); ODGIS i = new ODGIS(); i["a"] = ii; i["b"] = ii; ODGIS o; ODGIS r; r = p.opODGIS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { string[] ii = new string[] { "a", "b" }; ODASS i = new ODASS(); i["a"] = ii; i["b"] = ii; ODASS o; ODASS r; r = p.opODASS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); ODCSS i = new ODCSS(); i["a"] = ii; i["b"] = ii; ODCSS o; ODCSS r; r = p.opODCSS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { List<string> ii = new List<string>(); ii.Add("a"); ii.Add("b"); ODGSS i = new ODGSS(); i["a"] = ii; i["b"] = ii; ODGSS o; ODGSS r; r = p.opODGSS(i, out o); foreach(string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } }
internal static void twowaysAMI(Ice.Communicator communicator, Test.MyClassPrx p) { { Dictionary<int, int> i = new Dictionary<int, int>(); i[0] = 1; i[1] = 0; AMI_MyClass_opNVI cb = new AMI_MyClass_opNVI(i); p.opNV_async(cb, i); cb.check(); } { Dictionary<string, string> i = new Dictionary<string, string>(); i["a"] = "b"; i["b"] = "a"; AMI_MyClass_opNRI cb = new AMI_MyClass_opNRI(i); p.opNR_async(cb, i); cb.check(); } { Dictionary<string, Dictionary<int, int>> i = new Dictionary<string, Dictionary<int, int>>(); Dictionary<int, int> id = new Dictionary<int, int>(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; AMI_MyClass_opNDVI cb = new AMI_MyClass_opNDVI(i); p.opNDV_async(cb, i); cb.check(); } { Dictionary<string, Dictionary<string, string>> i = new Dictionary<string, Dictionary<string, string>>(); Dictionary<string, string> id = new Dictionary<string, string>(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; AMI_MyClass_opNDRI cb = new AMI_MyClass_opNDRI(i); p.opNDR_async(cb, i); cb.check(); } { OV i = new OV(); i[0] = 1; i[1] = 0; AMI_MyClass_opOVI cb = new AMI_MyClass_opOVI(i); p.opOV_async(cb, i); cb.check(); } { OR i = new OR(); i["a"] = "b"; i["b"] = "a"; AMI_MyClass_opORI cb = new AMI_MyClass_opORI(i); p.opOR_async(cb, i); cb.check(); } { ODV i = new ODV(); OV id = new OV(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; AMI_MyClass_opODVI cb = new AMI_MyClass_opODVI(i); p.opODV_async(cb, i); cb.check(); } { ODR i = new ODR(); OR id = new OR(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; AMI_MyClass_opODRI cb = new AMI_MyClass_opODRI(i); p.opODR_async(cb, i); cb.check(); } { Dictionary<string, ODV> i = new Dictionary<string, ODV>(); OV iid = new OV(); iid[0] = 1; iid[1] = 0; ODV id = new ODV(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opNODVI cb = new AMI_MyClass_opNODVI(i); p.opNODV_async(cb, i); cb.check(); } { Dictionary<string, ODR> i = new Dictionary<string, ODR>(); OR iid = new OR(); iid["a"] = "b"; iid["b"] = "a"; ODR id = new ODR(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opNODRI cb = new AMI_MyClass_opNODRI(i); p.opNODR_async(cb, i); cb.check(); } { ONDV i = new ONDV(); Dictionary<int, int> iid = new Dictionary<int, int>(); iid[0] = 1; iid[1] = 0; Dictionary<string, Dictionary<int, int>> id = new Dictionary<string, Dictionary<int, int>>(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opONDVI cb = new AMI_MyClass_opONDVI(i); p.opONDV_async(cb, i); cb.check(); } { ONDR i = new ONDR(); Dictionary<string, string> iid = new Dictionary<string, string>(); iid["a"] = "b"; iid["b"] = "a"; Dictionary<string, Dictionary<string, string>> id = new Dictionary<string, Dictionary<string, string>>(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; AMI_MyClass_opONDRI cb = new AMI_MyClass_opONDRI(i); p.opONDR_async(cb, i); cb.check(); } { int[] ii = new int[] { 1, 2 }; Dictionary<string, int[]> i = new Dictionary<string, int[]>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDAISI cb = new AMI_MyClass_opNDAISI(i); p.opNDAIS_async(cb, i); cb.check(); } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); Dictionary<string, CIS> i = new Dictionary<string, CIS>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDCISI cb = new AMI_MyClass_opNDCISI(i); p.opNDCIS_async(cb, i); cb.check(); } { List<int> ii = new List<int>(); ii.Add(1); ii.Add(2); Dictionary<string, List<int>> i = new Dictionary<string, List<int>>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDGISI cb = new AMI_MyClass_opNDGISI(i); p.opNDGIS_async(cb, i); cb.check(); } { string[] ii = new string[] { "a", "b" }; Dictionary<string, string[]> i = new Dictionary<string, string[]>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDASSI cb = new AMI_MyClass_opNDASSI(i); p.opNDASS_async(cb, i); cb.check(); } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); Dictionary<string, CSS> i = new Dictionary<string, CSS>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDCSSI cb = new AMI_MyClass_opNDCSSI(i); p.opNDCSS_async(cb, i); cb.check(); } { List<string> ii = new List<string>(); ii.Add("a"); ii.Add("b"); Dictionary<string, List<string>> i = new Dictionary<string, List<string>>(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opNDGSSI cb = new AMI_MyClass_opNDGSSI(i); p.opNDGSS_async(cb, i); cb.check(); } { int[] ii = new int[] { 1, 2 }; ODAIS i = new ODAIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODAISI cb = new AMI_MyClass_opODAISI(i); p.opODAIS_async(cb, i); cb.check(); } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); ODCIS i = new ODCIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODCISI cb = new AMI_MyClass_opODCISI(i); p.opODCIS_async(cb, i); cb.check(); } { List<int> ii = new List<int>(); ii.Add(1); ii.Add(2); ODGIS i = new ODGIS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODGISI cb = new AMI_MyClass_opODGISI(i); p.opODGIS_async(cb, i); cb.check(); } { string[] ii = new string[] { "a", "b" }; ODASS i = new ODASS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODASSI cb = new AMI_MyClass_opODASSI(i); p.opODASS_async(cb, i); cb.check(); } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); ODCSS i = new ODCSS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODCSSI cb = new AMI_MyClass_opODCSSI(i); p.opODCSS_async(cb, i); cb.check(); } { List<string> ii = new List<string>(); ii.Add("a"); ii.Add("b"); ODGSS i = new ODGSS(); i["a"] = ii; i["b"] = ii; AMI_MyClass_opODGSSI cb = new AMI_MyClass_opODGSSI(i); p.opODGSS_async(cb, i); cb.check(); } }
internal static void twoways(Ice.Communicator communicator, Test.MyClassPrx p) { { Dictionary <int, int> i = new Dictionary <int, int>(); i[0] = 1; i[1] = 0; Dictionary <int, int> o; Dictionary <int, int> r; r = p.opNV(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary <string, string> i = new Dictionary <string, string>(); i["a"] = "b"; i["b"] = "a"; Dictionary <string, string> o; Dictionary <string, string> r; r = p.opNR(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary <string, Dictionary <int, int> > i = new Dictionary <string, Dictionary <int, int> >(); Dictionary <int, int> id = new Dictionary <int, int>(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; Dictionary <string, Dictionary <int, int> > o; Dictionary <string, Dictionary <int, int> > r; r = p.opNDV(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { Dictionary <string, Dictionary <string, string> > i = new Dictionary <string, Dictionary <string, string> >(); Dictionary <string, string> id = new Dictionary <string, string>(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; Dictionary <string, Dictionary <string, string> > o; Dictionary <string, Dictionary <string, string> > r; r = p.opNDR(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { OV i = new OV(); i[0] = 1; i[1] = 0; OV o; OV r; r = p.opOV(i, out o); test(OV.Equals(i, o)); test(OV.Equals(i, r)); } { OR i = new OR(); i["a"] = "b"; i["b"] = "a"; OR o; OR r; r = p.opOR(i, out o); test(OR.Equals(i, o)); test(OR.Equals(i, r)); } { ODV i = new ODV(); OV id = new OV(); id[0] = 1; id[1] = 0; i["a"] = id; i["b"] = id; ODV o; ODV r; r = p.opODV(i, out o); test(ODV.Equals(i, o)); test(ODV.Equals(i, r)); } { ODR i = new ODR(); OR id = new OR(); id["a"] = "b"; id["b"] = "a"; i["a"] = id; i["b"] = id; ODR o; ODR r; r = p.opODR(i, out o); test(ODR.Equals(i, o)); test(ODR.Equals(i, r)); } { Dictionary <string, ODV> i = new Dictionary <string, ODV>(); OV iid = new OV(); iid[0] = 1; iid[1] = 0; ODV id = new ODV(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; Dictionary <string, ODV> o; Dictionary <string, ODV> r; r = p.opNODV(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { Dictionary <string, ODR> i = new Dictionary <string, ODR>(); OR iid = new OR(); iid["a"] = "b"; iid["a"] = "b"; ODR id = new ODR(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; Dictionary <string, ODR> o; Dictionary <string, ODR> r; r = p.opNODR(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { ONDV i = new ONDV(); Dictionary <int, int> iid = new Dictionary <int, int>(); iid[0] = 1; iid[1] = 0; Dictionary <string, Dictionary <int, int> > id = new Dictionary <string, Dictionary <int, int> >(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; ONDV o; ONDV r; r = p.opONDV(i, out o); foreach (string key in i.Keys) { foreach (string s in i[key].Keys) { test(Ice.CollectionComparer.Equals(i[key][s], o[key][s])); test(Ice.CollectionComparer.Equals(i[key][s], r[key][s])); } } } { ONDR i = new ONDR(); Dictionary <string, string> iid = new Dictionary <string, string>(); iid["a"] = "b"; iid["b"] = "a"; Dictionary <string, Dictionary <string, string> > id = new Dictionary <string, Dictionary <string, string> >(); id["a"] = iid; id["b"] = iid; i["a"] = id; i["b"] = id; ONDR o; ONDR r; r = p.opONDR(i, out o); foreach (string key in i.Keys) { foreach (string s in i[key].Keys) { test(Ice.CollectionComparer.Equals(i[key][s], o[key][s])); test(Ice.CollectionComparer.Equals(i[key][s], r[key][s])); } } } { int[] ii = new int[] { 1, 2 }; Dictionary <string, int[]> i = new Dictionary <string, int[]>(); i["a"] = ii; i["b"] = ii; Dictionary <string, int[]> o; Dictionary <string, int[]> r; r = p.opNDAIS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); Dictionary <string, CIS> i = new Dictionary <string, CIS>(); i["a"] = ii; i["b"] = ii; Dictionary <string, CIS> o; Dictionary <string, CIS> r; r = p.opNDCIS(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { List <int> ii = new List <int>(); ii.Add(1); ii.Add(2); Dictionary <string, List <int> > i = new Dictionary <string, List <int> >(); i["a"] = ii; i["b"] = ii; Dictionary <string, List <int> > o; Dictionary <string, List <int> > r; r = p.opNDGIS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { string[] ii = new string[] { "a", "b" }; Dictionary <string, string[]> i = new Dictionary <string, string[]>(); i["a"] = ii; i["b"] = ii; Dictionary <string, string[]> o; Dictionary <string, string[]> r; r = p.opNDASS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); Dictionary <string, CSS> i = new Dictionary <string, CSS>(); i["a"] = ii; i["b"] = ii; Dictionary <string, CSS> o; Dictionary <string, CSS> r; r = p.opNDCSS(i, out o); test(Ice.CollectionComparer.Equals(i, o)); test(Ice.CollectionComparer.Equals(i, r)); } { List <string> ii = new List <string>(); ii.Add("a"); ii.Add("b"); Dictionary <string, List <string> > i = new Dictionary <string, List <string> >(); i["a"] = ii; i["b"] = ii; Dictionary <string, List <string> > o; Dictionary <string, List <string> > r; r = p.opNDGSS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { int[] ii = new int[] { 1, 2 }; ODAIS i = new ODAIS(); i["a"] = ii; i["b"] = ii; ODAIS o; ODAIS r; r = p.opODAIS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CIS ii = new CIS(); ii.Add(1); ii.Add(2); ODCIS i = new ODCIS(); i["a"] = ii; i["b"] = ii; ODCIS o; ODCIS r; r = p.opODCIS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { List <int> ii = new List <int>(); ii.Add(1); ii.Add(2); ODGIS i = new ODGIS(); i["a"] = ii; i["b"] = ii; ODGIS o; ODGIS r; r = p.opODGIS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { string[] ii = new string[] { "a", "b" }; ODASS i = new ODASS(); i["a"] = ii; i["b"] = ii; ODASS o; ODASS r; r = p.opODASS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { CSS ii = new CSS(); ii.Add("a"); ii.Add("b"); ODCSS i = new ODCSS(); i["a"] = ii; i["b"] = ii; ODCSS o; ODCSS r; r = p.opODCSS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } { List <string> ii = new List <string>(); ii.Add("a"); ii.Add("b"); ODGSS i = new ODGSS(); i["a"] = ii; i["b"] = ii; ODGSS o; ODGSS r; r = p.opODGSS(i, out o); foreach (string key in i.Keys) { test(Ice.CollectionComparer.Equals(i[key], o[key])); test(Ice.CollectionComparer.Equals(i[key], r[key])); } } }