Ignore:
Timestamp:
07/02/13 16:20:07 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

CHANGELOG:
Make ProcedureParam? hold only ValueParams?.

Use id instead of names when naming gui components internally.

Basic procedure calling in GUI.

The actual procedure call is currently only backed
by the ObjectInstance?.

Add UnimplementedException?.

Improve naming of various gui elements.

Allow easy navigating in FEST Swing testing.

Add optional explicit order attribute to FramsClassAnnotation?.

That's because java reflection does return declared members
in any specific order. That ordering is needed only for
classes that have no representation in framsticks and need
a deterministic ordering of params.

Add ControlOwner? interface.

Add test for procedure calling in Browser.

First version of ParamAnnotation? for procedures.

Development of ProcedureParam?.

Add draft version of ProcedureParam? implementation in ReflectionAccess?.

Allow viewing FramsClasses? in gui Browser.

Extract ResourceBuilder? from ModelBuilder?.

Remove internalId from Param.

It was currently completely not utilised. Whether it is still needed
after introduction of ParamAnnotation? is arguable.

Add remaining param attributes to ParamAnnotation?.

Change AutoBuilder? semantics.

AutoBuilder? returns list of objects that are to be appended
with methods @AutoAppendAnnotation?.

This allows to omit explicit addition of ModelPackage? to instance
if the instance uses ModelBuilder? (registration of ModelPackage? comes
from schema).

Fix params ordering problem in auto created FramsClasses?.

Improve ObjectInstance?.

Several fixes to ModelBuilder?.

Improve test for ObjectInstance? in Browser.

Make initialization of robot static.

With robot recreated for second browser test, the test hanged
deep in AWT.

Add base convenience base test for Browser tests.

More tests to ObjectInstance?.

Rename Dispatcher.invokeLater() to dispatch().

Add assertDispatch.

It allows assertions in other threads, than TestNGInvoker.
Assertions are gathered after each method invocation and rethrown.

Use timeOut annotation attribute for tests involving some waiting.

Remove firstTask method (merge with joinableStart).

Clean up leftovers.

Remove unused FavouritesXMLFactory (the reading part is already
completely done with generic XmlLoader?, and writing part will be done
based on the same approach if needed).
Move UserFavourite? to the com.framsticks.gui.configuration package.

Remove GenotypeBrowser? as to specific.

This functionality will be available in ObjectInstance?.

Add interface ParamsPackage?.

Package containing registration of Java classes meant to use with
ReflectionAccess? may be in Instance using configuration.

Minor changes.

Make Group immutable.

Add AutoBuilder? interface extending Builder - only those would
be used to automatically build from XML.

Fix groups in FramsClass?.

Minor naming cleanup in Registry.

Add ModelComponent? interface.

All class creating the Model are implementing that interface.

Extract Model.build into ModelBuilder?.

ModelBuilder? will be compatible with other builders
and allow using it from configuration.

Fix NeuroConnection?.

Add synchronous get operation for dispatchers.

Rename JoinableMonitor? to Monitor.

Add ObjectInstance?.

This class is mainly for demonstration
and testing purposes.

Improve FramsServer? runner.

  • improve ExternalProcess? runner,
  • runner can kill the server but also react properly, when the server exists on it's own,
  • set default path to search for framsticks server installation,
  • add LoggingOutputListener?.
