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 [6/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/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java?rev=739033&r1=738969&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestValueFactoryTest1DotJava.java Thu Jan 29 21:50:44 2009
@@ -15,7 +15,7 @@
  * under the License.
  */
 
-package etch.tests;
+package org.apache.etch.tests;
 
 import static org.junit.Assert.assertArrayEquals;
 import static org.junit.Assert.assertEquals;
@@ -28,21 +28,22 @@
 import org.apache.etch.bindings.java.msg.Field;
 import org.apache.etch.bindings.java.msg.StructValue;
 import org.apache.etch.bindings.java.msg.Type;
+import org.apache.etch.tests.Test1;
+import org.apache.etch.tests.ValueFactoryTest1;
+import org.apache.etch.tests.Test1.E1;
+import org.apache.etch.tests.Test1.Excp1;
+import org.apache.etch.tests.Test1.Excp2;
+import org.apache.etch.tests.Test1.Excp3;
+import org.apache.etch.tests.Test1.Excp4;
+import org.apache.etch.tests.Test1.Excp5;
+import org.apache.etch.tests.Test1.Excp6;
+import org.apache.etch.tests.Test1.S1;
+import org.apache.etch.tests.Test1.S2;
+import org.apache.etch.tests.Test1.S3;
+import org.apache.etch.tests.Test1.S4;
 
-import etch.tests.Test1.E1;
-import etch.tests.Test1.Excp1;
-import etch.tests.Test1.Excp2;
-import etch.tests.Test1.Excp3;
-import etch.tests.Test1.Excp4;
-import etch.tests.Test1.Excp5;
-import etch.tests.Test1.Excp6;
-import etch.tests.Test1.S1;
-import etch.tests.Test1.S2;
-import etch.tests.Test1.S3;
-import etch.tests.Test1.S4;
 
 /** Test of ValueFactoryTest1 */
-@SuppressWarnings("static-access")
 public class TestValueFactoryTest1DotJava
 {
 	private ValueFactoryTest1 vf = new ValueFactoryTest1( "tcp:" );
@@ -53,7 +54,7 @@
 	{
 		// type //
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_E1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 		
 		// fields //
 		
@@ -67,15 +68,15 @@
 	public void test_E1_export()
 	{
 		testEnumExport( E1.A,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_A );
 		
 		testEnumExport( E1.B,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_B );
 		
 		testEnumExport( E1.C,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_C );
 	}
 	
@@ -84,15 +85,15 @@
 	public void test_E1_import()
 	{
 		testEnumImport( E1.A,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_A );
 		
 		testEnumImport( E1.B,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_B );
 		
 		testEnumImport( E1.C,
-			ValueFactoryTest1._mt_etch_tests_Test1_E1,
+			ValueFactoryTest1._mt_org_apache_etch_tests_Test1_E1,
 			ValueFactoryTest1._mf_C );
 	}
 
@@ -102,7 +103,7 @@
 	{
 		// type //
 
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_S1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S1,
 		
 		// fields //
 		
@@ -116,7 +117,7 @@
 	public void test_S1_export()
 	{
 		StructValue sv = vf.exportCustomValue( new S1( 19, 23, 29 ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_S1 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S1 );
 		assertEquals( 3, sv.size() );
 		assertEquals( 19, sv.get( ValueFactoryTest1._mf_x ) );
 		assertEquals( 23, sv.get( ValueFactoryTest1._mf_y ) );
@@ -127,7 +128,7 @@
 	@org.junit.Test
 	public void test_S1_import()
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_S1, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S1, vf );
 		sv.put( ValueFactoryTest1._mf_x, 101 );
 		sv.put( ValueFactoryTest1._mf_y, 103 );
 		sv.put( ValueFactoryTest1._mf_z, 107 );
@@ -143,7 +144,7 @@
 	{
 		// type //
 
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_S2,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S2,
 		
 		// fields //
 		
@@ -161,7 +162,7 @@
 		E1 c = E1.A;
 		
 		StructValue sv = vf.exportCustomValue( new S2( a, b, c ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_S2 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S2 );
 		assertEquals( 3, sv.size() );
 		
 		assertSame( a, sv.get( ValueFactoryTest1._mf_a ) );
@@ -173,7 +174,7 @@
 	@org.junit.Test
 	public void test_S2_import()
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_S2, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S2, vf );
 		
 		sv.put( ValueFactoryTest1._mf_a, new S1( 21, 22, 23 ) );
 		sv.put( ValueFactoryTest1._mf_b, new S1( 31, 32, 33 ) );
@@ -195,7 +196,7 @@
 	{
 		// type //
 
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_S3,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S3,
 		
 		// fields //
 		
@@ -237,7 +238,7 @@
 	{
 		// type //
 
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_S4,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S4,
 		
 		// fields //
 		ValueFactoryTest1._mf_tipe,
@@ -296,20 +297,20 @@
 	{
 		// type //
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp1,
 			ValueFactoryTest1._mf_msg,
 			ValueFactoryTest1._mf_code );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp2 );
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp3 );
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp4 );
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp2 );
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp3 );
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp4 );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp5,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp5,
 			ValueFactoryTest1._mf_msg,
 			ValueFactoryTest1._mf_code,
 			ValueFactoryTest1._mf_x );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp6,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp6,
 			ValueFactoryTest1._mf_msg,
 			ValueFactoryTest1._mf_code,
 			ValueFactoryTest1._mf_x );
