Commit Graph

25 Commits

Author SHA1 Message Date
Janne Valkealahti
e62b09d2bb Overhaul gradle build
- Focus of this commit is to have modern gradle build.
- Migrate most of a plugin configurations from dsl
  into buildSrc.
- This fixes issues with existing docs build.
- Allows to sign files so that we have that part
  done for central in a build.
- We can skip publishing samples.
- We're able to share similar logic for modules
  which are meant for publish or just being samples.
- It's easier to upgrade gradle versions without
  getting various build issues.
- Relates #1143
2024-03-14 12:26:47 +00:00
Janne Valkealahti
b4c2f1849a Port samples tests to assertj 2020-11-28 14:26:11 +00:00
Ming Deng
9f10700da2 Refactor to junit5
- remove junit4 dependecies
- refactor the unit tests by junit5
- enhance the spring-statemachine-test and spring-statemachine-build-tests so they can work together with junit4/junit5
- relates #779
2019-06-08 07:23:59 +01:00
Janne Valkealahti
64779f4039 Reactive changes for samples
- Relates #750
2019-05-11 09:27:13 +01:00
Janne Valkealahti
7932545ea9 Reactive test changes for samples
- Relates #744
2019-05-11 08:09:02 +01:00
Spring Operator
426fa163b2 URL Cleanup
- Merge/squash #686 and #694
2019-05-03 15:01:31 +01:00
jvalkeal
5d1820e553 Polish cdplayer sample tests
- Now hopefully these tests are more reliable
- Relates #343
2018-02-14 15:28:08 +02:00
Janne Valkealahti
168f6476f9 Adapt to logging changes
- Moving over to log4j2 for test logging.
- Need to follow what happens to commons-logging
  per SPR-14512.
- Relates to #394
2017-04-19 15:12:22 +01:00
Janne Valkealahti
d92b4e54d0 Fix CdPlayerTests
- Attempt to make these tests more reliable
- testPlayWithCdLoadedDeckOpen using wring latch count
  which may cause test failures.
- Relates to #343
2017-04-10 15:20:49 +01:00
Janne Valkealahti
28a23cbf15 Timer interval reset for states
- Add new features around Trigger to arm/disarm
  it so that state entry/exit can stop firing
  TimerTrigger. Default functionality for timer(long)
  still stays same, however timerOnce(long) will
  kick this new functionality where trigger will fire
  once after state has been entered.
- Fixes #165
2016-03-05 11:28:34 +00:00
Janne Valkealahti
c981c5a6ee Update docs
- Remove most of a static class modifiers from docs
  to make things easier if doing copy/paste. Not
  all can be removed because some spring inner
  config classes has to be static.
- Fixes #123
2015-11-26 09:36:47 +00:00
Janne Valkealahti
1648b39de1 Lift requirement of enums for states and events
- Relasing the use of enums where applicable
- Fixes #69
2015-06-03 18:26:21 +01:00
Janne Valkealahti
b73e22864f Add missing headers 2015-05-29 11:32:28 +01:00
Janne Valkealahti
b61f7fd3bb Tweaks to fragile tests #36 2015-05-29 11:06:23 +01:00
Janne Valkealahti
104d6158e8 Fixing fragile tests
- Trying to fix some tests which are fragile due
  to use of timers and regions.
- Relates to #36
2015-05-06 19:51:59 +01:00
Janne Valkealahti
f776a0acc3 Tune samples and update ref docs
- Fix cplayer play logic depending if we pressed
  eject or play.
- Updates to ref docs.
2015-04-09 12:05:19 +01:00
Janne Valkealahti
c3891fc482 Tryind to fix some test issues 2015-04-08 10:33:10 +01:00
Janne Valkealahti
487911b4de StateContext may use wrong statemachine
- Tweaking to keep correct statemachine ref around
  so that StateContext passed to actions can be
  used to send events within submachines.
- This was missed due to missing test and i.e. cdplayer
  should transition into playing state directly via
  and event sent from action which when closed is
  checking if cd is inserted.
- Fixes #33
2015-04-07 22:18:03 +01:00
Janne Valkealahti
45ebce9c64 Updates to docs and samples 2015-04-06 10:56:16 +01:00
Janne Valkealahti
e5c67b1c22 Reference doc updates 2015-04-05 22:26:26 +01:00
Janne Valkealahti
3f3a8bbc65 Updates to cdplayer sample 2015-04-05 18:50:41 +01:00
Janne Valkealahti
e1be34cc92 Fix proper transition into super state
- Big conceptual changes how state transitions
  are handled which now allows more easy ways
  to figure out what to do and where to go.
- Exposing more info via State interface
- Adding tests to samples
- Fixes #30
2015-04-03 10:47:14 +01:00
Janne Valkealahti
85cc2df29e Ref doc updates 2015-03-28 18:53:23 +00:00
Janne Valkealahti
a673615da3 update cdplayer sample 2015-03-21 10:57:27 +00:00
Janne Valkealahti
74af052b72 Add base work for cdplayer sample 2015-03-15 19:39:43 +00:00