Trait

com.twitter.logging

TestLogging

Related Doc: package logging

Permalink

trait TestLogging extends BeforeAndAfter

Specify logging during unit tests via system property, defaulting to FATAL only.

Self Type
TestLogging with WordSpec
Linear Supertypes
BeforeAndAfter, SuiteMixin, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestLogging
  2. BeforeAndAfter
  3. SuiteMixin
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def expectedTestCount(filter: Filter): Int

    Permalink
    Definition Classes
    SuiteMixin
  2. abstract def nestedSuites: IndexedSeq[Suite]

    Permalink
    Definition Classes
    SuiteMixin
  3. abstract def rerunner: Option[String]

    Permalink
    Definition Classes
    SuiteMixin
  4. abstract def runNestedSuites(args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    SuiteMixin
  5. abstract def runTests(testName: Option[String], args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    SuiteMixin
  6. abstract val styleName: String

    Permalink
    Definition Classes
    SuiteMixin
  7. abstract def suiteId: String

    Permalink
    Definition Classes
    SuiteMixin
  8. abstract def suiteName: String

    Permalink
    Definition Classes
    SuiteMixin
  9. abstract def tags: Map[String, Set[String]]

    Permalink
    Definition Classes
    SuiteMixin
  10. abstract def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Permalink
    Definition Classes
    SuiteMixin
  11. abstract def testNames: Set[String]

    Permalink
    Definition Classes
    SuiteMixin

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after(fun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BeforeAndAfter
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def before(fun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BeforeAndAfter
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logLevel: Level

    Permalink
  15. def logLines(): Seq[String]

    Permalink
  16. def mustLog(substring: String): Assertion

    Permalink

    Verify that the logger set up with traceLogger has received a log line with the given substring somewhere inside it.

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. def run(testName: Option[String], args: Args): Status

    Permalink
    Definition Classes
    BeforeAndAfter → SuiteMixin
  21. def runTest(testName: String, args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    BeforeAndAfter → SuiteMixin
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def traceLogger(name: String, level: Level): Unit

    Permalink

    Set up logging to record messages sent to the given logger at the given level, and not send them to the console.

    Set up logging to record messages sent to the given logger at the given level, and not send them to the console.

    This is meant to be used in a before block.

  25. def traceLogger(level: Level): Unit

    Permalink

    Set up logging to record messages at the given level, and not send them to the console.

    Set up logging to record messages at the given level, and not send them to the console.

    This is meant to be used in a before block.

  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BeforeAndAfter

Inherited from SuiteMixin

Inherited from AnyRef

Inherited from Any

Ungrouped