Location:
java/main/src/test/resources
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/test/resources/configs/FramsServerTest.xml

    r88 r90  
    33        <import class="com.framsticks.running.FramsServer" />
    44        <import class="com.framsticks.remote.RemoteInstance" />
    5         <FramsServer name="frams" port="9008" />
    6         <RemoteInstance name="remote" address="localhost:9008" />
     5        <import class="com.framsticks.running.LoggingOutputListener" />
     6        <FramsServer name="frams" port="9008">
     7                <LoggingOutputListener />
     8        </FramsServer>
     9        <!-- <RemoteInstance name="remote" address="localhost:9008" /> -->
    710</Framsticks>
  • java/main/src/test/resources/info/Part.info

    r86 r90  
    33
    44prop:
     5id:x
    56name:position.x
    6 id:x
    77type:f
    88flags:1024
    99
    1010prop:
     11id:y
    1112name:position.y
    12 id:y
    1313type:f
    1414flags:1024
    1515
    1616prop:
     17id:z
    1718name:position.z
    18 id:z
    1919type:f
    2020flags:1024
    2121
    2222prop:
     23id:m
    2324name:mass
    24 id:m
    25 type:f
    26 flags:0
     25type:f 0.1 999.0 1.0
    2726
    2827prop:
     28id:s
    2929name:size
    30 id:s
    31 type:f
    32 flags:0
     30type:f 0.1 10.0 1.0
    3331
    3432prop:
     33id:dn
    3534name:density
    36 id:dn
    37 type:f
    38 flags:0
     35type:f 0.2 5.0 1.0
    3936
    4037prop:
     38id:fr
    4139name:friction
    42 id:fr
    43 type:f
    44 flags:0
     40type:f 0.0 4.0 0.4
    4541
    4642prop:
     43id:ing
    4744name:ingestion
    48 id:ing
    49 type:f
    50 flags:0
     45type:f 0.0 1.0 0.25
    5146
    5247prop:
     48id:as
    5349name:assimilation
    54 id:as
    55 type:f
    56 flags:0
     50type:f 0.0 1.0 0.25
    5751
    5852prop:
     53id:rx
    5954name:rot.x
    60 id:rx
    6155type:f
    62 flags:0
    6356
    6457prop:
     58id:ry
    6559name:rot.y
    66 id:ry
    6760type:f
    6861flags:1024
    6962
    7063prop:
     64id:rz
    7165name:rot.z
    72 id:rz
    7366type:f
    7467flags:1024
    7568
    7669prop:
     70id:i
    7771name:info
    78 id:i
    7972type:s
    80 flags:0
    8173
    8274prop:
     75id:Vstyle
    8376name:vis_style
    84 id:Vstyle
    85 type:s
    86 flags:0
     77type:s 0 -1 part
    8778
    8879prop:
     80id:vs
    8981name:visual thickness
    90 id:vs
    91 type:f
    92 flags:0
     82type:f 0.05 0.7 0.3
    9383
    9484prop:
     85id:vr
    9586name:red component
    96 id:vr
    97 type:f
    98 flags:0
     87type:f 0.0 1.0 0.5
    9988
    10089prop:
     90id:vg
    10191name:green component
    102 id:vg
    103 type:f
     92type:f 0.0 1.0 0.5
    10493flags:1024
    10594
    10695prop:
     96id:vb
    10797name:blue component
    108 id:vb
    109 type:f
     98type:f 0.0 1.0 0.5
    11099flags:1024
    111100
  • java/main/src/test/resources/log4j.properties

    r88 r90  
    2727
    2828log4j.logger.com.framsticks=INFO
    29 # log4j.logger.com.framsticks.util.dispatching.JoinableMonitor=DEBUG
    30 # log4j.logger.com.framsticks.util.dispatching.Dispatching=DEBUG
     29# log4j.logger.com.framsticks.parsers.F0Writer=TRACE
     30# log4j.logger.com.framsticks.core.ObjectInstance=DEBUG
     31# log4j.logger.com.framsticks.core.Instance=DEBUG
     32# log4j.logger.com.framsticks.running=DEBUG
    3133# log4j.logger.com.framsticks.parsers.XmlLoader=DEBUG
    3234# log4j.logger.com.framsticks.parsers.MultiParamLoader=TRACE
  • java/main/src/test/resources/parsers/f0_example.txt

    r78 r90  
    1212n:j=0,d=@:p=0.25
    1313n:p=1,d=Nu
    14 #c:0,2
    15 #c:0,2,5.4
    16 #c:1,0
    17 #c:2,0,3.4
    18 #c:0,1,4.5
    19 #c:1,0,5.6
    20 #c:2,1
     14c:0,2
     15c:0,2,5.4
     16c:1,0
     17c:2,0,3.4
     18c:0,1,4.5
     19c:1,0,5.6
     20c:2,1
Note: See TracChangeset for help on using the changeset viewer.