Commit graph

47 commits

Author SHA1 Message Date
Derek Williams
eab78b383d Add Future.orElse(x) to supply value if future expires 2011-06-20 16:22:46 -06:00
Derek Williams
d1b8b475fa Silence some more noisy tests 2011-06-20 15:11:32 -06:00
Derek Williams
2c11662448 Improved TestEventListener 2011-06-19 12:06:20 -06:00
Derek Williams
6eec2aee09 tracking down reason for failing scalacheck test, jvm needs '-XX:-OmitStackTraceInFastThrow' option so it doesn't start giving exceptions with no message or stacktrace. Will try to find better solution. 2011-06-18 16:43:38 -06:00
Derek Williams
6b73e0982a Added TestEventListener 2011-06-17 16:45:36 -06:00
Derek Williams
389893a0cc Merging all my branches together 2011-06-17 12:41:40 -06:00
Derek Williams
9466e4a71d wip - add detailed unit tests and scalacheck property checks 2011-06-17 06:55:24 -06:00
Derek Williams
964dd76f1f Merge branch 'master' into nio-actor 2011-06-14 12:40:16 -06:00
Jonas Bonér
26500bed09 1. Removed implicit scoped timeout in ? method.
Reason: 'pingPongActor.?(Ping)(timeout = TimeoutMillis)' breaks old user code and is so ugly. It is not worth it. Now user write (as he used to): 'pingPongActor ? (Ping, TimeoutMillis)'
2. Fixed broken Cluster communication
3. Added constructor with only String arg for UnhandledMessageException to allow client instantiation of remote exception

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-14 14:26:13 +02:00
Derek Williams
e92672fb4b Merge branch 'master' into nio-actor 2011-06-13 22:38:02 -06:00
Derek Williams
e18cc7bac6 revert changes to java api 2011-06-13 22:31:06 -06:00
Derek Williams
cbdfd0fe23 Fix Future type issues 2011-06-13 20:25:31 -06:00
Derek Williams
d1a71a1aba Merge branch 'master' into nio-actor 2011-06-13 16:58:44 -06:00
Roland
ca592ef1b4 Merge branch 'master' of github.com:jboner/akka
Conflicts:
	akka-actor/src/main/scala/akka/actor/Actor.scala
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
	akka-actor/src/main/scala/akka/actor/TypedActor.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterActorRef.scala
	akka-cluster/src/main/scala/akka/cluster/ReplicatedClusterRef.scala
	akka-durable-mailboxes/akka-mailboxes-common/src/main/scala/akka/actor/mailbox/DurableDispatcher.scala
	akka-testkit/src/test/scala/akka/testkit/TestActorRefSpec.scala
	akka-tutorials/akka-tutorial-second/src/main/java/akka/tutorial/java/second/Pi.java
2011-06-14 00:19:54 +02:00
Viktor Klang
fa0478bc32 Replacing !!! with ? 2011-06-13 13:43:21 +02:00
Derek Williams
4967c8cb72 might have a workable solution to stack overflow 2011-06-04 17:19:24 -06:00
Derek Williams
9d91990135 Added failing test due to stack overflow, will try and fix 2011-06-04 08:45:44 -06:00
Viktor Klang
b0952e5212 Renaming Future.failure to Future.recover 2011-06-02 13:33:49 -07:00
Viktor Klang
e94b722a4b Adding withFilter to Future, fixing signature of filter, cleaning up foreach 2011-05-26 19:33:03 +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
d0b27c43b7 Use Promise in tests 2011-05-03 18:52:58 -06:00
Derek Williams
5b18f18ffd Fix bug with 'Future << x', must be used within a 'flow' block now 2011-05-03 18:49:14 -06:00
Derek Williams
67f1e2fbca Fix Future.flow compile time type safety 2011-05-02 14:44:40 -06: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
7d5bc13163 Removing uses of awaitBlocking in the FutureSpec 2011-04-28 16:23:03 +02:00
Derek Williams
485013a353 Dispatcher executed Future will be cleaned up even after expiring 2011-04-27 20:45:39 -06:00
Derek Williams
43fc3bf463 Add failing test for Ticket #812 2011-04-27 19:39:15 -06:00
Viktor Klang
800840719f Making it impossible to complete a future after its expired, and not run onComplete callbacks if it hasnt been completed before expiry, fixing ticket #811 2011-04-27 16:52:19 +02:00
Viktor Klang
82a11110d3 Removing awaitValue and valueWithin, and adding await(atMost: Duration) 2011-04-27 15:34:42 +02:00
Jonas Bonér
2e7c76dd98 Rebased from master 2011-04-27 00:38:10 +02:00
Viktor Klang
233310b807 Merge with upstream 2011-04-26 14:04:43 +02:00
Viktor Klang
0fbf8d3c65 Added a test to validate the API, it´s gorgeous 2011-04-26 13:42:24 +02:00
Viktor Klang
d567a08849 Added a test to validate the API, it´s gorgeous 2011-04-26 13:37:06 +02:00
Viktor Klang
0b5ab21128 Adding yet another CPS test 2011-04-26 11:41:26 +02:00
Viktor Klang
25f2824b63 Adding a test for the emulation of blocking 2011-04-26 11:17:29 +02:00
Derek Williams
74fcef3891 Add Future.failure 2011-04-25 16:14:07 -06:00
Derek Williams
da8e5064ef Fix failing tests 2011-04-25 14:55:49 -06:00
Derek Williams
997151e49c Improve pattern matching within for comprehensions with Future 2011-04-24 16:05:28 -06:00
Derek Williams
5dfc416607 make test more aggressive 2011-04-23 09:21:04 -06:00
Derek Williams
530be7b95d Fix CompletableFuture.<<(other: Future) to return a Future instead of the result 2011-04-23 09:14:20 -06:00
Derek Williams
eecfea5c5e Add additional test to make sure Future.flow does not block on long running Futures 2011-04-23 07:42:30 -06:00
Derek Williams
120f12d739 Adding delimited continuations to Future 2011-04-22 16:39:21 -06:00
Derek Williams
ff711a4253 Add Java API versions of Future.{traverse, sequence}, closes #786 2011-04-15 13:09:53 -06: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
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
Renamed from akka-actor/src/test/scala/akka/dispatch/FutureSpec.scala (Browse further)