Package org.jacorb.test

Examples of org.jacorb.test.UnionNoDefaultIntType


    * Test comparing DynAny values.  The DynUnion does not have a named member.
    */
   public void testCompareDynAnyUnamedMember ()
   {
      String msg;
      UnionNoDefaultIntType type;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynUnion dynAny2 = null;

      type = new UnionNoDefaultIntType ();

      // use reflection to avoid ORB portability issues
      Class unionClass = type.getClass ();
      Method method = null;

      // determine method to invoke
      try
      {
View Full Code Here


   public void testIterateDynAnyUnamedMember ()
   {
      String msg;
      int compCount = -1;
      boolean seek;
      UnionNoDefaultIntType type;
      org.omg.CORBA.Any any = null;
      org.omg.CORBA.TypeCode tc = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynAny disc = null;

      type = new UnionNoDefaultIntType ();

      // use reflection to avoid ORB portability issues
      Class unionClass = type.getClass ();
      Method method = null;

      // determine method to invoke
      try
      {
View Full Code Here

    */
   public void testUnionNoDefaultCase ()
   {
      String msg;
      int compCount = -1;
      UnionNoDefaultIntType type;
      boolean hasNoActiveMember = false;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynAny disc = null;

      type = new UnionNoDefaultIntType ();
      type.win (10);
      any = orb.create_any ();
      UnionNoDefaultIntTypeHelper.insert (any, type);
      dynAny = createDynAnyFromAny (any);

      // test deactivating the active member
View Full Code Here

TOP

Related Classes of org.jacorb.test.UnionNoDefaultIntType

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.