@@ -338,21 +339,21 @@
 		int code = 500;
 		
 		StructValue sv = vf.exportCustomValue( new Excp1( "abc", 23 ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp1 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp1 );
 		assertEquals( 2, sv.size() );
 		assertEquals( "abc", sv.get( ValueFactoryTest1._mf_msg ) );
 		assertEquals( 23, sv.get( ValueFactoryTest1._mf_code ) );
 		
 		sv = vf.exportCustomValue( new Excp2() );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp2 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp2 );
 		assertEquals( 0, sv.size() );
 		
 		sv = vf.exportCustomValue( new Excp3() );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp3 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp3 );
 		assertEquals( 0, sv.size() );
 		
 		sv = vf.exportCustomValue( new Excp4() );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp4 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp4 );
 		assertEquals( 0, sv.size() );
 		
 		// Import exception with object as param
@@ -392,7 +393,7 @@
 		String msg = "Exception";
 		int code = 500;
 		
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp1, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp1, vf );
 		sv.put( ValueFactoryTest1._mf_msg, "def" );
 		sv.put( ValueFactoryTest1._mf_code, 29 );
 		Excp1 e1 = (Excp1) vf.importCustomValue( sv );
@@ -400,17 +401,17 @@
 		assertEquals( 29, e1.code );
 		e1 = null;
 		
-		sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp2, vf );
+		sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp2, vf );
 		Excp2 e2 = (Excp2) vf.importCustomValue( sv );
 		assertNotNull( e2 );
 		e2 = null;
 		
-		sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp3, vf );
+		sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp3, vf );
 		Excp3 e3 = (Excp3) vf.importCustomValue( sv );
 		assertNotNull( e3 );
 		e3 = null;
 		
-		sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp4, vf );
+		sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp4, vf );
 		Excp4 e4 = (Excp4) vf.importCustomValue( sv );
 		assertNotNull( e4 );
 		e4 = null;
@@ -440,10 +441,10 @@
 	@org.junit.Test
 	public void test_method_nothing()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_nothing,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_nothing,
 			ValueFactoryTest1._mf__messageId );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_nothing,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_nothing,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 			ValueFactoryTest1._mf_result );
