Derek Williams
068e77b74d
Silence some more noisy tests
2011-06-20 15:24:39 -06:00
Derek Williams
d1b8b475fa
Silence some more noisy tests
2011-06-20 15:11:32 -06:00
Derek Williams
dabf14ef4b
Basic scalacheck properties for ByteString
2011-06-19 16:32:21 -06:00
Derek Williams
23dcb5d1fe
Merge branch 'master' into wip-derekjw
2011-06-19 14:49:50 -06:00
Roland
1c97275745
Merge branch 'temp'
2011-06-19 22:24:04 +02:00
Roland
8dffee24ea
Merge branch 'master' of github.com:jboner/akka
2011-06-19 22:22:32 +02:00
Roland
22c067e239
add TestFSMRef docs
2011-06-19 22:20:45 +02:00
Roland
db2d296b81
ActorRef.start() returns this.type
2011-06-19 22:20:42 +02:00
Roland
7deadceec2
move FSMLogEntry into FSM object
2011-06-19 21:44:50 +02:00
Roland
3d40a0f529
add TestFSMRefSpec and make TestFSMRef better accessible
...
- add address argument to TestFSMRef factory
- set address of TestKit.testActor to "testActor#" with monotonically
increasing number #
2011-06-19 21:42:08 +02:00
Roland
b1533cb3d8
add TestFSMRef
2011-06-19 21:25:09 +02:00
Roland
a45267e967
break out LoggingFSM trait and add rolling event log
2011-06-19 21:20:14 +02:00
Roland
39e41c6596
change all actor logging to use Actor, not ActorRef as source instance
2011-06-19 21:07:49 +02:00
Derek Williams
2c11662448
Improved TestEventListener
2011-06-19 12:06:20 -06:00
Derek Williams
b28b9ac4f0
Make it possible to use infinite timeout with Actors
2011-06-19 12:05:27 -06:00
Roland
76e8ef4e24
add debug traceability to FSM (plus docs)
2011-06-19 18:03:01 +02:00
Roland
ca36b556fb
add terminate(Shutdown) to FSM.postStop
2011-06-19 17:45:59 +02:00
Roland
89bc1943c3
FSM: make sure terminating because of Failure is logged
2011-06-19 17:43:32 +02:00
Roland
2852e1a763
make available TestKitLight without implicit ActorRef
2011-06-19 17:41:19 +02:00
Roland
6b6ec0df72
add stateName and stateData accessors to FSM
2011-06-19 17:41:16 +02:00
Roland
1970b96ae5
make TestKit methods return most specific type
...
document all testkit methods
2011-06-19 17:35:11 +02:00
Roland
1e4084e843
document logging and testing settings
2011-06-19 17:08:50 +02:00
Roland
8c80548493
document actor logging options
2011-06-19 17:05:19 +02:00
Roland
f3a7c4149a
document channel and !!/!!! changes
2011-06-19 17:05:16 +02:00
Roland
f770cfca59
improve usability of TestKit.expectMsgPF
...
background: PartialFunction literals don't work if they encounter
overload resolution, because scalac then complains about not fully
defined argument types.
2011-06-19 16:50:35 +02:00
Roland
899b7ccdc0
first part of scala/actors docs
2011-06-19 16:35:08 +02:00
Roland
4c4fc2f058
enable quick build of akka-docs (html)
2011-06-19 16:31:18 +02:00
Derek Williams
ae8555c3dc
Merge branch 'master' into wip-derekjw
2011-06-18 23:34:18 -06:00
Derek Williams
5747fb7e64
Added myself to the team
2011-06-18 22:32:40 -07:00
Derek Williams
e639b2c74d
Start migrating Future to use Actor.Timeout, including support for never timing out. More testing and optimization still needed
2011-06-18 23:23:47 -06:00
Derek Williams
daab5bdbcd
Fix publishing
2011-06-18 21:57:05 -06:00
Derek Williams
bf2a8cdec6
Better solution to ticket #853 , better performance for DefaultPromise if already completed, especially if performing chained callbacks
2011-06-18 20:13:13 -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
bdb163bd2b
Test for null Event message
2011-06-18 16:41:40 -06:00
Roland
cba5faf745
enable actor message and lifecycle tracing
...
- add Actor.LoggingReceive and Actor.loggable()
- also make EventHandler.level writable (@volatile var)
- enable tracing of actor lifecycle
2011-06-18 10:24:40 +02:00
Derek Williams
da5a442728
Nothing to see here... move along...
2011-06-17 22:56:30 -07:00
Derek Williams
95329e4d1b
Add several instances of silencing events
2011-06-17 21:01:32 -06:00
Derek Williams
a5bb34add5
Filter based on message in TestEventListener
2011-06-17 21:00:35 -06:00
Derek Williams
7bde1d80f6
Add akka-testkit as a test dependency
2011-06-17 20:59:51 -06:00
Derek Williams
9bd9a3544e
Merge branch 'master' into wip-derekjw
2011-06-17 16:46:36 -06:00
Derek Williams
6b73e0982a
Added TestEventListener
2011-06-17 16:45:36 -06:00
Roland
d1caf65424
relax FSMTimingSpec timeouts
2011-06-17 22:40:58 +02:00
Roland
bd0b389bf4
introduce generations for FSM named timers, from release-1.2
...
Conflicts:
akka-actor-tests/src/test/scala/akka/actor/actor/FSMTimingSpec.scala
akka-actor/src/main/scala/akka/actor/FSM.scala
2011-06-17 22:37:09 +02:00
Roland
1d59f86fc4
Merge branch 'master' of github.com:jboner/akka
2011-06-17 22:22:48 +02:00
Roland
5933780bca
TestKit timeouts and awaitCond (from release-1.2)
...
- move akka.testing from akka-actor-tests to akka-testkit/akka.testkit
- move timeFactor from Testing to Duration and add .dilated method
- add Duration.{min, max}
- add TestKit.awaitCond
- use Duration.dilated on all max Durations in TestKit
- fix up loose ends
Conflicts:
akka-actor-tests/src/main/scala/akka/testing/Testing.scala
akka-actor-tests/src/test/scala/akka/actor/actor/ActorRefSpec.scala
akka-actor-tests/src/test/scala/akka/actor/supervisor/SupervisorSpec.scala
akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
akka-actor/src/main/scala/akka/util/Duration.scala
akka-remote/src/test/scala/remote/RemoteTypedActorSpec.scala
akka-testkit/src/main/scala/akka/testkit/TestBarrier.scala
akka-testkit/src/main/scala/akka/testkit/TestKit.scala
akka-typed-actor/src/test/scala/actor/typed-actor/TypedActorLifecycleSpec.scala
2011-06-17 22:19:17 +02:00
Roland
f34d14ea79
remove stack trace duplication for AkkaException
2011-06-17 21:54:02 +02:00
Derek Williams
389893a0cc
Merging all my branches together
2011-06-17 12:41:40 -06:00
Jonas Bonér
1ad99bd610
Renamed sample class for compute grid
2011-06-17 17:09:37 +02:00
Jonas Bonér
532b55688f
Added test for ChangeListener.newLeader in cluster module
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 17:00:44 +02:00
Jonas Bonér
a0fcc62d27
Added ChangeListener.nodeDisconnected test
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 16:48:52 +02:00