summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/seqMapping/Twoways.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/seqMapping/Twoways.cs')
-rw-r--r--csharp/test/Ice/seqMapping/Twoways.cs263
1 files changed, 0 insertions, 263 deletions
diff --git a/csharp/test/Ice/seqMapping/Twoways.cs b/csharp/test/Ice/seqMapping/Twoways.cs
index ef6941e623c..c149abf9f32 100644
--- a/csharp/test/Ice/seqMapping/Twoways.cs
+++ b/csharp/test/Ice/seqMapping/Twoways.cs
@@ -101,21 +101,6 @@ class Twoways
}
{
- CByteS i = new CByteS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((byte)c);
- }
- CByteS o;
- CByteS r;
-
- r = p.opCByteS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
bool[] i = new bool[_length];
for(int c = 0; c < _length; ++c)
{
@@ -191,21 +176,6 @@ class Twoways
}
{
- CBoolS i = new CBoolS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(c % 1 == 1);
- }
- CBoolS o;
- CBoolS r;
-
- r = p.opCBoolS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
short[] i = new short[_length];
for(int c = 0; c < _length; ++c)
{
@@ -282,21 +252,6 @@ class Twoways
}
{
- CShortS i = new CShortS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((short)c);
- }
- CShortS o;
- CShortS r;
-
- r = p.opCShortS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
int[] i = new int[_length];
for(int c = 0; c < _length; ++c)
{
@@ -372,21 +327,6 @@ class Twoways
}
{
- CIntS i = new CIntS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((int)c);
- }
- CIntS o;
- CIntS r;
-
- r = p.opCIntS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
long[] i = new long[_length];
for(int c = 0; c < _length; ++c)
{
@@ -462,21 +402,6 @@ class Twoways
}
{
- CLongS i = new CLongS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((long)c);
- }
- CLongS o;
- CLongS r;
-
- r = p.opCLongS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
float[] i = new float[_length];
for(int c = 0; c < _length; ++c)
{
@@ -552,21 +477,6 @@ class Twoways
}
{
- CFloatS i = new CFloatS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((float)c);
- }
- CFloatS o;
- CFloatS r;
-
- r = p.opCFloatS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
double[] i = new double[_length];
for(int c = 0; c < _length; ++c)
{
@@ -642,21 +552,6 @@ class Twoways
}
{
- CDoubleS i = new CDoubleS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((double)c);
- }
- CDoubleS o;
- CDoubleS r;
-
- r = p.opCDoubleS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
string[] i = new string[_length];
for(int c = 0; c < _length; ++c)
{
@@ -732,21 +627,6 @@ class Twoways
}
{
- CStringS i = new CStringS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(c.ToString());
- }
- CStringS o;
- CStringS r;
-
- r = p.opCStringS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
Ice.Object[] i = new CV[_length];
for(int c = 0; c < _length; ++c)
{
@@ -791,28 +671,6 @@ class Twoways
}
{
- CObjectS i = new CObjectS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(new CV(c));
- }
- CObjectS o;
- CObjectS r;
-
- r = p.opCObjectS(i, out o);
-
- IEnumerator<Ice.Object> eo = (IEnumerator<Ice.Object>)o.GetEnumerator();
- IEnumerator<Ice.Object> er = (IEnumerator<Ice.Object>)r.GetEnumerator();
- foreach(CV obj in i)
- {
- eo.MoveNext();
- er.MoveNext();
- test(obj.i == ((CV)eo.Current).i);
- test(obj.i == ((CV)er.Current).i);
- }
- }
-
- {
Ice.ObjectPrx[] i = new Ice.ObjectPrx[_length];
for(int c = 0; c < _length; ++c)
{
@@ -888,21 +746,6 @@ class Twoways
}
{
- CObjectPrxS i = new CObjectPrxS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(communicator.stringToProxy(c.ToString()));
- }
- CObjectPrxS o;
- CObjectPrxS r;
-
- r = p.opCObjectPrxS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
S[] i = new S[_length];
for(int c = 0; c < _length; ++c)
{
@@ -979,21 +822,6 @@ class Twoways
}
{
- CStructS i = new CStructS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(new S(c));
- }
- CStructS o;
- CStructS r;
-
- r = p.opCStructS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
SD[] i = new SD[_length];
for(int c = 0; c < _length; ++c)
{
@@ -1070,21 +898,6 @@ class Twoways
}
{
- CStructSD i = new CStructSD(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(new SD(c));
- }
- CStructSD o;
- CStructSD r;
-
- r = p.opCStructSD(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
CV[] i = new CV[_length];
for(int c = 0; c < _length; ++c)
{
@@ -1129,28 +942,6 @@ class Twoways
}
{
- CCVS i = new CCVS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(new CV(c));
- }
- CCVS o;
- CCVS r;
-
- r = p.opCCVS(i, out o);
-
- IEnumerator<CV> eo = (IEnumerator<CV>)o.GetEnumerator();
- IEnumerator<CV> er = (IEnumerator<CV>)r.GetEnumerator();
- foreach(CV obj in i)
- {
- eo.MoveNext();
- er.MoveNext();
- test(obj.i == eo.Current.i);
- test(obj.i == er.Current.i);
- }
- }
-
- {
CR[] i = new CR[_length];
for(int c = 0; c < _length; ++c)
{
@@ -1195,28 +986,6 @@ class Twoways
}
{
- CCRS i = new CCRS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(new CR(new CV(c)));
- }
- CCRS o;
- CCRS r;
-
- r = p.opCCRS(i, out o);
-
- IEnumerator<CR> eo = (IEnumerator<CR>)o.GetEnumerator();
- IEnumerator<CR> er = (IEnumerator<CR>)r.GetEnumerator();
- foreach(CR obj in i)
- {
- eo.MoveNext();
- er.MoveNext();
- test(obj.v.i == eo.Current.v.i);
- test(obj.v.i == er.Current.v.i);
- }
- }
-
- {
En[] i = new En[_length];
for(int c = 0; c < _length; ++c)
{
@@ -1292,21 +1061,6 @@ class Twoways
}
{
- CEnS i = new CEnS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add((En)(c % 3));
- }
- CEnS o;
- CEnS r;
-
- r = p.opCEnS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
CVPrx[] i = new CVPrx[_length];
for(int c = 0; c < _length; ++c)
{
@@ -1382,21 +1136,6 @@ class Twoways
}
{
- CCVPrxS i = new CCVPrxS(_length);
- for(int c = 0; c < _length; ++c)
- {
- i.Add(CVPrxHelper.uncheckedCast(communicator.stringToProxy(c.ToString())));
- }
- CCVPrxS o;
- CCVPrxS r;
-
- r = p.opCCVPrxS(i, out o);
-
- test(Ice.CollectionComparer.Equals(i, o));
- test(Ice.CollectionComparer.Equals(i, r));
- }
-
- {
Custom<int> i = new Custom<int>();
for(int c = 0; c < _length; ++c)
{
@@ -1504,7 +1243,6 @@ class Twoways
}
}
-#if !COMPACT && !SILVERLIGHT
{
Serialize.Small i = null;
Serialize.Small o;
@@ -1612,6 +1350,5 @@ class Twoways
// OK, talking to non-C# server.
}
}
-#endif
}
}