Examples of insert_longlong()


Examples of org.omg.CORBA.Any.insert_longlong()

    @Test
    public void testBug671() throws Exception
    {
        Any _any = getORB().create_any();
        _any.insert_longlong(139192928000000000l);
        runEvaluation(_any, "$ >= 139192928000000000");
    }

    @Test
    public void testAccessNonExistingStructMember() throws Exception
View Full Code Here

Examples of org.omg.CORBA.Any.insert_longlong()

        System.out.println( s.generic( a ) );
       
        // long
        long l = 4711;
        System.out.print("Passing a longlong...");
        a.insert_longlong( l );
        System.out.println( s.generic( a ) );

        // short
        System.out.print("Passing a short...");
        a.insert_short( (short)5 );
View Full Code Here

Examples of org.omg.CORBA.Any.insert_longlong()

    public void test_longlong()
        throws Exception
    {
        long testValue = 4711L;
        Any outAny = setup.getClientOrb().create_any();
        outAny.insert_longlong(testValue);
        assertEquals(testValue, outAny.extract_longlong());

        Any inAny = server.bounce_any(outAny);

        assertEquals(testValue, inAny.extract_longlong());
View Full Code Here

Examples of org.omg.DynamicAny.DynAny.insert_longlong()

      DynAny   dynAny = createDynAnyFromTypeCode (tc);

      String msg = "Value inserted into DynAny object is not equal to value ";
      msg += "extracted from same DynAny object";

      dynAny.insert_longlong (700700L);
      assertEquals (msg, 700700L, dynAny.get_longlong());
   }

      /**
    * Test inserting a basic value into a DynAny that has a different typecode.
View Full Code Here

Examples of org.omg.DynamicAny.DynAny.insert_longlong()

      TypeCode tc     = orb.get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean);
      DynAny   dynAny = createDynAnyFromTypeCode (tc);

      try
      {
          dynAny.insert_longlong (700700L);
          fail ("should have thrown TypeMismatch");
      }
      catch (TypeMismatch ex)
      {
          // ok
View Full Code Here

Examples of org.omg.DynamicAny.DynAny.insert_longlong()

      DynAny   dynAny = createDynAnyFromTypeCode (tc);

      String msg = "Value inserted into DynAny object is not equal to value ";
      msg += "extracted from same DynAny object";

      dynAny.insert_longlong (700700L);
      assertEquals (msg, 700700L, dynAny.get_longlong());
   }

      /**
    * Test inserting a basic value into a DynAny that has a different typecode.
View Full Code Here

Examples of org.omg.DynamicAny.DynAny.insert_longlong()

      TypeCode tc     = orb.get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean);
      DynAny   dynAny = createDynAnyFromTypeCode (tc);

      try
      {
          dynAny.insert_longlong (700700L);
          fail ("should have thrown TypeMismatch");
      }
      catch (TypeMismatch ex)
      {
          // ok
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.