Package test

Examples of test.XInterfaceTest


      testSequenceOfCalls(remote_xCallMe);

 
    // test triple to check if transporting the same interface multiple
    // times causes any problems
    XInterfaceTest rRTest = xTestFactory.createInterfaceTest();
    XInterfaceTest rRTest2 = xTestFactory.createInterfaceTest();
      XInterfaceTest rRTest3 = xTestFactory.createInterfaceTest();

    rRTest.setIn(remote_xCallMe);
    rRTest2.setIn(remote_xCallMe);
      rRTest3.setIn(remote_xCallMe);
    if(!UnoRuntime.areSame(rRTest2.get(), remote_xCallMe))
      System.err.println("remote set/get interface failure");
 
    rRTest.setIn(local_xCallMe);
    rRTest2.setIn(local_xCallMe);
    rRTest3.setIn(local_xCallMe);
    if(!UnoRuntime.areSame(rRTest2.get(), local_xCallMe))
      System.err.println("local set/get interface failure");

    XCallMe r[] = new XCallMe[] {remote_xCallMe};
    rRTest.setIn(remote_xCallMe);
View Full Code Here

TOP

Related Classes of test.XInterfaceTest

Copyright © 2018 www.massapicom. 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.