DMMN1992 / bbvfsm

Automatically exported from code.google.com/p/bbvfsm
0 stars 0 forks source link

TransitionDictionaryImpl should use LinkedHashMultimap #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The ElevatorStateMachineAcceptanceTest randomly fails when firing Event.GoUp.
This is because the list of transitions are not process in the order that was 
defined.
Using LinkedHashMultimap fixes the problem.

Original issue reported on code.google.com by minggf...@gmail.com on 25 Mar 2012 at 3:41

GoogleCodeExporter commented 8 years ago

Original comment by weibel.l...@gmail.com on 25 Mar 2012 at 7:58

GoogleCodeExporter commented 8 years ago
Definition of ElevatorStateMachineAcceptanceTest was wrong.
But I used LunkedHashMultimap for the transition, although it would be better 
to define non-ambiguous transitions.

Original comment by weibel.l...@gmail.com on 27 Mar 2012 at 4:25