Package

colossus

testkit

Permalink

package testkit

Visibility
  1. Public
  2. All

Type Members

  1. trait CallbackMatchers extends AnyRef

    Permalink
  2. case class CallbackMessage[T](cb: Callback[T]) extends GenericCallback with Product with Serializable

    Permalink
  3. abstract class ColossusSpec extends TestKit with ImplicitSender with WordSpecLike with MustMatchers with BeforeAndAfterAll

    Permalink
  4. case class FakeWorker(probe: TestProbe, worker: WorkerRef) extends Product with Serializable

    Permalink
  5. trait GenericCallback extends AnyRef

    Permalink
  6. class GenericExecutor extends Actor with CallbackExecution

    Permalink
  7. abstract class HttpServiceSpec extends ServiceSpec[Http]

    Permalink
  8. trait MockChannelActions extends ChannelActions

    Permalink

    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

    Permalink
  10. class MockWriteBuffer extends WriteBuffer with MockChannelActions

    Permalink
  11. class PipeFoldTester[T] extends AnyRef

    Permalink

    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[C <: Protocol] extends ColossusSpec

    Permalink
  13. trait TypedMockConnection[T <: ConnectionHandler] extends Connection with MockConnection

    Permalink

Ungrouped