Commit graph

28 commits

Author SHA1 Message Date
Viktor Klang
f9d0b188af Removing ActorRef.isDefinedAt and Future.empty and moving Future.channel to Promise, renaming future to promise for the channel 2011-06-04 12:42:06 -07:00
Roland
4809b63fda fix bad move of CallingThreadDispatcherModelSpec 2011-05-19 23:08:39 +02:00
Roland
a48f6fdf90 add copyright headers 2011-05-19 21:34:21 +02:00
Jonas Bonér
a7311c83e6 Added Scalariform sbt plugin which formats code on each compile. Also checking in reformatted code 2011-05-18 17:25:30 +02:00
Jonas Bonér
2655d44ee9 Merged wip-2.0 branch with latest master 2011-05-16 12:32:00 +02:00
Derek Williams
846d63aa92 Merge branch 'master' into delimited-continuations
Conflicts:
	akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
	akka-actor/src/main/scala/akka/dispatch/Future.scala
	project/build/AkkaProject.scala
2011-04-30 08:59:45 -06:00
Viktor Klang
c2486cd52c Fixing ticket 808 2011-04-29 17:15:00 +02:00
Patrik Nordwall
6576cd51e9 Scala style fixes, added parens for side effecting shutdown methods 2011-04-29 10:20:16 +02:00
Derek Williams
485013a353 Dispatcher executed Future will be cleaned up even after expiring 2011-04-27 20:45:39 -06:00
Jonas Bonér
fb008632cb All tests passing except akka-remote 2011-04-27 15:00:41 +02:00
Jonas Bonér
2e7c76dd98 Rebased from master 2011-04-27 00:38:10 +02:00
Roland
df9be27718 test exception reception on TestActorRef.apply() 2011-04-21 21:59:12 +02:00
Roland
cb332b2756 make testActor.dispatcher=CallingThreadDispatcher
- it's needed for unit testing, and it does not hurt since testActor
  does not send anything
2011-04-21 21:31:30 +02:00
Roland
b6446f50dd proxy isDefinedAt/apply through TestActorRef 2011-04-21 21:31:24 +02:00
Roland Kuhn
9c539e96fe add TestActorRef
- add adaptation of ActorRefSpec test suite
- add some more specific tests
2011-04-16 22:20:04 +02:00
Roland Kuhn
85daa9f8e2 Merge branch 'master' into wip-testkit 2011-04-15 20:35:55 +02:00
Patrik Nordwall
3c8e375f30 Added parens to stop 2011-04-12 10:53:56 +02:00
Patrik Nordwall
087191f19f Added parens to start 2011-04-12 09:56:17 +02:00
Patrik Nordwall
d4510831f3 fixed warnings, error -> sys.error 2011-04-08 14:43:15 +02:00
patriknw
0abf51d878 moved tests from akka-actor to new module akka-actor-tests to fix circular dependencies between testkit and akka-actor 2011-04-06 07:45:42 +02:00
Roland Kuhn
b169f35643 fix error handling in TestKit.within
restore outer deadline in case the code block does throw an exception.
This is done in order to reduce the number of follow-on test failures.
2011-03-27 18:15:40 +02:00
Roland Kuhn
03ae6100cd document CTD adaption of ActorModelSpec 2011-03-27 10:25:01 +02:00
Jonas Bonér
711e62fc3f Moved EventHandler to 'akka.event' plus added 'error' method without exception param 2011-03-23 15:12:09 +01:00
Roland Kuhn
52e5e35e50 Merge branch 'wip-CallingThreadDispatcher'
Conflicts:
	akka-actor/src/test/scala/akka/dispatch/ActorModelSpec.scala
	project/build/AkkaProject.scala
both resolved by "union" approach

- change wavesOfActors test for CTD: scheduling SHUTDOWN 10000 times does not
  work so well...
- add executeFuture with trivial implementation, TBC
2011-03-17 22:18:39 +01:00
Roland Kuhn
d15e5e7919 ignore VIM swap files (and clean up previous accident) 2011-03-17 17:59:22 +01:00
Roland Kuhn
0e66cd0d8c add locking to CTD-mbox
Up to now it relied on the ActorRef's lock, but that has the side effect that a
large time may pass between the suspend test and the actual execution. With
this lock in place, the ActorRef lock should never block and the time between
suspend and the last actor execution is shortened to some cycles (modulo GC).
2011-03-06 22:45:44 +01:00
Roland Kuhn
e1b266c840 add test to ActorModelSpec
dispatcherShouldHandleQueueingFromMultipleThreads tests for possible race
conditions in prohibiting multiple threads running the same actor concurrently
2011-03-06 21:53:09 +01:00
Roland Kuhn
3d28e6ad0f create akka-testkit subproject
- modify AkkaProject.scala
- move CallingThreadDispatcher & Spec and TestKit into akka-testkit
- update FSMTimingSpec accordingly
2011-03-05 14:36:08 +01:00