Package java.lang

Examples of java.lang.Class1_5Test$e1


  /** */
  @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 )
    {
View Full Code Here


 
  /** */
  @Test public void  testE1() {
    try
    {
      E1 a  = null;
      testServer.p_E1( a );
      testClient.p_E1( a );
    }
    catch ( UnsupportedOperationException e )
    {
View Full Code Here

 
  /** */
  @Test public void  testE1Array() {
    try
    {
      E1 a[]  = null;
      testServer.p_E1_array( a );
      testClient.p_E1_array( a );
    }
    catch ( UnsupportedOperationException e )
    {
View Full Code Here

 
  /** */
  @Test public void  testCanM15() {
    try
    {
      E1 b = null;
      testServer.can_m15(b);
      testClient.can_m15(b);
    }
    catch ( UnsupportedOperationException e )
    {
View Full Code Here

 
  /** @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_etch_tests_Test1_p_E1,
      new Field[] {},
      new Object[] {},
View Full Code Here

 
  /** @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_etch_tests_Test1_p_E1,
      new Field[] { ValueFactoryTest1._mf_a },
      new Object[] { a },
View Full Code Here

 
  /** @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,
View Full Code Here

  @org.junit.Test
  public void test_S2_export()
  {
    S1 a = new S1( 21, 22, 23 );
    S1 b = new S1( 31, 32, 33 );
    E1 c = E1.A;
   
    StructValue sv = vf.exportCustomValue( new S2( a, b, c ) );
    sv.checkType( ValueFactoryTest1._mt_etch_tests_Test1_S2 );
    assertEquals( 3, sv.size() );
   
View Full Code Here

 
  private void testEnumImport( E1 e, Type t, Field f )
  {
    StructValue sv = new StructValue( t, vf );
    sv.putf, true );
    E1 a = (E1) vf.importCustomValue( sv );
    assertSame( e, a );
  }
View Full Code Here

  @org.junit.Test
  public void test_S2_export()
  {
    S1 a = new S1( 21, 22, 23 );
    S1 b = new S1( 31, 32, 33 );
    E1 c = E1.A;
   
    StructValue sv = vf.exportCustomValue( new S2( a, b, c ) );
    sv.checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1_S2 );
    assertEquals( 3, sv.size() );
   
View Full Code Here

TOP

Related Classes of java.lang.Class1_5Test$e1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.