Class/Object

com.twitter.inject.server

EmbeddedTwitterServer

Related Docs: object EmbeddedTwitterServer | package server

Permalink

class EmbeddedTwitterServer extends Matchers

EmbeddedTwitterServer allows a com.twitter.server.TwitterServer serving http or thrift endpoints to be started locally (on ephemeral ports) and tested through it's http/thrift interfaces.

Note: All initialization fields are lazy to aid running multiple tests inside an IDE at the same time since IDEs typically "pre-construct" ALL the tests before running each one.

Linear Supertypes
Matchers, Explicitly, MatcherWords, ShouldVerb, Tolerance, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmbeddedTwitterServer
  2. Matchers
  3. Explicitly
  4. MatcherWords
  5. ShouldVerb
  6. Tolerance
  7. Assertions
  8. TripleEquals
  9. TripleEqualsSupport
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmbeddedTwitterServer(twitterServer: Ports, flags: Map[String, String], stage: Stage)

    Permalink
  2. new EmbeddedTwitterServer(twitterServer: server.TwitterServer, flags: Map[String, String] = Map(), args: Seq[String] = Seq(), waitForWarmup: Boolean = true, stage: Stage = Stage.DEVELOPMENT, useSocksProxy: Boolean = false, defaultRequestHeaders: Map[String, String] = Map(), streamResponse: Boolean = false, verbose: Boolean = false, disableTestLogging: Boolean = false, maxStartupTimeSeconds: Int = 60)

    Permalink

    twitterServer

    The com.twitter.server.TwitterServer to be started for testing.

    flags

    Command line flags (e.g. "foo"->"bar" is translated into -foo=bar). See: com.twitter.app.Flag.

    args

    Extra command line arguments.

    waitForWarmup

    Once the server is started, wait for server warmup to be completed

    stage

    com.google.inject.Stage used to create the server's injector. Since EmbeddedTwitterServer is used for testing, we default to Stage.DEVELOPMENT. This makes it possible to only mock objects that are used in a given test, at the expense of not checking that the entire object graph is valid. As such, you should always have at least one Stage.PRODUCTION test for your service (which eagerly creates all classes at startup)

    useSocksProxy

    Use a tunneled socks proxy for external service discovery/calls (useful for manually run external integration tests that connect to external services).

    defaultRequestHeaders

    Headers to always send to the embedded server.

    streamResponse

    Toggle to not unwrap response content body to allow caller to stream response.

    verbose

    Enable verbose logging during test runs.

    disableTestLogging

    Disable all logging emitted from the test infrastructure.

    maxStartupTimeSeconds

    Maximum seconds to wait for embedded server to start. If exceeded a com.twitter.inject.app.StartupTimeoutException is thrown.

