package testkit
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait CallbackMatchers extends AnyRef
- case class CallbackMessage [T](cb: Callback[T]) extends GenericCallback with Product with Serializable
- abstract class ColossusSpec extends TestKit with ImplicitSender with WordSpecLike with MustMatchers with BeforeAndAfterAll
- case class FakeWorker (probe: TestProbe, worker: WorkerRef) extends Product with Serializable
- trait GenericCallback extends AnyRef
- class GenericExecutor extends Actor with CallbackExecution
- abstract class HttpServiceSpec extends ServiceSpec[Http]
-
trait
MockChannelActions
extends ChannelActions
if a handler is passed, the buffer will call the handler's readyForData, and it will call it's own handleWrite if interestRW is true
- trait MockConnection extends Connection with MockChannelActions
- class MockWriteBuffer extends WriteBuffer with MockChannelActions
-
class
PipeFoldTester
[T] extends AnyRef
This can be used to test folding on pipes.
This can be used to test folding on pipes.
val pipe = new InfinitePipe[Int, Int] val foldDB = pipe.fold(0){(a, b) => a + b} val tester = new FoldTester(foldCB) pipe.push(3) pipe.push(4) pipe.complete() tester.expect(7)
- abstract class ServiceSpec [P <: Protocol] extends ColossusSpec
- trait TypedMockConnection [T <: ConnectionHandler] extends Connection with MockConnection
Value Members
- object CallbackAwait
- object CallbackMatchers extends CallbackMatchers
- object FakeIOSystem
- object MockClientFactory
- object MockConnection
- object MockSender
- object PipeFoldTester