Examples of UnionDefaultType


Examples of org.jacorb.test.UnionDefaultType

    */
    @Test
    public void testInitDynAnyFromDynAny ()
   {
      String msg;
      UnionDefaultType type;
      org.omg.CORBA.Any any = null;
      org.omg.CORBA.TypeCode tc = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynUnion dynAny2 = null;

      tc = UnionDefaultTypeHelper.type ();
      dynAny = createDynAnyFromTypeCode (tc);

      type = new UnionDefaultType ();
      type.win (10);
      any = orb.create_any ();
      UnionDefaultTypeHelper.insert (any, type);
      dynAny2 = createDynAnyFromAny (any);

      msg = "Failed to initialize a DynAny object from another DynAny ";
View Full Code Here

Examples of org.jacorb.test.UnionDefaultType

    */
    @Test
    public void testInitDynAnyFromAny ()
   {
      String msg;
      UnionDefaultType type;
      org.omg.CORBA.Any any = null;
      org.omg.CORBA.TypeCode tc = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynUnion dynAny2 = null;

      tc = UnionDefaultTypeHelper.type ();
      dynAny = createDynAnyFromTypeCode (tc);

      type = new UnionDefaultType ();
      type.win (10);
      any = orb.create_any ();
      UnionDefaultTypeHelper.insert (any, type);
      dynAny2 = createDynAnyFromAny (any);

      msg = "Failed to initialize a DynAny object from an Any object ";
View Full Code Here

Examples of org.jacorb.test.UnionDefaultType

    */
    @Test
    public void testDestroyDynAny ()
   {
      String msg;
      UnionDefaultType type;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynUnion dynAny = null;

      type = new UnionDefaultType ();
      type.win (10);
      any = orb.create_any ();
      UnionDefaultTypeHelper.insert (any, type);
      dynAny = createDynAnyFromAny (any);
      dynAny.destroy ();

View Full Code Here

Examples of org.jacorb.test.UnionDefaultType

    */
    @Test
    public void testDestroyComponent ()
   {
      String msg;
      UnionDefaultType type;
      org.omg.CORBA.Any any = null;
      org.omg.DynamicAny.DynUnion dynAny = null;
      org.omg.DynamicAny.DynAny comp = null;

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

      try
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.