Examples of testReferenceSharingWithinArray()


Examples of org.jboss.test.iiop.interfaces.StatelessSession.testReferenceSharingWithinArray()

      int n = 100;
      Object[] original = new Object[n];
      for (int i = 0; i < n; i++)
         original[i] = new Boo("t" + i, "boo array test");
      Object[] echoedBack =
         session.testReferenceSharingWithinArray(original);
      assertEquals(2 * n, echoedBack.length);
      for (int i = 0; i < n; i++)
      {
         assertEquals(original[i], echoedBack[i]);
         assertEquals(original[i], echoedBack[i + n]);
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.