Package org.jamesii.asf.spdm

Examples of org.jamesii.asf.spdm.SelectionTreeFlattener


  /**
   * Test simple cases of selection tree flattening.
   */
  public void testSelectionTreeFlattening() {
    stf = new SelectionTreeFlattener(selectionTrees[0], result);
    stf.flatten();
    assertTrue(result.containsValue(BogusSimulatorFactoryA.class.getName()));
    assertTrue(result.containsKey(stf.getPathSeparator() + "null"
        + stf.getPathSeparator() + ProcessorFactory.class.getName()));
    assertEquals(1, result.size());
View Full Code Here


  /**
   * Test parameter handling for tree flattening.
   */
  public void testSelectionTreeFlatteningWithParameters() {
    stf = new SelectionTreeFlattener(selectionTrees[2], result);
    stf.flatten();
    assertTrue(result.containsValue(FlexibleBogusSimulatorFactory.class.getName()));
    assertTrue(result.containsValue(SelectionTreeTests.TEST_PARAMETER_VALUE));
    assertTrue(result.containsKey(stf.getPathSeparator() + "null"
        + stf.getPathSeparator() + ProcessorFactory.class.getName()));
View Full Code Here

TOP

Related Classes of org.jamesii.asf.spdm.SelectionTreeFlattener

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.