You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by sc...@apache.org on 2009/01/29 22:50:47 UTC
svn commit: r739033 [3/6] - in /incubator/etch/trunk:
binding-csharp/runtime/src/main/csharp/Etch/Util/
compiler/src/test/etch/comments/ compiler/src/test/etch/constants/
tests/src/main/csharp/etch.tests/ tests/src/main/etch/
tests/src/main/java/etch/t...
Modified: incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestRemoteTest1DotCsharp.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestRemoteTest1DotCsharp.cs?rev=739033&r1=739032&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestRemoteTest1DotCsharp.cs (original)
+++ incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestRemoteTest1DotCsharp.cs Thu Jan 29 21:50:44 2009
@@ -23,8 +23,8 @@
using Etch.Msg;
using Etch.Support;
using Etch.Transport;
-
-using etch.tests.types.Test1;
+using org.apache.etch.tests;
+using org.apache.etch.tests.types.Test1;
namespace etch.tests
@@ -60,10 +60,10 @@
{
test.nothing();
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_nothing,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_nothing,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_nothing,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_nothing,
4000 );
}
@@ -73,10 +73,10 @@
svc.xresult = 2;
Assert.AreEqual( 2, test.incr( 1 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_incr,
new Field[] { ValueFactoryTest1._mf_x },
new Object[] { 1 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_incr,
4000 );
}
@@ -86,10 +86,10 @@
svc.xresult = 3;
Assert.AreEqual( 3, test.incr( 2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_incr,
new Field[] { ValueFactoryTest1._mf_x },
new Object[] { 2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_incr,
4000 );
}
@@ -99,10 +99,10 @@
svc.xresult = -1;
Assert.AreEqual( -1, test.incr( -2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_incr,
new Field[] { ValueFactoryTest1._mf_x },
new Object[] { -2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_incr,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_incr,
4000 );
}
@@ -112,10 +112,10 @@
svc.xresult = 5;
Assert.AreEqual( 5, test.sub( 7, 2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sub,
new Field[] { ValueFactoryTest1._mf_x, ValueFactoryTest1._mf_y },
new Object[] { 7, 2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sub,
4000 );
}
@@ -125,10 +125,10 @@
svc.xresult = 8;
Assert.AreEqual( 8, test.sub( 23, 15 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sub,
new Field[] { ValueFactoryTest1._mf_x, ValueFactoryTest1._mf_y },
new Object[] { 23, 15 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sub,
4000 );
}
@@ -138,10 +138,10 @@
svc.xresult = -5;
Assert.AreEqual( -5, test.sub( 2, 7 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sub,
new Field[] { ValueFactoryTest1._mf_x, ValueFactoryTest1._mf_y },
new Object[] { 2, 7 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_sub,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sub,
4000 );
}
@@ -152,10 +152,10 @@
int[] arg = { 1, 2, 3, 7, 11 };
Assert.AreEqual( 24, test.sum( arg ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_sum,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sum,
new Field[] { ValueFactoryTest1._mf_x },
new Object[] { arg },
- ValueFactoryTest1._mt_etch_tests_Test1__result_sum,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sum,
4000 );
}
@@ -165,10 +165,10 @@
svc.xresult = 2;
Assert.AreEqual( 2, test.trans( E1.A, 5 ) ); // divide by 2
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans,
new Field[] { ValueFactoryTest1._mf_e, ValueFactoryTest1._mf_x },
new Object[] { E1.A, 5 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans,
4000 );
}
@@ -178,10 +178,10 @@
svc.xresult = 10;
Assert.AreEqual( 10, test.trans( E1.B, 5 ) ); // mul by 2
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans,
new Field[] { ValueFactoryTest1._mf_e, ValueFactoryTest1._mf_x },
new Object[] { E1.B, 5 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans,
4000 );
}
@@ -191,10 +191,10 @@
svc.xresult = 12;
Assert.AreEqual( 12, test.trans( E1.C, 5 ) ); // add 7
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans,
new Field[] { ValueFactoryTest1._mf_e, ValueFactoryTest1._mf_x },
new Object[] { E1.C, 5 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_trans,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans,
4000 );
}
@@ -206,10 +206,10 @@
S1 arg2 = new S1( 0, 0, 0 );
Assert.AreEqual( Math.Sqrt( 3 ), test.dist( arg1, arg2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist,
new Field[] { ValueFactoryTest1._mf_a, ValueFactoryTest1._mf_b },
new Object[] { arg1, arg2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist,
4000 );
}
@@ -221,10 +221,10 @@
S1 arg2 = new S1( 6, 5, 4 );
Assert.AreEqual( Math.Sqrt( 35 ), test.dist( arg1, arg2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist,
new Field[] { ValueFactoryTest1._mf_a, ValueFactoryTest1._mf_b },
new Object[] { arg1, arg2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist,
4000 );
}
@@ -236,10 +236,10 @@
S1 arg2 = new S1( -1, -2, -3 );
Assert.AreEqual( Math.Sqrt( 56 ), test.dist( arg1, arg2 ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist,
new Field[] { ValueFactoryTest1._mf_a, ValueFactoryTest1._mf_b },
new Object[] { arg1, arg2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_dist,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist,
4000 );
}
@@ -252,10 +252,10 @@
foreach ( int i in x )
Assert.AreEqual( 1, i );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill,
new Field[] { ValueFactoryTest1._mf_n, ValueFactoryTest1._mf_x },
new Object[] { 0, 1 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill,
4000 );
}
@@ -268,10 +268,10 @@
foreach ( int i in x )
Assert.AreEqual( 2, i );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill,
new Field[] { ValueFactoryTest1._mf_n, ValueFactoryTest1._mf_x },
new Object[] { 1, 2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill,
4000 );
}
@@ -284,10 +284,10 @@
foreach ( int i in x )
Assert.AreEqual( 3, i );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill,
new Field[] { ValueFactoryTest1._mf_n, ValueFactoryTest1._mf_x },
new Object[] { 2, 3 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_fill,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill,
4000 );
}
@@ -306,10 +306,10 @@
Assert.AreEqual( 2, e.code );
}
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_blow,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_blow,
new Field[] { ValueFactoryTest1._mf_msg, ValueFactoryTest1._mf_code },
new Object[] { "foo", 2 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_blow,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_blow,
4000 );
}
@@ -328,10 +328,10 @@
Assert.AreEqual( 3, e.code );
}
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_blow,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_blow,
new Field[] { ValueFactoryTest1._mf_msg, ValueFactoryTest1._mf_code },
new Object[] { "bar", 3 },
- ValueFactoryTest1._mt_etch_tests_Test1__result_blow,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_blow,
4000 );
}
@@ -341,10 +341,10 @@
svc.xresult = 5;
Assert.AreEqual( 5, test.beets( E1.A ) );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
new Field[] { ValueFactoryTest1._mf_e },
new Object[] { E1.A },
- ValueFactoryTest1._mt_etch_tests_Test1__result_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets,
4000 );
}
@@ -363,10 +363,10 @@
}
Assert.IsTrue(exceptionFlag);
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
new Field[] { ValueFactoryTest1._mf_e },
new Object[] { E1.B },
- ValueFactoryTest1._mt_etch_tests_Test1__result_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets,
4000 );
}
@@ -385,10 +385,10 @@
}
Assert.IsTrue( exceptionFlag );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
new Field[] { ValueFactoryTest1._mf_e },
new Object[] { E1.C },
- ValueFactoryTest1._mt_etch_tests_Test1__result_beets,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets,
4000 );
}
@@ -398,10 +398,10 @@
// svc.xresult = null;
// Assert.IsNull( test.beets( null ) );
// check( What.CALL,
- // ValueFactoryTest1._mt_etch_tests_Test1_beets,
+ // ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
// new Field[] { ValueFactoryTest1._mf_e },
// new Object[] { null },
- // ValueFactoryTest1._mt_etch_tests_Test1__result_beets,
+ // ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets,
// 4000 );
//}
@@ -418,10 +418,10 @@
bool? r = test.p_boolean( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_boolean,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean,
new Field[] {},
new Object[] {},
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean,
4000 );
}
@@ -433,10 +433,10 @@
bool? r = test.p_boolean( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_boolean,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean,
4000 );
}
@@ -448,10 +448,10 @@
bool[] r = test.p_boolean_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_boolean_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean_array,
4000 );
}
@@ -465,10 +465,10 @@
bool[] r = test.p_boolean_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_boolean_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean_array,
4000 );
}
@@ -484,10 +484,10 @@
sbyte? r = test.p_byte( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_byte,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte,
4000 );
}
@@ -499,10 +499,10 @@
sbyte? r = test.p_byte( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_byte,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte,
4000 );
}
@@ -514,10 +514,10 @@
sbyte[] r = test.p_byte_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_byte_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte_array,
new Field[] { },
new Object[] {},
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte_array,
4000 );
}
@@ -531,10 +531,10 @@
sbyte[] r = test.p_byte_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_byte_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte_array,
4000 );
}
@@ -550,10 +550,10 @@
short? r = test.p_short( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_short,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_short,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short,
4000 );
}
@@ -565,10 +565,10 @@
short? r = test.p_short( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_short,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_short,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short,
4000 );
}
@@ -580,10 +580,10 @@
short[] r = test.p_short_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_short_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_short_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short_array,
4000 );
}
@@ -597,10 +597,10 @@
short[] r = test.p_short_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_short_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_short_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short_array,
4000 );
}
@@ -616,10 +616,10 @@
int? r = test.p_int( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_int,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_int,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int,
4000 );
}
@@ -631,10 +631,10 @@
int? r = test.p_int( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_int,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_int,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int,
4000 );
}
@@ -646,10 +646,10 @@
int[] r = test.p_int_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_int_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_int_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int_array,
4000 );
}
@@ -663,10 +663,10 @@
int[] r = test.p_int_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_int_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_int_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int_array,
4000 );
}
@@ -682,10 +682,10 @@
long? r = test.p_long( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_long,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_long,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long,
4000 );
}
@@ -697,10 +697,10 @@
long? r = test.p_long( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_long,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_long,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long,
4000 );
}
@@ -712,10 +712,10 @@
long[] r = test.p_long_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_long_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_long_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long_array,
4000 );
}
@@ -729,10 +729,10 @@
long[] r = test.p_long_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_long_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_long_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long_array,
4000 );
}
@@ -748,10 +748,10 @@
float? r = test.p_float( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_float,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_float,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float,
4000 );
}
@@ -763,10 +763,10 @@
float? r = test.p_float( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_float,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_float,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float,
4000 );
}
@@ -778,10 +778,10 @@
float[] r = test.p_float_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_float_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_float_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float_array,
4000 );
}
@@ -795,10 +795,10 @@
float[] r = test.p_float_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_float_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_float_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float_array,
4000 );
}
@@ -814,10 +814,10 @@
double? r = test.p_double( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_double,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_double,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double,
4000 );
}
@@ -829,10 +829,10 @@
double? r = test.p_double( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_double,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_double,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double,
4000 );
}
@@ -844,10 +844,10 @@
double[] r = test.p_double_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_double_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_double_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double_array,
4000 );
}
@@ -861,10 +861,10 @@
double[] r = test.p_double_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_double_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_double_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double_array,
4000 );
}
@@ -880,10 +880,10 @@
String r = test.p_string( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_string,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_string,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string,
4000 );
}
@@ -895,10 +895,10 @@
String r = test.p_string( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_string,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_string,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string,
4000 );
}
@@ -910,10 +910,10 @@
String[] r = test.p_string_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_string_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_string_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string_array,
4000 );
}
@@ -927,10 +927,10 @@
String[] r = test.p_string_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_string_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_string_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string_array,
4000 );
}
@@ -946,10 +946,10 @@
E1? r = test.p_E1( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_E1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1,
4000 );
}
@@ -961,10 +961,10 @@
E1? r = test.p_E1( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_E1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1,
4000 );
}
@@ -976,10 +976,10 @@
E1[] r = test.p_E1_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_E1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1_array,
4000 );
}
@@ -993,10 +993,10 @@
E1[] r = test.p_E1_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_E1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1_array,
4000 );
}
@@ -1012,10 +1012,10 @@
S1 r = test.p_S1( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1,
4000 );
}
@@ -1027,10 +1027,10 @@
S1 r = test.p_S1( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1,
4000 );
}
@@ -1042,10 +1042,10 @@
S1[] r = test.p_S1_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1_array,
4000 );
}
@@ -1059,10 +1059,10 @@
S1[] r = test.p_S1_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1_array,
4000 );
}
@@ -1078,10 +1078,10 @@
S2 r = test.p_S2( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S2,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2,
4000 );
}
@@ -1093,10 +1093,10 @@
S2 r = test.p_S2( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S2,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2,
4000 );
}
@@ -1108,10 +1108,10 @@
S2[] r = test.p_S2_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S2_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2_array,
new Field[] { },
new Object[] { },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2_array,
4000 );
}
@@ -1125,10 +1125,10 @@
S2[] r = test.p_S2_array( a );
assertObjectEquals( a, r );
check( What.CALL,
- ValueFactoryTest1._mt_etch_tests_Test1_p_S2_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2_array,
new Field[] { ValueFactoryTest1._mf_a },
new Object[] { a },
- ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2_array,
+ ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2_array,
4000 );
}
@@ -1201,7 +1201,7 @@
public enum What { SEND, CALL, SHUTDOWNOUTPUT, BEGINCALL }
private MyDeliveryService svc;
- private etch.tests.Test1 test;
+ private org.apache.etch.tests.Test1 test;
public class MyDeliveryService : DeliveryService,MailboxManager
{
Modified: incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestStubTest1DotCsharp.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestStubTest1DotCsharp.cs?rev=739033&r1=739032&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestStubTest1DotCsharp.cs (original)
+++ incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestStubTest1DotCsharp.cs Thu Jan 29 21:50:44 2009
@@ -17,7 +17,8 @@
using System;
using System.Collections.Generic;
using System.Text;
-using etch.tests.types.Test1;
+using org.apache.etch.tests;
+using org.apache.etch.tests.types.Test1;
using Etch.Util;
using NUnit.Framework;
using Etch.Msg;
@@ -54,24 +55,24 @@
[Test]
public void method_nothing()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_nothing, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_nothing, vf );
// msg.Add( ValueFactoryTest1._mf_x, 3 );
stub.SessionMessage( null, msg );
// check the result.
xreplyMon.WaitUntilNotEq( null );
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_nothing );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_nothing );
Assert.AreEqual( 0, src.xreply.Count );
}
[Test]
public void method_incr1()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_incr, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_incr, vf );
msg.Add( ValueFactoryTest1._mf_x, 3 );
stub.SessionMessage( null, msg );
// check the result.
xreplyMon.WaitUntilNotEq( null );
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_incr );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_incr );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 4, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -80,12 +81,12 @@
[Test]
public void method_sub()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_sub, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sub, vf );
msg.Add( ValueFactoryTest1._mf_x, 7 );
msg.Add( ValueFactoryTest1._mf_y, 3 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_sub );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sub );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 4, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -93,11 +94,11 @@
[Test]
public void method_sum()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_sum, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sum, vf );
msg.Add( ValueFactoryTest1._mf_x, new int[] { 1, 2, 3, 7, 11 } );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_sum );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sum );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 24, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -105,12 +106,12 @@
[Test]
public void method_trans1()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_trans, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.A );
msg.Add( ValueFactoryTest1._mf_x, 5 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_trans );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 2, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -118,12 +119,12 @@
[Test]
public void method_trans2()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_trans, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.B );
msg.Add( ValueFactoryTest1._mf_x, 5 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_trans );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 10, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -131,12 +132,12 @@
[Test]
public void method_trans3()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_trans, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.C );
msg.Add( ValueFactoryTest1._mf_x, 5 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_trans );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans );
Assert.AreEqual(1, src.xreply.Count);
Assert.AreEqual( 12, src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -144,12 +145,12 @@
[Test]
public void method_dist1()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_dist, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist, vf );
msg.Add( ValueFactoryTest1._mf_a, new S1( 1, 1, 1 ) );
msg.Add( ValueFactoryTest1._mf_b, new S1( 0, 0, 0 ) );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_dist );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist );
Assert.AreEqual( 1, src.xreply.Count );
Assert.AreEqual( Math.Sqrt( 3 ), src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -157,12 +158,12 @@
[Test]
public void method_dist2()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_dist, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist, vf );
msg.Add( ValueFactoryTest1._mf_a, new S1( 1, 2, 3 ) );
msg.Add( ValueFactoryTest1._mf_b, new S1( 6, 5, 4 ) );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_dist );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist );
Assert.AreEqual( 1, src.xreply.Count );
Assert.AreEqual( Math.Sqrt( 35 ), src.xreply.Get( ValueFactoryTest1._mf_result ) );
}
@@ -170,12 +171,12 @@
[Test]
public void method_fill()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_fill, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill, vf );
msg.Add( ValueFactoryTest1._mf_n, 4 );
msg.Add( ValueFactoryTest1._mf_x, 3 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_fill );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill );
Assert.AreEqual(1, src.xreply.Count);
int[] x = (int[]) src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.IsNotNull( x );
@@ -187,12 +188,12 @@
[Test]
public void method_blow()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_blow, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_blow, vf );
msg.Add( ValueFactoryTest1._mf_msg, "foo" );
msg.Add( ValueFactoryTest1._mf_code, 23 );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_blow );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_blow );
Assert.AreEqual(1, src.xreply.Count);
Excp1 e = (Excp1) src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.IsNotNull( e );
@@ -203,11 +204,11 @@
[Test]
public void method_beets1()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_beets, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.A );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_beets );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
Assert.AreEqual( 1, src.xreply.Count );
Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.AreEqual( 5, o );
@@ -216,11 +217,11 @@
[Test]
public void method_beets2()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_beets, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.B );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_beets );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
Assert.AreEqual( 1, src.xreply.Count );
Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.AreEqual( typeof(Excp3), o.GetType() );
@@ -229,11 +230,11 @@
[Test]
public void method_beets3()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_beets, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets, vf );
msg.Add( ValueFactoryTest1._mf_e, E1.C );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_beets );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
Assert.AreEqual( 1, src.xreply.Count );
Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.AreEqual( typeof(Excp4), o.GetType() );
@@ -242,11 +243,11 @@
//[Test]
//public void method_beets4()
//{
- // Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_beets, vf );
+ // Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets, vf );
// msg.Add( ValueFactoryTest1._mf_e, null );
// stub.Message( null, msg );
// check the result.
- // src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_beets );
+ // src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
// Assert.AreEqual( 0, src.xreply.Count );
// Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
// Assert.IsNull( o );
@@ -255,10 +256,10 @@
[Test]
public void method_isTrue()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_isTrue, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_isTrue, vf );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_isTrue );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_isTrue );
Assert.AreEqual(1, src.xreply.Count);
Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.AreEqual( true, o );
@@ -267,10 +268,10 @@
[Test]
public void method_isFalse()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_isFalse, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_isFalse, vf );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType( ValueFactoryTest1._mt_etch_tests_Test1__result_isFalse );
+ src.xreply.CheckType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_isFalse );
Assert.AreEqual(1, src.xreply.Count);
Object o = src.xreply.Get( ValueFactoryTest1._mf_result );
Assert.AreEqual( false, o );
@@ -279,10 +280,10 @@
[Test]
public void method_alwaysWorks()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_alwaysWorks, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_alwaysWorks, vf );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType(ValueFactoryTest1._mt_etch_tests_Test1__result_alwaysWorks);
+ src.xreply.CheckType(ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_alwaysWorks);
Assert.AreEqual(1, src.xreply.Count);
Object o = src.xreply.Get(ValueFactoryTest1._mf_result);
Assert.AreEqual( 23, o );
@@ -291,10 +292,10 @@
[Test]
public void method_alwaysFails()
{
- Message msg = new Message( ValueFactoryTest1._mt_etch_tests_Test1_alwaysFails, vf );
+ Message msg = new Message( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_alwaysFails, vf );
stub.SessionMessage( null, msg );
// check the result.
- src.xreply.CheckType(ValueFactoryTest1._mt_etch_tests_Test1__result_alwaysFails);
+ src.xreply.CheckType(ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_alwaysFails);
Assert.AreEqual(1, src.xreply.Count);
Object o = src.xreply.Get(ValueFactoryTest1._mf_result);
Assert.IsTrue( o is _Etch_AuthException );
Modified: incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1DotCsharp.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1DotCsharp.cs?rev=739033&r1=739032&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1DotCsharp.cs (original)
+++ incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1DotCsharp.cs Thu Jan 29 21:50:44 2009
@@ -17,7 +17,8 @@
using System;
using System.Collections.Generic;
using System.Text;
-using etch.tests.types.Test1;
+using org.apache.etch.tests;
+using org.apache.etch.tests.types.Test1;
using NUnit.Framework;
using Etch.Msg;
using Etch.Support;
Modified: incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1Helper.cs
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1Helper.cs?rev=739033&r1=739032&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1Helper.cs (original)
+++ incubator/etch/trunk/tests/src/test/csharp/etch.tests/TestTest1Helper.cs Thu Jan 29 21:50:44 2009
@@ -21,6 +21,7 @@
using NUnit.Framework;
using Etch.Transport;
using Etch.Util;
+using org.apache.etch.tests;
namespace etch.tests