10461047104810491050105110521053
private void testEnumImport( E1 e, Type t, Field f ) { StructValue sv = new StructValue( t, vf ); sv.put( f, true ); E1 a = (E1) vf.importCustomValue( sv ); assertSame( e, a ); }
1089109010911092109310941095109610971098109911001101
/** @throws Exception */ @org.junit.Test public void method_p_E1_null() throws Exception { E1 a = null; svc.xresult = a; E1 r = test.p_E1( a ); assertObjectEquals( a, r ); check( What.CALL, ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1, new Field[] {}, new Object[] {},
1105110611071108110911101111111211131114111511161117
/** @throws Exception */ @org.junit.Test public void method_p_E1() throws Exception { E1 a = E1.A; svc.xresult = a; E1 r = test.p_E1( a ); assertObjectEquals( a, r ); check( What.CALL, ValueFactoryTest1._mt_org_apache_etch_tests_Test1_p_E1, new Field[] { ValueFactoryTest1._mf_a }, new Object[] { a },
113711381139114011411142114311441145114611471148
/** @throws Exception */ @org.junit.Test public void method_p_E1_array() throws Exception { E1 x = E1.A; E1 y = E1.B; E1[] a = { x, y }; svc.xresult = a; E1[] r = test.p_E1_array( a ); assertObjectEquals( a, r ); check( What.CALL,
163164165166167168169170171172173
/** */ @Test public void testTrans() { try { Integer i = new Integer(5); E1 enumA = E1.A; testServer.trans( enumA,i ); testClient.trans( enumA,i ); } catch ( UnsupportedOperationException e ) {
483484485486487488489490491492493
/** */ @Test public void testE1() { try { E1 a = null; testServer.p_E1( a ); testClient.p_E1( a ); } catch ( UnsupportedOperationException e ) {
498499500501502503504505506507508
/** */ @Test public void testE1Array() { try { E1 a[] = null; testServer.p_E1_array( a ); testClient.p_E1_array( a ); } catch ( UnsupportedOperationException e ) {
11581159116011611162116311641165116611671168
/** */ @Test public void testCanM15() { try { E1 b = null; testServer.can_m15(b); testClient.can_m15(b); } catch ( UnsupportedOperationException e ) {