Commit graph

53 commits

Author SHA1 Message Date
Roland
9bc01ae265 add preprocessor for RST docs, see #2461 and #2431
The idea is to filter the sources, replacing @<var>@ occurrences with
the mapping for <var> (which is currently hard-coded). @@ -> @. In order
to make this work, I had to move the doc sources one directory down
(into akka-docs/rst) so that the filtered result could be in a sibling
directory so that relative links (to _sphinx plugins or real code) would
continue to work.

While I was at it I also changed it so that WARNINGs and ERRORs are not
swallowed into the debug dump anymore but printed at [warn] level
(minimum).

One piece of fallout is that the (online) html build is now run after
the normal one, not in parallel.
2012-09-21 13:58:47 +02:00
Roland
8a8b32d0eb various documentation patches, found at the bottom of my inbox 2012-09-17 21:25:41 +02:00
Roland
faae09ab4e add docs for ExtractRoute, see #2337 2012-07-25 20:48:32 +02:00
Viktor Klang
af8ce260d3 Correcting erronous code links 2012-07-25 13:26:33 +02:00
Viktor Klang
d3542f8582 #2341 - enabling -deprecation in AkkaBuild and subsequently fixing tons of deprecation warnings 2012-07-24 12:12:06 +02:00
Viktor Klang
743f9cd8ff Removing Specs2 as a dependency to remove the hassle of keeping track of available versions 2012-07-21 18:09:20 +02:00
Roland
99c4b30884 fix JavaTestKit docs (one warning too many) 2012-07-05 10:29:34 +02:00
Roland
d7bed79730 add JavaTestKit, see #1952
- it’s a completely new-written thing in pure Java, so that “protected”
  modifiers actually work and no ghost errors appear wrt. inheriting
  from PartialFunction or similar
- it also features integration with the EventFilter
- all closure-based constructs are modeled as inner classes of the
  JavaTestKit, where the user needs to override a single method which
  will then be executed
2012-06-29 14:42:11 +02:00
Roland
be74eb835b stashin commit so Iulian can play with it 2012-06-25 19:30:13 +02:00
Roland
0a011ee50e fix a few doubled the’s 2012-06-04 23:35:52 +02:00
Roland
b840624b78 warn against using TestKitBase trait 2012-06-04 19:28:58 +02:00
Roland
de59444795 offer TestKitBase trait, see #2174 2012-06-04 10:03:41 +02:00
Roland
24f6406634 fix specs2 samples so they system.shutdown 2012-05-25 14:42:39 +02:00
Roland
dd30e81a1a document Specs2 + TestKit, see #2068, plus fix up broken includes
- include move of doc samples out of akka package also in the
  includecode directives
- fix broken serialization docs, which require one thing in the akka
  package
2012-05-24 22:23:36 +02:00
Patrik Nordwall
877981caef DOC: TestKit sample is wrong. See #2072
* Added code to TestKitUsageSpec.scala
* Fixed errors
* Fixed race
2012-05-18 13:28:53 +02:00
Vibul Imtarnasan
76f0754480 Added _TestCallingThreadDispatcherRef 2012-03-29 16:30:36 +12:00
Peter Vlugter
d7fe025fa2 Update docs theme 2012-03-06 13:20:00 +13:00
Roland
ec15fd6cfd add TestKit.setAutoPilot, see #1807 2012-02-19 00:09:04 +01:00
Bruce Mitchener
3d90f480d0 Fix spelling errors. 2012-02-14 19:50:01 +07:00
Patrik Nordwall
60fd3c2964 Removed the need for passing in 'this' as log source to LoggingReceive. See #1720 2012-01-26 13:24:48 +01:00
Patrik Nordwall
05d4a6ed38 DOC: Extension sample for application specific settings. See #1702
* Added sample and documentation for how to create extension for application specific config
* Simplified java usage of ExtensionIdProvider, more aligned with how it is done in scala
2012-01-20 11:30:33 +01:00
Viktor Klang
19347dadbc Renaming TestActorRef.apply to receive, in order to get forwarders generated & improve Java API 2012-01-19 15:49:44 +01:00
Roland
d257ad191b improve docs for expecting exceptions 2011-12-23 21:31:12 +01:00
Peter Vlugter
e66d46671a Some more minor changes to documentation
- fix some links
- remove references to akka-modules
- remove python module information
2011-12-16 13:32:53 +13:00
Roland
2e988c8372 polish TestKit (add new assertions) 2011-12-16 00:12:22 +01:00
Patrik Nordwall
30416af3c4 DOC: Update Testing Actor Systems (TestKit) Chapter. See #1486 2011-12-15 15:04:14 +01:00
Jonas Bonér
d725c9c681 Updated docs with changes to 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:53:18 +01:00
Jonas Bonér
c9b787f029 Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Patrik Nordwall
884dc43a7d DOC: Replace all akka.conf references. Fixes #1469
* Let us use :ref:`configuration` in all places to refer to the configuration.
2011-12-09 13:27:27 +01:00
Viktor Klang
2872d8b987 #1339 - adding docs to testing.rst describing how to get testActor to be the implicit sender in TestKit tests 2011-12-07 13:36:53 +01:00
Patrik Nordwall
80ac1737cd First walk throught of FIXME. See #1378
* Fixed obvious
* Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Patrik Nordwall
19a78c0e58 Slf4jEventHandler should not format log message. See #1401
* Updated documentation with info about MDC.
* Updated documentation conf of logLevel.
* Updated documentation Logback 1.0.0.
2011-11-28 10:07:30 +01:00
Roland
076ec4d0a0 add missing .start() to testing.rst, fixes #1266
cherry-picked from release-1.3
2011-10-25 11:47:45 +02:00
Viktor Klang
5788ed4281 Renaming link/unlink to startsMonitoring/stopsMonitoring 2011-10-14 15:09:46 +02:00
Viktor Klang
bbb79d8e0d Start removed but cluster is broken 2011-09-08 11:02:17 +02:00
Roland
42769599aa Merge branch 'ticket955'
Conflicts:
	akka-actor-tests/src/test/scala/akka/actor/supervisor/Ticket669Spec.scala
	akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
	akka-camel/src/test/scala/akka/camel/ConsumerScalaTest.scala
2011-07-19 16:56:44 -04:00
Roland
a348025ccb improve testing docs 2011-07-16 18:42:24 -04:00
Roland
e7f3945776 add TestKit.expectMsgType
- plus docs
- and replace softTimeout hack with better solution
2011-06-26 17:40:30 +02:00
Roland
22c067e239 add TestFSMRef docs 2011-06-19 22:20:45 +02:00
Roland
39e41c6596 change all actor logging to use Actor, not ActorRef as source instance 2011-06-19 21:07:49 +02:00
Roland
76e8ef4e24 add debug traceability to FSM (plus docs) 2011-06-19 18:03:01 +02:00
Roland
2852e1a763 make available TestKitLight without implicit ActorRef 2011-06-19 17:41:19 +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
Patrik Nordwall
1051c077e8 Docs: fixed broken links 2011-05-10 09:53:58 +02:00
Roland
1b54d013f4 clarify time measurement in testkit 2011-05-08 22:18:40 +02:00
Roland
289733a735 clarify messages in TestActorRef example, fixes #840 2011-05-05 20:21:15 +02:00
Roland
6c0d5c74a8 add import statements to testing.rst 2011-05-03 00:52:34 +02:00