Ignore:
Timestamp:
09/10/13 21:11:41 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • import refactorization: move Tree, Path, etc.

from core to structure package

  • initial serialization implementation
  • improve PrimeExperiment? test
  • many organizational changes and convenience improvements

CHANGELOG:
Make registry in AbstractTree? final.

Move most classes from core to structure package.

Minor changes.

Switch names of Future and FutureHandler?.

Rename ExceptionResultHandler? to ExceptionHandler?.

Rename ExceptionHandler? to ExceptionDispatcherHandler?.

Fix bug in ParamCandidate? cache.

Add missing synchronization to the BufferedDispatcher?.

Develop @Serialized support.

Rework serialization further.

Add serialization/deserialization interface to ValueParam?.

Move getStorageType and isNumeric from Param down to params hierarchy.

Minor changes.

Improve param type induction.

Add TestSerializedClass? for testing new serialization.

Add info files gor GenePool? and Population.

Add standard.expt exemplary netfile.

Add type name field to PropertiesObject?.

Use PropertiesObject? for PropertiesAccess? instead of ordinary map.

Hide getFramsClass is several more places.

More unification accross FramsClass?, Access and Path.

Add ParamCollection?.

Simplify interface for getting params from FramsClass?, Access
or Path.

Make Access.call() interface variadic.

Add arguments(args) convenience wrapper around new Object[] {args}.

Upgrade to apache.commons.lang version 3.1

Minor improvement with Response constructors.

Develop proper result printing in ClientAtServer?.

Add experimentNetsave to PrimeExperiment?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/test/java/com/framsticks/core/LocalTreeTest.java

    r100 r105  
    1212import com.framsticks.model.f0.Schema;
    1313import com.framsticks.model.f0.SchemaBuilder;
     14import com.framsticks.structure.LocalTree;
     15import com.framsticks.structure.Path;
     16import com.framsticks.structure.Tree;
     17import com.framsticks.structure.TreeOperations;
    1418import com.framsticks.test.TestConfiguration;
    1519import com.framsticks.util.dispatching.Dispatching;
     
    2024import com.framsticks.params.types.FloatParam;
    2125
    22 import static com.framsticks.core.TreeOperations.*;
    2326
    2427
    2528import static org.fest.assertions.Assertions.*;
     29import static com.framsticks.params.ParamsUtil.getParam;
     30import static com.framsticks.structure.TreeOperations.*;
    2631
    2732@Test
     
    7580                                assertThat(access.get("se", Double.class)).isEqualTo(1.0);
    7681
    77                                 assertThat(bindAccess(tree, "/parts/2").getFramsClass().getParamEntry("m", FloatParam.class).getDef(Double.class)).isEqualTo(1.0);
    78                                 assertThat(bindAccess(tree, "/parts/2").getFramsClass().getParamEntry("m", FloatParam.class).getMax(Double.class)).isEqualTo(999.0);
     82                                assertThat(getParam(bindAccess(tree, "/parts/2"), "m", FloatParam.class).getDef(Double.class)).isEqualTo(1.0);
     83                                assertThat(getParam(bindAccess(tree, "/parts/2"), "m", FloatParam.class).getMax(Double.class)).isEqualTo(999.0);
    7984                                assertThat(bindAccess(tree, "/parts/2")).isInstanceOf(ReflectionAccess.class);
    8085                                assertThat(Path.to(tree, "/neurodefs").getTopObject()).isInstanceOf(ArrayList.class);
Note: See TracChangeset for help on using the changeset viewer.