Class

com.salesforce.op.test

SwTransformerSpec

Related Doc: package test

Permalink

abstract class SwTransformerSpec[O <: FeatureType, SparkTransformerType <: Transformer with Params, TransformerType <: OpPipelineStage[O] with Transformer with Params with SparkWrapperParams[SparkTransformerType]] extends OpPipelineStageSpec[O, TransformerType] with TransformerSpecCommon[O, TransformerType]

Base test class for testing Spark transformer wrapper instances, e.g SwUnaryTransformer, SwBinaryTransformer etc. Includes common tests for schema and data transformations.

O

output feature type

SparkTransformerType

type of Spark transformer

TransformerType

type of Spark transformer wrapper being tested, e.g. SwUnaryTransformer, SwBinaryTransformer etc.

Linear Supertypes
TransformerSpecCommon[O, TransformerType], OpPipelineStageSpec[O, TransformerType], OpPipelineStageAsserts, AppendedClues, TestSparkContext, TestCommon, Matchers, Explicitly, MatcherWords, Tolerance, TempDirectoryTest, BeforeAndAfterAll, SuiteMixin, FeatureTypeEquality[O], FlatSpec, FlatSpecLike, Documenting, Alerting, Notifying, Informing, CanVerb, MustVerb, ShouldVerb, TestRegistration, TestSuite, Suite, Serializable, Serializable, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SwTransformerSpec
  2. TransformerSpecCommon
  3. OpPipelineStageSpec
  4. OpPipelineStageAsserts
  5. AppendedClues
  6. TestSparkContext
  7. TestCommon
  8. Matchers
  9. Explicitly
  10. MatcherWords
  11. Tolerance
  12. TempDirectoryTest
  13. BeforeAndAfterAll
  14. SuiteMixin
  15. FeatureTypeEquality
  16. FlatSpec
  17. FlatSpecLike
  18. Documenting
  19. Alerting
  20. Notifying
  21. Informing
  22. CanVerb
  23. MustVerb
  24. ShouldVerb
  25. TestRegistration
  26. TestSuite
  27. Suite
  28. Serializable
  29. Serializable
  30. Assertions
  31. TripleEquals
  32. TripleEqualsSupport
  33. AnyRef
  34. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SwTransformerSpec()(implicit cto: ClassTag[O], wto: scala.reflect.api.JavaUniverse.WeakTypeTag[O], stc: ClassTag[SparkTransformerType], ttc: ClassTag[TransformerType])

    Permalink

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. final class BehaviorWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  6. class CheckingEqualizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  7. class Clueful[T] extends AnyRef

    Permalink
    Definition Classes
    AppendedClues
  8. class DecidedByEquality[A] extends Equality[A]

    Permalink
    Definition Classes
    Explicitly
  9. class DecidedWord extends AnyRef

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

    Permalink
    Definition Classes
    Explicitly
  11. class DeterminedWord extends AnyRef

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

    Permalink
    Definition Classes
    TripleEqualsSupport
  13. final class HavePropertyMatcherGenerator extends AnyRef

    Permalink
    Definition Classes
    Matchers
  14. final class IgnoreVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  15. final class IgnoreVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  16. final class IgnoreWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  17. final class InAndIgnoreMethods extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  18. final class InAndIgnoreMethodsAfterTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  19. final class ItVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  20. final class ItVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  21. final class ItWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  22. final class KeyWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  23. trait NoArgTest extends () ⇒ Outcome with TestData

    Permalink
    Attributes
    protected
    Definition Classes
    TestSuite
  24. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance
  25. final class RegexWord extends AnyRef

    Permalink
    Definition Classes
    Matchers
  26. final class RegexWrapper extends AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    Matchers
  32. final class ResultOfEndWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  33. final class ResultOfEndWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  34. final class ResultOfFullyMatchWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  35. final class ResultOfFullyMatchWordForString extends AnyRef

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

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

    Permalink
    Definition Classes
    Matchers
  38. final class ResultOfIncludeWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  39. final class ResultOfIncludeWordForString extends AnyRef

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

    Permalink
    Definition Classes
    Matchers
  41. final class ResultOfStartWithWordForCollectedString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  42. final class ResultOfStartWithWordForString extends AnyRef

    Permalink
    Definition Classes
    Matchers
  43. trait StringCanWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    CanVerb
  44. trait StringMustWrapperForVerb extends AnyRef

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

    Permalink
    Definition Classes
    Matchers
  46. trait StringShouldWrapperForVerb extends AnyRef

    Permalink
    Definition Classes
    ShouldVerb
  47. class TheAfterWord extends AnyRef

    Permalink
    Definition Classes
    Explicitly
  48. final class TheSameInstanceAsPhrase extends AnyRef

    Permalink
    Definition Classes
    Matchers
  49. final class TheyVerbString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  50. final class TheyVerbStringTaggedAs extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  51. final class TheyWord extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  52. final class ValueWord extends AnyRef

    Permalink
    Definition Classes
    Matchers