@@ -453,11 +454,11 @@
 	@org.junit.Test
 	public void test_method_incr()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_incr,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_incr,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_x );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_incr,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_incr,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -467,12 +468,12 @@
 	@org.junit.Test
 	public void test_method_sub()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_sub,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sub,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_x,
 		ValueFactoryTest1._mf_y );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_sub,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sub,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -482,11 +483,11 @@
 	@org.junit.Test
 	public void test_method_sum()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_sum,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_sum,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_x );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_sum,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_sum,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -496,12 +497,12 @@
 	@org.junit.Test
 	public void test_method_trans()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_trans,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_trans,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_e,
 		ValueFactoryTest1._mf_x );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_trans,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_trans,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -511,12 +512,12 @@
 	@org.junit.Test
 	public void test_method_dist()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_dist,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a,
 		ValueFactoryTest1._mf_b );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_dist,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -526,12 +527,12 @@
 	@org.junit.Test
 	public void test_method_fill()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_fill,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_n,
 		ValueFactoryTest1._mf_x );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_fill,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -541,12 +542,12 @@
 	@org.junit.Test
 	public void test_method_fillObject()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_fillObject,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fillObject,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_n,
 		ValueFactoryTest1._mf_o );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_fillObject,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fillObject,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -556,12 +557,12 @@
 	@org.junit.Test
 	public void test_method_blow()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_blow,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_blow,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_msg,
 		ValueFactoryTest1._mf_code );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_blow,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_blow,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -571,11 +572,11 @@
 	@org.junit.Test
 	public void test_method_beets()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_beets,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_e );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_beets,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -585,13 +586,13 @@
 	@org.junit.Test
 	public void test_method_throwExcp5()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_throwExcp5,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_throwExcp5,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_msg,
 		ValueFactoryTest1._mf_code,
 		ValueFactoryTest1._mf_value );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_throwExcp5,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_throwExcp5,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -601,13 +602,13 @@
 	@org.junit.Test
 	public void test_method_throwExcp6()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_throwExcp5,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_throwExcp5,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_msg,
 		ValueFactoryTest1._mf_code,
 		ValueFactoryTest1._mf_value );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_throwExcp6,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_throwExcp6,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -617,11 +618,11 @@
 	@org.junit.Test
 	public void test_method_p_boolean()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_boolean,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -631,11 +632,11 @@
 	@org.junit.Test
 	public void test_method_p_boolean_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_boolean_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_boolean_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_boolean_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_boolean_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -645,11 +646,11 @@
 	@org.junit.Test
 	public void test_method_p_byte()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_byte,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -659,11 +660,11 @@
 	@org.junit.Test
 	public void test_method_p_byte_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_byte_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_byte_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_byte_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_byte_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -673,11 +674,11 @@
 	@org.junit.Test
 	public void test_method_p_short()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_short,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_short,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -687,11 +688,11 @@
 	@org.junit.Test
 	public void test_method_p_short_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_short_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_short_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_short_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_short_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -701,11 +702,11 @@
 	@org.junit.Test
 	public void test_method_p_int()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_int,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_int,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -715,11 +716,11 @@
 	@org.junit.Test
 	public void test_method_p_int_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_int_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_int_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_int_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_int_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -729,11 +730,11 @@
 	@org.junit.Test
 	public void test_method_p_long()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_long,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_long,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -743,11 +744,11 @@
 	@org.junit.Test
 	public void test_method_p_long_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_long_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_long_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_long_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_long_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -757,11 +758,11 @@
 	@org.junit.Test
 	public void test_method_p_float()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_float,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_float,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -771,11 +772,11 @@
 	@org.junit.Test
 	public void test_method_p_float_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_float_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_float_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_float_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_float_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -785,11 +786,11 @@
 	@org.junit.Test
 	public void test_method_p_double()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_double,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_double,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -799,11 +800,11 @@
 	@org.junit.Test
 	public void test_method_p_double_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_double_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_double_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_double_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_double_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -813,11 +814,11 @@
 	@org.junit.Test
 	public void test_method_p_string()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_string,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_string,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -827,11 +828,11 @@
 	@org.junit.Test
 	public void test_method_p_string_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_string_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_string_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_string_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_string_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -841,11 +842,11 @@
 	@org.junit.Test
 	public void test_method_p_E1()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_E1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -855,11 +856,11 @@
 	@org.junit.Test
 	public void test_method_p_E1_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_E1_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_E1_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_E1_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -869,11 +870,11 @@
 	@org.junit.Test
 	public void test_method_p_S1()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_S1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -883,11 +884,11 @@
 	@org.junit.Test
 	public void test_method_p_S1_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_S1_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S1_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_S1_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S1_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -897,11 +898,11 @@
 	@org.junit.Test
 	public void test_method_p_S2()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_S2,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -911,11 +912,11 @@
 	@org.junit.Test
 	public void test_method_p_S2_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_S2_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_S2_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_S2_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_S2_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -925,11 +926,11 @@
 	@org.junit.Test
 	public void test_method_p_Blob()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_Blob,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_Blob,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_Blob,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_Blob,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -939,11 +940,11 @@
 	@org.junit.Test
 	public void test_method_p_Blob_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_Blob_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_Blob_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_Blob_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_Blob_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -953,11 +954,11 @@
 	@org.junit.Test
 	public void test_method_p_object()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_object,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_object,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_object,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_object,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -967,11 +968,11 @@
 	@org.junit.Test
 	public void test_method_p_object_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_object_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_object_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_object_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_object_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -981,11 +982,11 @@
 	@org.junit.Test
 	public void test_method_p_object_struct()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_object_struct,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_object_struct,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_object_struct,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_object_struct,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -995,11 +996,11 @@
 	@org.junit.Test
 	public void test_method_p_object_struct_array()
 	{
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1_p_object_struct_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_object_struct_array,
 			ValueFactoryTest1._mf__messageId,
 		ValueFactoryTest1._mf_a );
 		
