Package org.jamesii.core.experiments.execonfig

Examples of org.jamesii.core.experiments.execonfig.OverallParamBlockUpdate


    ParameterBlock afBlock2 =
        testBlock.addSubBlock("a", o).addSubBlock(PATH_ABSTRACT_FACTORY, o);
    afBlock2.addSubBlock(NAME_PARAMETER, o).addSubBlock("b", o);

    Integer newParam = new Integer(23);
    OverallParamBlockUpdate update =
        new OverallParamBlockUpdate(PATH_ABSTRACT_FACTORY, NAME_PARAMETER,
            newParam);

    update.update(testBlock);

    assertTrue(afBlock1.hasSubBlock(NAME_PARAMETER));
    assertTrue(afBlock2.hasSubBlock(NAME_PARAMETER));
    assertEquals(23, afBlock1.getSubBlockValue(NAME_PARAMETER));
    assertEquals(23, afBlock2.getSubBlockValue(NAME_PARAMETER));
View Full Code Here

TOP

Related Classes of org.jamesii.core.experiments.execonfig.OverallParamBlockUpdate

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.