Abstract Value Members

  1. abstract val expectedResult: Seq[O]

    Permalink

    Expected result of the transformer applied on the Input Dataset

    Expected result of the transformer applied on the Input Dataset

    Definition Classes
    TransformerSpecCommon
  2. abstract val inputData: Dataset[_]

    Permalink

    Input Dataset to transform

    Input Dataset to transform

    Definition Classes
    TransformerSpecCommon
  3. abstract val transformer: TransformerType

    Permalink

    Transformer instance to be tested

    Transformer instance to be tested

    Definition Classes
    TransformerSpecCommon

Concrete 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. object Spec extends Product with Serializable

    Permalink

    Spec name for a class

    Spec name for a class

    Definition Classes
    TestCommon
  15. def a[T](implicit arg0: ClassTag[T]): ResultOfATypeInvocation[T]

    Permalink
    Definition Classes
    Matchers
  16. val a: AWord

    Permalink
    Definition Classes
    Matchers
  17. val after: TheAfterWord

    Permalink
    Definition Classes
    Explicitly
  18. def afterAll(): Unit

    Permalink
    Definition Classes
    TestSparkContextTempDirectoryTest → BeforeAndAfterAll
  19. def alert: Alerter

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Alerting
  20. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  21. 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
  22. def all[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

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

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

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

    Permalink
    Definition Classes
    Matchers
  26. val an: AnWord

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

    Permalink
    Definition Classes
    Any
  28. def assert(stage: OpPipelineStageBase, expected: OpPipelineStageBase, expectSameClass: Boolean = true): Assertion

    Permalink

    Assert stage instances

    Assert stage instances

    stage

    instance to assert

    expected

    instance to assert against

    expectSameClass

    should expect the same class or not

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  37. val assertionsHelper: AssertionsHelper

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

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

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

    Permalink
    Definition Classes
    Matchers
  41. 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
  42. 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
  43. def atLeastOneElementOf(elements: GenTraversable[Any]): ResultOfAtLeastOneElementOfApplication

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

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

    Permalink
    Definition Classes
    Matchers
  46. 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
  47. 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
  48. def atMostOneElementOf[R](elements: GenTraversable[R]): ResultOfAtMostOneElementOfApplication

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

    Permalink
    Definition Classes
    Matchers
  50. val be: BeWord

    Permalink
    Definition Classes
    MatcherWords
  51. def beforeAll(): Unit

    Permalink
    Definition Classes
    TestSparkContextTempDirectoryTest → BeforeAndAfterAll
  52. val behave: BehaveWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  53. val behavior: BehaviorWord

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

    Permalink
    Definition Classes
    Matchers
  55. 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
  56. 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
  57. def cancel(cause: Throwable)(implicit pos: Position): Nothing

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

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

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

    Permalink
    Definition Classes
    Assertions
  61. lazy val checkpointDir: String

    Permalink
    Definition Classes
    TestSparkContext
  62. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. val compile: CompileWord

    Permalink
    Definition Classes
    MatcherWords
  64. lazy val conf: SparkConf

    Permalink
    Definition Classes
    TestSparkContext
  65. val contain: ContainWord

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  67. lazy val convert: FeatureTypeSparkConverter[O]

    Permalink
    Attributes
    protected
    Definition Classes
    TransformerSpecCommon
  68. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  76. implicit def convertToClueful[T](fun: ⇒ T): Clueful[T]

    Permalink
    Definition Classes
    AppendedClues
  77. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  78. implicit def convertToInAndIgnoreMethods(resultOfStringPassedToVerb: ResultOfStringPassedToVerb): InAndIgnoreMethods

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  79. implicit def convertToInAndIgnoreMethodsAfterTaggedAs(resultOfTaggedAsInvocation: ResultOfTaggedAsInvocation): InAndIgnoreMethodsAfterTaggedAs

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  80. implicit def convertToRegexWrapper(o: Regex): RegexWrapper

    Permalink
    Definition Classes
    Matchers
  81. implicit def convertToStringCanWrapper(o: String)(implicit position: Position): StringCanWrapperForVerb

    Permalink
    Definition Classes
    CanVerb
  82. implicit def convertToStringMustWrapperForVerb(o: String)(implicit position: Position): StringMustWrapperForVerb

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

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

    Permalink
    Definition Classes
    ShouldVerb
  85. def createDirectory(root: String, namePrefix: String = "spark"): File

    Permalink

    Create a directory inside the given parent directory.

    Create a directory inside the given parent directory. The directory is guaranteed to be newly created, and is not marked for automatic deletion.

    Definition Classes
    TempDirectoryTest
  86. def createTempDir(root: String = ..., namePrefix: String = "spark"): File

    Permalink

    Create a temporary directory inside the given parent directory.

    Create a temporary directory inside the given parent directory. The directory will be automatically deleted when the VM shuts down.

    Definition Classes
    TempDirectoryTest
  87. implicit val cto: ClassTag[O]

    Permalink
    Definition Classes
    SwTransformerSpec → TransformerSpecCommon
  88. val decided: DecidedWord

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

    Permalink
    Definition Classes
    TripleEqualsSupport
  90. val defined: DefinedWord

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

    Permalink
    Definition Classes
    Matchers
  92. def deleteRecursively(file: File): Unit

    Permalink

    Delete a file or directory and its contents recursively.

    Delete a file or directory and its contents recursively. Don't follow directories if they are symlinks. Throws an exception if deletion is unsuccessful.

    Definition Classes
    TempDirectoryTest
  93. val determined: DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  94. val empty: EmptyWord

    Permalink
    Definition Classes
    MatcherWords
  95. val endWith: EndWithWord

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

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

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

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

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

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

    Permalink
    Definition Classes
    Matchers
  102. 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
  103. def every[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

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

    Permalink
    Definition Classes
    Matchers
  105. 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
  106. 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
  107. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Permalink
    Definition Classes
    Suite
  108. val exist: ExistWord

    Permalink
    Definition Classes
    MatcherWords
  109. def expectedTestCount(filter: Filter): Int

    Permalink
    Definition Classes
    Suite
  110. def fail(cause: Throwable)(implicit pos: Position): Nothing

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

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

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

    Permalink
    Definition Classes
    Assertions
  114. implicit val featureTypeEquality: Equality[O]

    Permalink

    Feature type equality

    Feature type equality

    Definition Classes
    FeatureTypeEquality
  115. def finalize(): Unit

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

    Permalink
    Definition Classes
    MatcherWords
  117. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    MatcherWords
  120. val ignore: IgnoreWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  121. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication

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

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

    Permalink
    Definition Classes
    Matchers
  124. val include: IncludeWord

    Permalink
    Definition Classes
    MatcherWords
  125. def info: Informer

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Informing
  126. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T

    Permalink
    Definition Classes
    Assertions
  127. val invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean

    Permalink
    Definition Classes
    BeforeAndAfterAll
  128. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  129. def isSymlink(file: File): Boolean

    Permalink

    Check to see if file is a symbolic link.

    Check to see if file is a symbolic link.

    Definition Classes
    TempDirectoryTest
  130. val it: ItWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  131. val key: KeyWord

    Permalink
    Definition Classes
    Matchers
  132. lazy val kryoClasses: Array[Class[_]]

    Permalink
    Definition Classes
    TestSparkContext
  133. val length: LengthWord

    Permalink
    Definition Classes
    MatcherWords
  134. def loadFile(path: String): String

    Permalink

    Load a file as string

    Load a file as string

    path

    absolute or relative path of a file

    returns

    the whole content of resource file as a string

    Definition Classes
    TestCommon
  135. def loadResource(path: String, noSpaces: Boolean = false): String

    Permalink

    Loads resource by path

    Loads resource by path

    path

    absolute or relative path of a resource

    returns

    the whole content of resource file as a string

    Definition Classes
    TestCommon
  136. def loggingLevel(level: Level): Unit

    Permalink

    Set logging level for

    Set logging level for

    Definition Classes
    TestCommon
  137. def loggingOff(): Unit

    Permalink

    Disable all logging

    Disable all logging

    Definition Classes
    TestCommon
  138. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  140. def markup: Documenter

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Documenting
  141. val matchPattern: MatchPatternWord

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

    Permalink
    Definition Classes
    Matchers
  143. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  144. def nestedSuites: IndexedSeq[Suite]

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

    Permalink
    Definition Classes
    Matchers
  146. 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
  147. def no[E, C[_]](xs: C[E])(implicit collecting: Collecting[E, C[E]], prettifier: Prettifier, pos: Position): ResultOfCollectedAny[E]

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

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

    Permalink
    Definition Classes
    MatcherWords
  150. def noneOf(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfNoneOfApplication

    Permalink
    Definition Classes
    Matchers
  151. val not: NotWord

    Permalink
    Definition Classes
    MatcherWords
  152. def note: Notifier

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Notifying
  153. final def notify(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  161. val readable: ReadableWord

    Permalink
    Definition Classes
    MatcherWords
  162. val regex: RegexWord

    Permalink
    Definition Classes
    Matchers
  163. final def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Definition Classes
    FlatSpecLike → TestRegistration
  164. def registerShutdownDeleteDir(file: File): Unit

    Permalink
    Definition Classes
    TempDirectoryTest
  165. final def registerTest(testText: String, testTags: Tag*)(testFun: ⇒ Any)(implicit pos: Position): Unit

    Permalink
    Definition Classes
    FlatSpecLike → TestRegistration
  166. def removeShutdownDeleteDir(file: File): Unit

    Permalink
    Definition Classes
    TempDirectoryTest
  167. def rerunner: Option[String]

    Permalink
    Definition Classes
    Suite
  168. def resourceDir: String

    Permalink

    Returns the resource directory path

    Returns the resource directory path

    Attributes
    protected
    Definition Classes
    TestCommon
  169. def resourceFile(parent: String = resourceDir, name: String): File

    Permalink

    Load a test resource file

    Load a test resource file

    parent

    resource folder

    name

    resource name

    returns

    resource file

    Definition Classes
    TestCommon
  170. def run(testName: Option[String], args: Args): Status

    Permalink
    Definition Classes
    BeforeAndAfterAll → SuiteMixin
  171. def runNestedSuites(args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    Suite
  172. def runTest(testName: String, args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → TestSuite → Suite
  173. def runTests(testName: Option[String], args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike → Suite
  174. implicit lazy val sc: SparkContext

    Permalink
    Definition Classes
    TestSparkContext
  175. implicit val seqEquality: Equality[Seq[O]]

    Permalink

    Feature type sequence equality

    Feature type sequence equality

    Definition Classes
    FeatureTypeEquality
  176. implicit val shorthandSharedTestRegistrationFunction: StringVerbBehaveLikeInvocation

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  177. implicit val shorthandTestRegistrationFunction: StringVerbStringInvocation

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  178. val size: SizeWord

    Permalink
    Definition Classes
    MatcherWords
  179. val sorted: SortedWord

    Permalink
    Definition Classes
    MatcherWords
  180. implicit lazy val spark: SparkSession

    Permalink
    Definition Classes
    TestSparkContext
  181. def sparkStage: Option[SparkTransformerType]

    Permalink

    The wrapped Spark stage instance

  182. def specName: String

    Permalink

    Spec name (StageType[O] by default)

    Spec name (StageType[O] by default)

    Definition Classes
    OpPipelineStageSpec
  183. final lazy val stage: TransformerType

    Permalink
    Definition Classes
    TransformerSpecCommon
  184. def stageSavePath: String

    Permalink

    Spark stage save path

    Spark stage save path

    Attributes
    protected
    Definition Classes
    TransformerSpecCommon
  185. val startWith: StartWithWord

    Permalink
    Definition Classes
    MatcherWords
  186. implicit val stc: ClassTag[SparkTransformerType]

    Permalink
  187. final val styleName: String

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  188. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  189. def suiteId: String

    Permalink
    Definition Classes
    Suite
  190. def suiteName: String

    Permalink
    Definition Classes
    Suite
  191. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  192. def tags: Map[String, Set[String]]

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  193. def tempDir: File

    Permalink

    Returns the temporary directory as a File instance.

    Returns the temporary directory as a File instance.

    Attributes
    protected
    Definition Classes
    TempDirectoryTest
  194. def testDataDir: String

    Permalink

    Test data directory

    Test data directory

    returns

    directory path

    Definition Classes
    TestCommon
  195. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  196. def testNames: Set[String]

    Permalink
    Definition Classes
    FlatSpecLike → Suite
  197. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

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

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

    Permalink
    Definition Classes
    Matchers
  200. val theSameInstanceAs: TheSameInstanceAsPhrase

    Permalink
    Definition Classes
    Matchers
  201. val they: TheyWord

    Permalink
    Attributes
    protected
    Definition Classes
    FlatSpecLike
  202. def thrownBy(fun: ⇒ Any): ResultOfThrownByApplication

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

    Permalink
    Definition Classes
    FlatSpec → AnyRef → Any
  204. implicit val ttc: ClassTag[TransformerType]

    Permalink
  205. val typeCheck: TypeCheckWord

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

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  208. val value: ValueWord

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  213. def withFixture(test: NoArgTest): Outcome

    Permalink
    Attributes
    protected
    Definition Classes
    TestSuite
  214. val writable: WritableWord

    Permalink
    Definition Classes
    MatcherWords
  215. def writeAndRead(stage: TransformerType, savePath: String = stageSavePath): OpPipelineStageBase

    Permalink

    A helper function to write and read stage into savePath

    A helper function to write and read stage into savePath

    stage

    stage instance to write and then read

    savePath

    Spark stage save path

    returns

    read stage

    Attributes
    protected
    Definition Classes
    TransformerSpecCommon
  216. implicit val wto: scala.reflect.api.JavaUniverse.WeakTypeTag[O]

    Permalink
    Definition Classes
    SwTransformerSpec → TransformerSpecCommon

Deprecated Value Members

  1. final def execute: Unit

    Permalink
    Definition Classes
    Suite
    Annotations
    @deprecated
    Deprecated

    The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().

  2. def resourceString(parent: String = resourceDir, noSpaces: Boolean = true, name: String): String

    Permalink

    Load a test resource file as string

    Load a test resource file as string

    parent

    resource folder

    noSpaces

    trim all spaces

    name

    resource name

    returns

    resource file

    Definition Classes
    TestCommon
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2.3) Use loadResource

  3. 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 TransformerSpecCommon[O, TransformerType]

Inherited from OpPipelineStageSpec[O, TransformerType]

Inherited from OpPipelineStageAsserts

Inherited from AppendedClues

Inherited from TestSparkContext

Inherited from TestCommon

Inherited from Matchers

Inherited from Explicitly

Inherited from MatcherWords

Inherited from Tolerance

Inherited from TempDirectoryTest

Inherited from BeforeAndAfterAll

Inherited from SuiteMixin

Inherited from FeatureTypeEquality[O]

Inherited from FlatSpec

Inherited from FlatSpecLike

Inherited from Documenting

Inherited from Alerting

Inherited from Notifying

Inherited from Informing

Inherited from CanVerb

Inherited from MustVerb

Inherited from ShouldVerb

Inherited from TestRegistration

Inherited from TestSuite

Inherited from Suite

Inherited from Serializable

Inherited from Serializable

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped