Viktor Klang
fff4109cb5
Merge branch 'remote_deluxe'
2011-01-04 15:25:27 +01:00
Viktor Klang
18c8098fd9
Minor typed actor lookup cleanup
2011-01-04 15:23:33 +01:00
Roland Kuhn
cb3135c9b7
Merge branch 'testkit'
2011-01-04 13:51:39 +01:00
Roland Kuhn
be655aa323
fix up indentation
2011-01-04 13:50:50 +01:00
Viktor Klang
dbe6f203b3
Removing ActorRegistry object, UntypedActor object, introducing akka.actor.Actors for the Java API
2011-01-04 13:24:28 +01:00
momania
b680c613f8
Merge branch 'testkit' of git-proxy:jboner/akka into testkit
...
Conflicts:
akka-actor/src/test/scala/akka/actor/actor/FSMTimingSpec.scala
2011-01-04 09:41:47 +01:00
momania
dc1fe991bb
small adjustment to the example, showing the correct use of the startWith and initialize
2011-01-04 09:32:13 +01:00
Roland Kuhn
639b141cdc
also test custom whenUnhandled fall-through
2011-01-03 23:06:28 +01:00
Roland Kuhn
12d4942853
merge Irmo's changes and add test case for whenUnhandled
2011-01-03 21:01:11 +01:00
Roland Kuhn
094b11cae3
remove one more allocation in hot path
2011-01-03 20:04:02 +01:00
momania
dfd18968c8
wrap initial sending of state to transition listener in CurrentState object with fsm actor ref
2011-01-03 20:02:03 +01:00
momania
c66bbb566d
add fsm self actor ref to external transition message
2011-01-03 19:50:53 +01:00
momania
5094e87df7
Move handleEvent var declaration _after_ handleEventDefault val declaration. Using a val before defining it causes nullpointer exceptions...
2011-01-03 19:37:23 +01:00
Roland Kuhn
817395f454
change indentation to 2 spaces
2011-01-03 18:50:42 +01:00
Viktor Klang
435de7b689
Merge with master
2011-01-03 15:03:45 +01:00
Viktor Klang
00840c8f5a
Adding support for non-delivery notifications on server-side as well + more code cleanup
2011-01-03 14:44:15 +01:00
Viktor Klang
7a0e8a82de
Major code clanup, switched from nested ifs to match statements etc
2011-01-03 13:49:39 +01:00
Viktor Klang
a61e591b2a
Putting the Netty-stuff in akka.remote.netty and disposing of RemoteClient and RemoteServer
2011-01-03 12:42:30 +01:00
momania
61b4ded1bd
Removed generic typed classes that are only used in the FSM itself from the companion object and put back in the typed FSM again so they will take same types.
2011-01-03 12:03:38 +01:00
momania
80ac75ac38
fix tests
2011-01-03 11:40:04 +01:00
momania
9f664711c0
- make transition handler a function taking old and new state avoiding the default use of the transition class
...
- only create transition class when transition listeners are subscribed
2011-01-03 11:35:27 +01:00
Viktor Klang
8e522f4a03
Removing PassiveRemoteClient because of architectural problems
2011-01-03 11:25:27 +01:00
momania
33a628a0d1
stop the timers (if any) while terminating
2011-01-03 11:12:40 +01:00
Viktor Klang
63a182afd7
Added lock downgrades and fixed unlocking ordering
2011-01-01 23:18:51 +01:00
Viktor Klang
d5095be95d
Minor code cleanup
2011-01-01 22:20:43 +01:00
Roland Kuhn
227f2bb7c9
convert test to WordSpec with MustMatchers
2011-01-01 21:15:10 +01:00
Roland Kuhn
91e210ebbb
fix fallout of Duration changes in STM tests
...
- document change in Java API
2011-01-01 21:12:12 +01:00
Viktor Klang
f679dd06ab
Added support for passive connections in Netty remoting, closing ticket #507
2011-01-01 21:01:44 +01:00
Roland Kuhn
6a672747b9
make TestKit assertions nicer / improve Duration
2010-12-31 17:57:08 +01:00
Roland Kuhn
da03c0552a
remove unnecessary allocations in hot paths
2010-12-31 15:53:32 +01:00
Roland Kuhn
a45fc955e9
flesh out FSMTimingSpec
...
- add expectNoMsg and receiveWhile to TestKit
- add Ev(...) convenience extractor for FSM.Event
- switch to System.nanoTime for TestKit
2010-12-30 22:43:24 +01:00
Viktor Klang
718f831650
Adding support for failed messages to be notified to listeners, this closes ticket #587
2010-12-30 14:59:00 +01:00
Viktor Klang
0bdb5d5454
Adding possibility to set id for TypedActor
2010-12-30 13:23:09 +01:00
Roland Kuhn
68c0f7c8e9
add first usage of TestKit
...
- rename expect... methods to expectMsg... to avoid clash with scalatest
- add access to testActor, e.g. for registration of that actor with
others
- add facility for ignoring messages in testActor, which would only
clutter the test spec
2010-12-29 21:47:05 +01:00
Viktor Klang
4994b13fd5
Removed if statement because it looked ugly
2010-12-29 18:22:36 +01:00
Viktor Klang
960e161659
Fixing #586 and #588 and adding support for reconnect and shutdown of individual clients
2010-12-29 17:59:38 +01:00
Viktor Klang
b51a4fec64
Minor refactoring to ActorRegistry
2010-12-29 16:44:13 +01:00
Viktor Klang
236eecebcf
Moving shared remote classes into RemoteInterface
2010-12-29 16:08:43 +01:00
Viktor Klang
c120589684
Changed wording in the unoptimized local scoped spec
2010-12-29 12:51:58 +01:00
Viktor Klang
0a6567ed80
Adding tests for optimize local scoped and non-optimized local scoped
2010-12-29 12:38:16 +01:00
Roland Kuhn
e83ef89aad
code cleanup (thanks, Viktor and Irmo)
2010-12-29 11:23:24 +01:00
Viktor Klang
83c8bb7767
Moved all actorOf-methods from Actor to ActorRegistry and deprecated the forwarders in Actor
2010-12-29 10:59:04 +01:00
Roland Kuhn
ab10f6c710
revamp TestKit (with documentation)
...
- add implicit wait bounding from within() blocks
- add class matching
- add test actor configuration and stop facilities
2010-12-28 23:51:41 +01:00
Roland Kuhn
b868c909e0
Improve Duration classes
...
- add more factories and implicits (for Double)
- add extractors for deconstruction and string parsing
- fix bug in infinite durations (comparisons were inverted)
2010-12-28 23:50:08 +01:00
Viktor Klang
9309c98bb9
Fixing erronous test
2010-12-28 19:26:04 +01:00
Roland Kuhn
4838121d0e
add facility for changing stateTimeout dynamically
2010-12-28 17:30:13 +01:00
Viktor Klang
d0f94b9e19
Adding additional tests
2010-12-28 14:52:22 +01:00
Viktor Klang
0f87bd83d3
Adding example in test to show how to test remotely using only one registry
2010-12-28 14:34:06 +01:00
Viktor Klang
953d155543
Fixed logging glitch in ReflectiveAccess
2010-12-28 11:53:28 +01:00
Viktor Klang
ef9c01ecee
Making EmbeddedAppServer work without AKKA_HOME
2010-12-28 11:36:23 +01:00