p

colossus

testkit

package testkit

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait CallbackMatchers extends AnyRef
  2. case class CallbackMessage [T](cb: Callback[T]) extends GenericCallback with Product with Serializable
  3. abstract class ColossusSpec extends TestKit with ImplicitSender with WordSpecLike with MustMatchers with BeforeAndAfterAll
  4. case class FakeWorker (probe: TestProbe, worker: WorkerRef) extends Product with Serializable
  5. trait GenericCallback extends AnyRef
  6. class GenericExecutor extends Actor with CallbackExecution
  7. abstract class HttpServiceSpec extends ServiceSpec[Http]
  8. 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

  9. trait MockConnection extends Connection with MockChannelActions
  10. class MockWriteBuffer extends WriteBuffer with MockChannelActions
  11. 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)
  12. abstract class ServiceSpec [P <: Protocol] extends ColossusSpec
  13. trait TypedMockConnection [T <: ConnectionHandler] extends Connection with MockConnection

Ungrouped