Examples of insert_longlong()


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

  public void testExtract_any()
                       throws BAD_OPERATION
  {
    Any expectedReturn = orb.create_any();
    expectedReturn.insert_longlong(r.nextLong());

    any.insert_any(expectedReturn);

    Any actualReturn = any.extract_any();
    assertEquals("Any inside Any", expectedReturn, actualReturn);
View Full Code Here

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

                        break;
                    }
                case TCKind._tk_longlong:
                    {
                        long value = src.read_longlong();
                        tagValue.insert_longlong(value);
                        dst.write_longlong(value);
                        break;
                    }
                case TCKind._tk_ulonglong:
                    {
View Full Code Here

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

                // zero for numeric types
                returnValue.insert_ulong(0);
                break;
            case TCKind._tk_longlong:
                // zero for numeric types
                returnValue.insert_longlong((long)0);
                break;
            case TCKind._tk_ulonglong:
                // zero for numeric types
                returnValue.insert_ulonglong((long)0);
                break;
View Full Code Here

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

    private void addSFSBVersionComponents(IORInfo iorInfo) {
        long versionNumber = 0;

        Any versionAny = ORB.init().create_any();

        versionAny.insert_longlong(versionNumber);

        byte[] versionValue = null;
        try {
            versionValue = codec.encode_value(versionAny);
        } catch (org.omg.IOP.CodecPackage.InvalidTypeForEncoding e) {
View Full Code Here

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

                        break;
                    }
                case TCKind._tk_longlong:
                    {
                        long value = src.read_longlong();
                        tagValue.insert_longlong(value);
                        dst.write_longlong(value);
                        break;
                    }
                case TCKind._tk_ulonglong:
                    {
View Full Code Here

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

                // zero for numeric types
                returnValue.insert_ulong(0);
                break;
            case TCKind._tk_longlong:
                // zero for numeric types
                returnValue.insert_longlong((long)0);
                break;
            case TCKind._tk_ulonglong:
                // zero for numeric types
                returnValue.insert_ulonglong((long)0);
                break;
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 testBug671() throws Exception
    {
        Any _any = getORB().create_any();
        _any.insert_longlong(139192928000000000l);
        runEvaluation(_any, "$ >= 139192928000000000");
    }
   
    public void testAccessNonExistingStructMember() throws Exception
    {
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.CORBA.Any.insert_longlong()

    }

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

    public void testAccessNonExistingStructMember() throws Exception
    {
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.