Package org.openiaml.emf.properties.library

Examples of org.openiaml.emf.properties.library.ReferencesCycles.evaluate()


   * This model should have exactly 6 cycles.
   */
  public void testBigInfiniteLoop2() {
    ReferencesCycles rc = new ReferencesCycles("references cycles", this);
    EObject model = loadModelDirectly("tests/BigInfiniteLoop-2.iaml");
    Object result = rc.evaluate(model);
    assertTrue("Result should be Number, is: " + result.getClass(), Number.class.isInstance(result));
   
    assertEquals(6, (Number) result);
  }

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.