Packages

t

com.twitter.util.testing

ExpressionTestMixin

trait ExpressionTestMixin extends SuiteMixin with BeforeAndAfterEach

Testing trait which provides utilities for testing for proper com.twitter.finagle.stats.exp.Expression registration

Self Type
ExpressionTestMixin with Suite
Linear Supertypes
BeforeAndAfterEach, SuiteMixin, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpressionTestMixin
  2. BeforeAndAfterEach
  3. SuiteMixin
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def downstreamLabel: Map[String, String]
    Attributes
    protected
  2. abstract def expectedTestCount(filter: Filter): Int
    Definition Classes
    SuiteMixin
  3. abstract def nestedSuites: IndexedSeq[Suite]
    Definition Classes
    SuiteMixin
  4. abstract def rerunner: Option[String]
    Definition Classes
    SuiteMixin
  5. abstract def run(testName: Option[String], args: Args): Status
    Definition Classes
    SuiteMixin
  6. abstract def runNestedSuites(args: Args): Status
    Attributes
    protected
    Definition Classes
    SuiteMixin
  7. abstract def runTests(testName: Option[String], args: Args): Status
    Attributes
    protected
    Definition Classes
    SuiteMixin
  8. abstract val sr: InMemoryStatsReceiver
    Attributes
    protected
  9. abstract def suiteId: String
    Definition Classes
    SuiteMixin
  10. abstract def suiteName: String
    Definition Classes
    SuiteMixin
  11. abstract def tags: Map[String, Set[String]]
    Definition Classes
    SuiteMixin
  12. abstract def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
    Definition Classes
    SuiteMixin
  13. abstract def testNames: Set[String]
    Definition Classes
    SuiteMixin
  14. abstract val styleName: String
    Definition Classes
    SuiteMixin
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) The styleName lifecycle method has been deprecated and will be removed in a future version of ScalaTest with no replacement.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def afterEach(): Unit
    Attributes
    protected
    Definition Classes
    BeforeAndAfterEach
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assertExpressionIsRegistered(name: String, labels: Map[String, String] = Map(), namespaces: Seq[String] = Seq()): Unit

    Given the name, labels, and namespaces that make up a given ExpressionSchemaKey, assert that expression is registered on the StatsReceiver.

    Given the name, labels, and namespaces that make up a given ExpressionSchemaKey, assert that expression is registered on the StatsReceiver.

    Attributes
    protected
  7. def assertExpressionsAsExpected(expected: Set[ExpressionSchemaKey]): Unit

    Given a collection of expected ExpressionSchemaKeys, ensure that collection matches what is registered.

    Given a collection of expected ExpressionSchemaKeys, ensure that collection matches what is registered.

    expected

    a Set of ExpressionSchemaKeys that should be registered on the StatsReceiver

    Attributes
    protected
  8. def beforeEach(): Unit
    Attributes
    protected
    Definition Classes
    ExpressionTestMixin → BeforeAndAfterEach
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getMetricsReview: Map[ExpressionSchemaKey, ExpressionSchema]

    Returns a collection of all registered expressions on the provided StatsReceiver

    Returns a collection of all registered expressions on the provided StatsReceiver

    Attributes
    protected
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def nameToKey(name: String, labels: Map[String, String] = Map(), namespaces: Seq[String] = Seq()): ExpressionSchemaKey
    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def runTest(testName: String, args: Args): Status
    Attributes
    protected
    Definition Classes
    BeforeAndAfterEach → SuiteMixin
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BeforeAndAfterEach

Inherited from SuiteMixin

Inherited from AnyRef

Inherited from Any

Ungrouped