Type Members

  1. final class AWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  2. final class AnWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  3. sealed class AnyShouldWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  4. class AssertionsHelper extends AnyRef

    Permalink
    Definition Classes
    Assertions
  5. class CheckingEqualizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  6. class DecidedByEquality[A] extends Equality[A]

    Permalink
    Definition Classes
    Explicitly
  7. class DecidedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  8. class DeterminedByEquivalence[T] extends Equivalence[T]

    Permalink
    Definition Classes
    Explicitly
  9. class DeterminedWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  10. class Equalizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. final class HavePropertyMatcherGenerator extends AnyRef

    Permalink
    Definition Classes
    Matchers
  12. final class KeyWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  13. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance
  14. final class RegexWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  15. final class RegexWrapper extends AnyRef

    Permalink
    Definition Classes
    Matchers
  16. class ResultOfBeWordForAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  17. sealed class ResultOfBeWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  18. final class ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]

    Permalink
    Definition Classes
    Matchers
  19. final class ResultOfCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  20. final class ResultOfContainWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  21. final class ResultOfEndWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  22. final class ResultOfEndWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  23. final class ResultOfFullyMatchWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  24. final class ResultOfFullyMatchWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  25. final class ResultOfHaveWordForCollectedExtent[A] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  26. final class ResultOfHaveWordForExtent[A] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  27. final class ResultOfIncludeWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  28. final class ResultOfIncludeWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  29. final class ResultOfNotWordForCollectedAny[T] extends AnyRef

    Permalink
    Definition Classes
    Matchers
  30. final class ResultOfStartWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  31. final class ResultOfStartWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  32. final class StringShouldWrapper extends AnyShouldWrapper[String] with org.scalatest.Matchers.StringShouldWrapperForVerb

    Permalink
    Definition Classes
    Matchers
  33. trait StringShouldWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    ShouldVerb
  34. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  35. final class TheSameInstanceAsPhrase extends AnyRef

    Permalink
    Definition Classes
    Matchers
  36. final class ValueWord extends AnyRef

    Permalink
    Definition Classes
    Matchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  6. def <[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanComparison[T]

    Permalink
    Definition Classes
    Matchers
  7. def <=[T](right: T)(implicit arg0: Ordering[T]): ResultOfLessThanOrEqualToComparison[T]

    Permalink
    Definition Classes
    Matchers
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  10. def ===(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. def ===[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  12. def >[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanComparison[T]

    Permalink
    Definition Classes
    Matchers
  13. def >=[T](right: T)(implicit arg0: Ordering[T]): ResultOfGreaterThanOrEqualToComparison[T]

    Permalink
    Definition Classes
    Matchers
  14. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  15. val a: AWord

    Permalink
    Definition Classes
    Matchers
  16. lazy val adminHostAndPort: String

    Permalink
  17. def adminHttpServerRoutes: Seq[Route]

    Permalink
  18. val after: TheAfterWord

    Permalink
    Definition Classes
    Explicitly
  19. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  20. def all[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  21. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  22. def allElementsOf[R](elements: GenTraversable[R]): ResultOfAllElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  23. def allOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAllOfApplication

    Permalink
    Definition Classes
    Matchers
  24. def an[T](implicit arg0: ClassTag[T]): ResultOfAnTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  25. val an: AnWord

    Permalink
    Definition Classes
    Matchers
  26. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  27. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  28. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  29. macro def assertCompiles(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  30. def assertCounter(name: String)(callback: (Int) ⇒ Boolean): Unit

    Permalink
  31. def assertCounter(name: String, expected: Int): Unit

    Permalink
  32. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  33. def assertGauge(name: String, expected: Float): Unit

    Permalink
  34. def assertHealthy(healthy: Boolean = true): Unit

    Permalink
  35. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  36. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  37. def assertStarted(started: Boolean = true): Unit

    Permalink
  38. def assertStat(name: String, expected: Seq[Float]): Unit

    Permalink
  39. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  40. macro def assertTypeError(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  41. val assertionsHelper: AssertionsHelper

    Permalink
    Definition Classes
    Assertions
  42. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  43. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  44. def atLeast(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  45. def atLeast[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  46. def atLeast[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  47. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  48. def atLeastOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtLeastOneOfApplication

    Permalink
    Definition Classes
    Matchers
  49. def atMost(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  50. def atMost[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  51. def atMost[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  52. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  53. def atMostOneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfAtMostOneOfApplication

    Permalink
    Definition Classes
    Matchers
  54. val be: BeWord

    Permalink
    Definition Classes
    MatcherWords
  55. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  56. def between[K, V, JMAP[k, v] <: Map[k, v]](from: Int, upTo: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  57. def between[E, C[_]](from: Int, upTo: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  58. def bind[T](instance: T)(implicit arg0: Manifest[T]): EmbeddedTwitterServer

    Permalink
  59. def bindInstance[T](instance: T)(implicit arg0: Manifest[T]): Unit

    Permalink
    Attributes
    protected
  60. def cancel(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  61. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  62. def cancel(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  63. def cancel()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  64. def clearStats(): Unit

    Permalink
  65. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. def close(): Unit

    Permalink
  67. var closed: Boolean

    Permalink
    Attributes
    protected[com.twitter.inject]
  68. def combineArgs(): Array[String]

    Permalink
    Attributes
    protected
  69. val compile: CompileWord

    Permalink
    Definition Classes
    MatcherWords
  70. val contain: ContainWord

    Permalink
    Definition Classes
    MatcherWords
  71. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  72. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  73. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  74. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  75. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  76. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  77. implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): HavePropertyMatcherGenerator

    Permalink
    Definition Classes
    Matchers
  78. implicit def convertToAnyShouldWrapper[T](o: T)(implicit pos: Position, prettifier: Prettifier): AnyShouldWrapper[T]

    Permalink
    Definition Classes
    Matchers
  79. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  80. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  81. implicit def convertToRegexWrapper(o: Regex): RegexWrapper

    Permalink
    Definition Classes
    Matchers
  82. implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): StringShouldWrapper

    Permalink
    Definition Classes
    Matchers
  83. implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): StringShouldWrapperForVerb

    Permalink
    Definition Classes
    ShouldVerb
  84. def countersMap: SortedMap[String, Int]

    Permalink
  85. def createApiRequest(path: String, method: Method = Method.Get): Request

    Permalink
    Attributes
    protected
  86. def createHttpClient(name: String, port: Int, tcpConnectTimeout: Duration = 60.seconds, connectTimeout: Duration = 60.seconds, requestTimeout: Duration = 300.seconds, retryPolicy: RetryPolicy[Try[Any]] = httpRetryPolicy, secure: Boolean = false): Service[Request, Response]

    Permalink
    Attributes
    protected
  87. val decided: DecidedWord

    Permalink
    Definition Classes
    Explicitly
  88. def defaultEquality[A]: Equality[A]

    Permalink
    Definition Classes
    TripleEqualsSupport
  89. val defined: DefinedWord

    Permalink
    Definition Classes
    MatcherWords
  90. def definedAt[T](right: T): ResultOfDefinedAt[T]

    Permalink
    Definition Classes
    Matchers
  91. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  92. val empty: EmptyWord

    Permalink
    Definition Classes
    MatcherWords
  93. val endWith: EndWithWord

    Permalink
    Definition Classes
    MatcherWords
  94. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  95. def equal(o: Null): Matcher[AnyRef]

    Permalink
    Definition Classes
    Matchers
  96. def equal[T](spread: Spread[T]): Matcher[T]

    Permalink
    Definition Classes
    Matchers
  97. def equal(right: Any): MatcherFactory1[Any, Equality]

    Permalink
    Definition Classes
    MatcherWords
  98. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  99. def every(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  100. def every[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  101. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  102. def exactly(num: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  103. def exactly[K, V, JMAP[k, v] <: Map[k, v]](num: Int, xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  104. def exactly[E, C[_]](num: Int, xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  105. val exist: ExistWord

    Permalink
    Definition Classes
    MatcherWords
  106. def fail(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  107. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  108. def fail(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  109. def fail()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  110. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  111. val fullyMatch: FullyMatchWord

    Permalink
    Definition Classes
    MatcherWords
  112. def gaugeMap: SortedMap[String, () ⇒ Float]

    Permalink
  113. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  114. def getCounter(name: String): Int

    Permalink
  115. def getGauge(name: String): Float

    Permalink
  116. def getStat(name: String): Seq[Float]

    Permalink
  117. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  118. val have: HaveWord

    Permalink
    Definition Classes
    MatcherWords
  119. lazy val httpAdminClient: Service[Request, Response]

    Permalink
  120. def httpAdminPort: Int

    Permalink
  121. def httpExecute(client: Service[Request, Response], request: Request, headers: Map[String, String] = Map(), suppress: Boolean = false, andExpect: Status = Status.Ok, withLocation: String = null, withBody: String = null): Response

    Permalink
    Attributes
    protected
  122. def httpGetAdmin(path: String, accept: MediaType = null, headers: Map[String, String] = Map(), suppress: Boolean = false, andExpect: Status = Status.Ok, withLocation: String = null, withBody: String = null): Response

    Permalink
  123. def httpRetryPolicy: RetryPolicy[Try[Any]]

    Permalink
    Attributes
    protected
  124. lazy val inMemoryStatsReceiver: InMemoryStatsReceiver

    Permalink
  125. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication

    Permalink
    Definition Classes
    Matchers
  126. def inOrderElementsOf[R](elements: GenTraversable[R]): ResultOfInOrderElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  127. def inOrderOnly[T](firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderOnlyApplication

    Permalink
    Definition Classes
    Matchers
  128. val include: IncludeWord

    Permalink
    Definition Classes
    MatcherWords
  129. def info(str: String): Unit

    Permalink

    NOTE: We avoid using slf4j-api info logging so that we can differentiate the underlying server logs from the testing framework logging without requiring a test logging configuration to be loaded.

    NOTE: We avoid using slf4j-api info logging so that we can differentiate the underlying server logs from the testing framework logging without requiring a test logging configuration to be loaded.

    str

    - the string message to log

  130. def infoBanner(str: String): Unit

    Permalink
  131. lazy val injectableServer: TwitterServer

    Permalink
  132. lazy val injector: Injector

    Permalink
  133. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T

    Permalink
    Definition Classes
    Assertions
  134. def isHealthy: Boolean

    Permalink
  135. lazy val isInjectable: Boolean

    Permalink
  136. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  137. def isStarted: Boolean

    Permalink
  138. val key: KeyWord

    Permalink
    Definition Classes
    Matchers
  139. val length: LengthWord

    Permalink
    Definition Classes
    MatcherWords
  140. def logStartup(): Unit

    Permalink
    Attributes
    protected
  141. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  142. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  143. def mainResult: Future[Unit]

    Permalink
  144. val matchPattern: MatchPatternWord

    Permalink
    Definition Classes
    MatcherWords
  145. def message(expectedMessage: String): ResultOfMessageWordApplication

    Permalink
    Definition Classes
    Matchers
  146. val name: String

    Permalink
  147. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  148. def no(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  149. def no[K, V, JMAP[k, v] <: Map[k, v]](xs: JMAP[K, V])(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Entry[K, V]]

    Permalink
    Definition Classes
    Matchers
  150. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

    Permalink
    Definition Classes
    Matchers
  151. def noElementsOf(elements: GenTraversable[Any]): ResultOfNoElementsOfApplication

    Permalink
    Definition Classes
    Matchers
  152. def noException(implicit pos: Position): NoExceptionWord

    Permalink
    Definition Classes
    MatcherWords
  153. def nonInjectableServerStarted(): Boolean

    Permalink
    Attributes
    protected
  154. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication

    Permalink
    Definition Classes
    Matchers
  155. val not: NotWord

    Permalink
    Definition Classes
    MatcherWords
  156. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  157. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  158. def of[T](implicit ev: ClassTag[T]): ResultOfOfTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  159. def oneElementOf(elements: GenTraversable[Any]): ResultOfOneElementOfApplication

    Permalink
    Definition Classes
    Matchers
  160. def oneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfOneOfApplication

    Permalink
    Definition Classes
    Matchers
  161. def only(xs: Any*)(implicit pos: Position): ResultOfOnlyApplication

    Permalink
    Definition Classes
    Matchers
  162. def pending: Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  163. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  164. def prettyRequestBody(request: Request): String

    Permalink
    Attributes
    protected
  165. def printNonEmptyResponseBody(response: Response): Unit

    Permalink
    Attributes
    protected
  166. def printStats(includeGauges: Boolean = true): Unit

    Permalink
  167. val readable: ReadableWord

    Permalink
    Definition Classes
    MatcherWords
  168. val regex: RegexWord

    Permalink
    Definition Classes
    Matchers
  169. val size: SizeWord

    Permalink
    Definition Classes
    MatcherWords
  170. val sorted: SortedWord

    Permalink
    Definition Classes
    MatcherWords
  171. def start(): Unit

    Permalink
  172. val startWith: StartWithWord

    Permalink
    Definition Classes
    MatcherWords
  173. def statsMap: SortedMap[String, Seq[Float]]

    Permalink
  174. lazy val statsReceiver: StatsReceiver

    Permalink
  175. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  176. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  177. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  178. def theSameElementsAs(xs: GenTraversable[_]): ResultOfTheSameElementsAsApplication

    Permalink
    Definition Classes
    Matchers
  179. def theSameElementsInOrderAs(xs: GenTraversable[_]): ResultOfTheSameElementsInOrderAsApplication

    Permalink
    Definition Classes
    Matchers
  180. val theSameInstanceAs: TheSameInstanceAsPhrase

    Permalink
    Definition Classes
    Matchers
  181. def thrownBy(fun: ⇒ Any): ResultOfThrownByApplication

    Permalink
    Definition Classes
    Matchers
  182. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  183. val typeCheck: TypeCheckWord

    Permalink
    Definition Classes
    MatcherWords
  184. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  185. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  186. def updateFlags(map: Map[String, String]): Map[String, String]

    Permalink
    Attributes
    protected
  187. val value: ValueWord

    Permalink
    Definition Classes
    Matchers
  188. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  189. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  190. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  191. def withClue[T](clue: Any)(fun: ⇒ T): T

    Permalink
    Definition Classes
    Assertions
  192. val writable: WritableWord

    Permalink
    Definition Classes
    MatcherWords

Deprecated Value Members

  1. def trap[T](f: ⇒ T): Throwable

    Permalink
    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest

Inherited from Matchers

Inherited from Explicitly

Inherited from MatcherWords

Inherited from ShouldVerb

Inherited from Tolerance

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped