Examples of UnionDefaultLongType


Examples of org.jacorb.test.UnionDefaultLongType

   public void testUnionDefaultLong ()
   {
      String msg;
      int compCount = -1;
      int discVal = 0;
      UnionDefaultLongType type;
      boolean hasNoActiveMember = true;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynAny disc = null;
      org.omg.DynamicAny.DynUnion dynAny = null;

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

      // test activating the default member
View Full Code Here

Examples of org.jacorb.test.UnionDefaultLongType

    public void testUnionDefaultLong ()
   {
      String msg;
      int compCount = -1;
      int discVal = 0;
      UnionDefaultLongType type;
      boolean hasNoActiveMember = true;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynAny disc = null;
      org.omg.DynamicAny.DynUnion dynAny = null;

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

      // test activating the default member
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.