-		checkType( ValueFactoryTest1._mt_etch_tests_Test1__result_p_object_struct_array,
+		checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_p_object_struct_array,
 			ValueFactoryTest1._mf__messageId,
 			ValueFactoryTest1._mf__inReplyTo,
 		ValueFactoryTest1._mf_result );
@@ -1053,7 +1054,7 @@
 	private void testS3Export(String s, Object value)
 	{
 		StructValue sv = vf.exportCustomValue( new S3( s,value ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_S3 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S3 );
 		assertEquals( 2, sv.size() );
 		assertEquals( s, sv.get( ValueFactoryTest1._mf_tipe ) );
 		assertEquals( value, sv.get( ValueFactoryTest1._mf_x ) );
@@ -1061,7 +1062,7 @@
 	
 	private void testS3Import(String s, Object value)
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_S3, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S3, vf );
 		sv.put( ValueFactoryTest1._mf_tipe, s );
 		sv.put( ValueFactoryTest1._mf_x, value );
 		S3 myS3 = (S3) vf.importCustomValue( sv );
@@ -1072,7 +1073,7 @@
 	private void testS4Export(String s, Object[] value)
 	{
 		StructValue sv = vf.exportCustomValue( new S4( s,value ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_S4 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S4 );
 		assertEquals( 2, sv.size() );
 		assertEquals( s, sv.get( ValueFactoryTest1._mf_tipe ) );
 		assertEquals( value, sv.get( ValueFactoryTest1._mf_x ) );
@@ -1080,7 +1081,7 @@
 	
 	private void testS4Import(String s, Object[] value)
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_S4, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S4, vf );
 		sv.put( ValueFactoryTest1._mf_tipe, s );
 		sv.put( ValueFactoryTest1._mf_x, value );
 		S4 myS4 = (S4) vf.importCustomValue( sv );
@@ -1091,7 +1092,7 @@
 	private void testExcp5Export(String msg, int code, Object value)
 	{
 		StructValue sv = vf.exportCustomValue( new Excp5( msg, code, value ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp5 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp5 );
 		assertEquals( 3, sv.size() );
 		assertEquals( msg, sv.get( ValueFactoryTest1._mf_msg ) );
 		assertEquals( code, sv.get( ValueFactoryTest1._mf_code ) );
@@ -1100,7 +1101,7 @@
 	
 	private void testExcp5Import(String msg, int code, Object value)
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp5, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp5, vf );
 		sv.put( ValueFactoryTest1._mf_msg, msg );
 		sv.put( ValueFactoryTest1._mf_code, code );
 		sv.put( ValueFactoryTest1._mf_x, value );		
@@ -1113,7 +1114,7 @@
 	private void testExcp6Export(String msg, int code, Object[] value)
 	{
 		StructValue sv = vf.exportCustomValue( new Excp6( msg, code, value ) );
-		sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_Excp6 );
+		sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp6 );
 		assertEquals( 3, sv.size() );
 		assertEquals( msg, sv.get( ValueFactoryTest1._mf_msg ) );
 		assertEquals( code, sv.get( ValueFactoryTest1._mf_code ) );
@@ -1122,7 +1123,7 @@
 	
 	private void testExcp6Import(String msg, int code, Object[] value)
 	{
-		StructValue sv = new StructValue( ValueFactoryTest1._mt_etch_tests_Test1_Excp6, vf );
+		StructValue sv = new StructValue( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_Excp6, vf );
 		sv.put( ValueFactoryTest1._mf_msg, msg );
 		sv.put( ValueFactoryTest1._mf_code, code );
 		sv.put( ValueFactoryTest1._mf_x, value );		

Modified: incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestXml.java
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestXml.java?rev=739033&r1=738969&r2=739033&view=diff
==============================================================================
--- incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestXml.java (original)
+++ incubator/etch/trunk/tests/src/test/java/org/apache/etch/tests/TestXml.java Thu Jan 29 21:50:44 2009
@@ -15,7 +15,7 @@
  * under the License.
  */
 
-package etch.tests;
+package org.apache.etch.tests;
 
 import static junit.framework.Assert.assertEquals;
 import static junit.framework.Assert.assertNotNull;
@@ -50,7 +50,7 @@
 		//String userDir = System.getProperty("user.dir");
 		try
 		{
-			File f = new File("tests/target/generated-sources/main/etch/xml/etch/tests/Test1.xml");
+			File f = new File("tests/target/generated-sources/main/etch/xml/org/apache/etch/tests/Test1.xml");
 			
 			document = builder.parse(f);
 		}
@@ -79,7 +79,7 @@
 		assertEquals(list.getLength(), 1);
 		
 		String moduleName = list.item(0).getAttributes().getNamedItem("name").getNodeValue();
-		assertEquals(moduleName, "etch.tests");
+		assertEquals(moduleName, "org.apache.etch.tests");
 		
 		// verify that no unknown attr exist
 		assertTrue(onlyAttrsOfName(list.item(0), new String[] {"name"}));
@@ -187,7 +187,7 @@
 		
 		Node externNode = list.item(nodeCount++);
 		
-		checkExternProperties(externNode, "Blob", "1658093806", "etch.tests.Test1.Blob");
+		checkExternProperties(externNode, "Blob", "-1308039838", "org.apache.etch.tests.Test1.Blob");
 		checkExternMapProperties(externNode, "java", "StrIntHashMap", "org.apache.etch.bindings.java.util.StrIntHashMap", "StrIntHashMapSerializer",  "org.apache.etch.bindings.java.util.StrIntHashMapSerializer");
 		checkExternMapProperties(externNode, "csharp", "StrIntHashMap", "Etch.Util", "StrIntHashMapSerializer",  "Etch.Util");
 	}
@@ -205,7 +205,7 @@
 		
 		Node enumNode = list.item(nodeCount++);
 		
-		checkEnumProperties(enumNode, "E1", "1975259965", "etch.tests.Test1.E1", "blah");
+		checkEnumProperties(enumNode, "E1", "874541489", "org.apache.etch.tests.Test1.E1", "blah");
 		checkEnumValueProperties(enumNode, "A", "352988284");
 		checkEnumValueProperties(enumNode, "B", "352988285");
 		checkEnumValueProperties(enumNode, "C", "352988286");
@@ -226,7 +226,7 @@
 		
 		Node structNode = list.item(nodeCount++);
 		
-		checkStructProperties(structNode, "S1", "1976178351", "etch.tests.Test1.S1", "null", "blah");
+		checkStructProperties(structNode, "S1", "875459875", "org.apache.etch.tests.Test1.S1", "null", "blah");
 		checkStructValueProperties(structNode, "x", "352988339", "x", "int", "true", "false", null, "value");
 		checkStructValueProperties(structNode, "y", "352988340", "y", "int", "true", "false", null, "value");
 		checkStructValueProperties(structNode, "z", "352988341", "z", "int", "true", "false", null, "value");
@@ -263,7 +263,7 @@
 		
 		Node exceptionNode = list.get(nodeCount++);
 		
-		checkExceptionProperties(exceptionNode, "Excp1", "false", "-948573664", "etch.tests.Test1.Excp1", "null", "blah");
+		checkExceptionProperties(exceptionNode, "Excp1", "false", "-1446075732", "org.apache.etch.tests.Test1.Excp1", "null", "blah");
 		checkExceptionValueProperties(exceptionNode, "msg", "769750364", "msg", "string", "false", null, "value");
 		checkExceptionValueProperties(exceptionNode, "code", "-325551150", "code", "int", "false", null, "value");
 		
@@ -287,22 +287,22 @@
 		
 		Node methodNode = list.item(nodeCount++);
 		
-		checkMethodProperties(methodNode, "nothing", "1454434908", "etch.tests.Test1.nothing", "free", "false", "both", null, "do absolutely nothing", null);
+		checkMethodProperties(methodNode, "nothing", "1830690024", "org.apache.etch.tests.Test1.nothing", "free", "false", "both", null, "do absolutely nothing", null);
 		checkAuthorize(methodNode, null);
-		checkResult(methodNode, "-1179726759", "etch.tests.Test1._result_nothing", "void", "true", "false", null, null);
+		checkResult(methodNode, "793503461", "org.apache.etch.tests.Test1._result_nothing", "void", "true", "false", null, null);
 
 		methodNode = list.item(nodeCount++);
 		
-		checkMethodProperties(methodNode, "_result_nothing", "-1179726759", "etch.tests.Test1._result_nothing", 
+		checkMethodProperties(methodNode, "_result_nothing", "793503461", "org.apache.etch.tests.Test1._result_nothing", 
 				"none", "true", "both", "4000", null, "result");
 		checkAuthorize(methodNode, null);
 		
 		methodNode = list.item(nodeCount++);
 		
-		checkMethodProperties(methodNode, "incr", "2051959333", "etch.tests.Test1.incr", "queued", "false", "both", null, "Increments a value by one.", null);
+		checkMethodProperties(methodNode, "incr", "-914174311", "org.apache.etch.tests.Test1.incr", "queued", "false", "both", null, "Increments a value by one.", null);
 		checkAuthorize(methodNode, null);
 		checkMethodFieldProperties(methodNode, "x", "352988339", "x", "int", "true", "false", null, "a value");
-		checkResult(methodNode, "1151937128", "etch.tests.Test1._result_incr", "int", "true", "false", null, "a value one larger.");
+		checkResult(methodNode, "-507533604", "org.apache.etch.tests.Test1._result_incr", "int", "true", "false", null, "a value one larger.");
 		
 	/*	methodNode = list.item(nodeCount++);