Trait

com.salesforce.op.test

TestSparkContext

Related Doc: package test

Permalink

trait TestSparkContext extends TempDirectoryTest with TestCommon

Trait to enable Spark context for tests Modified version of Spark 2.x test suite trait

Self Type
TestSparkContext with Suite
Linear Supertypes
TestCommon, Matchers, Explicitly, MatcherWords, ShouldVerb, Tolerance, Assertions, TripleEquals, TripleEqualsSupport, TempDirectoryTest, BeforeAndAfterAll, SuiteMixin, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestSparkContext
  2. TestCommon
  3. Matchers
  4. Explicitly
  5. MatcherWords
  6. ShouldVerb
  7. Tolerance
  8. Assertions
  9. TripleEquals
  10. TripleEqualsSupport
  11. TempDirectoryTest
  12. BeforeAndAfterAll
  13. SuiteMixin
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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

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 runTest(testName: String, args: Args): Status

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

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

    Permalink
    Definition Classes
    SuiteMixin
  8. abstract def suiteId: String

    Permalink
    Definition Classes
    SuiteMixin
  9. abstract def suiteName: String

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

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

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

    Permalink
    Definition Classes
    SuiteMixin

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: (TestSparkContext.this)#AWord

    Permalink
    Definition Classes
    Matchers
  17. val after: (TestSparkContext.this)#TheAfterWord

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

    Permalink
    Definition Classes
    TestSparkContextTempDirectoryTest → BeforeAndAfterAll
  19. def all(xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): (TestSparkContext.this)#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): (TestSparkContext.this)#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): (TestSparkContext.this)#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: (TestSparkContext.this)#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. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  35. val assertionsHelper: (TestSparkContext.this)#AssertionsHelper

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

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

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

    Permalink
    Definition Classes
    Matchers
  39. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

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

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

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

    Permalink
    Definition Classes
    Matchers
  44. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

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

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

    Permalink
    Definition Classes
    Matchers
  48. val be: BeWord

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

    Permalink
    Definition Classes
    TestSparkContextTempDirectoryTest → BeforeAndAfterAll
  50. def between(from: Int, upTo: Int, xs: String)(implicit collecting: Collecting[Char, String], prettifier: Prettifier, pos: Position): (TestSparkContext.this)#ResultOfCollectedAny[Char]

    Permalink
    Definition Classes
    Matchers
  51. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

    Permalink
    Definition Classes
    Matchers
  53. def cancel(cause: Throwable)(implicit pos: Position): Nothing

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

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

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

    Permalink
    Definition Classes
    Assertions
  57. lazy val checkpointDir: String

    Permalink
  58. def clone(): AnyRef

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

    Permalink
    Definition Classes
    MatcherWords
  60. lazy val conf: SparkConf

    Permalink
  61. val contain: ContainWord

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

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

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

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

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

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

    Permalink
    Definition Classes
    Tolerance
  68. implicit def convertSymbolToHavePropertyMatcherGenerator(symbol: Symbol)(implicit prettifier: Prettifier, pos: Position): (TestSparkContext.this)#HavePropertyMatcherGenerator

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

    Permalink
    Definition Classes
    Matchers
  70. def convertToCheckingEqualizer[T](left: T): (TestSparkContext.this)#CheckingEqualizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  71. implicit def convertToEqualizer[T](left: T): (TestSparkContext.this)#Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  72. implicit def convertToRegexWrapper(o: Regex): (TestSparkContext.this)#RegexWrapper

    Permalink
    Definition Classes
    Matchers
  73. implicit def convertToStringShouldWrapper(o: String)(implicit pos: Position, prettifier: Prettifier): (TestSparkContext.this)#StringShouldWrapper

    Permalink
    Definition Classes
    Matchers
  74. implicit def convertToStringShouldWrapperForVerb(o: String)(implicit position: Position): (TestSparkContext.this)#StringShouldWrapperForVerb

    Permalink
    Definition Classes
    ShouldVerb
  75. 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
  76. 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
  77. val decided: (TestSparkContext.this)#DecidedWord

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

    Permalink
    Definition Classes
    TripleEqualsSupport
  79. val defined: DefinedWord

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

    Permalink
    Definition Classes
    Matchers
  81. 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
  82. val determined: (TestSparkContext.this)#DeterminedWord

    Permalink
    Definition Classes
    Explicitly
  83. val empty: EmptyWord

    Permalink
    Definition Classes
    MatcherWords
  84. val endWith: EndWithWord

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

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

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

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

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

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

    Permalink
    Definition Classes
    Matchers
  91. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

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

    Permalink
    Definition Classes
    Matchers
  94. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

    Permalink
    Definition Classes
    Matchers
  96. val exist: ExistWord

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MatcherWords
  106. def inOrder(firstEle: Any, secondEle: Any, remainingEles: Any*)(implicit pos: Position): ResultOfInOrderApplication

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

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

    Permalink
    Definition Classes
    Matchers
  109. val include: IncludeWord

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

    Permalink
    Definition Classes
    Assertions
  111. val invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean

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

    Permalink
    Definition Classes
    Any
  113. 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
  114. val key: (TestSparkContext.this)#KeyWord

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

    Permalink
  116. val length: LengthWord

    Permalink
    Definition Classes
    MatcherWords
  117. 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
  118. 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
  119. def loggingLevel(level: Level): Unit

    Permalink

    Set logging level for

    Set logging level for

    Definition Classes
    TestCommon
  120. def loggingOff(): Unit

    Permalink

    Disable all logging

    Disable all logging

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

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  123. val matchPattern: MatchPatternWord

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

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

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

    Permalink
    Definition Classes
    Matchers
  127. 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): (TestSparkContext.this)#ResultOfCollectedAny[Entry[K, V]]

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

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

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

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

    Permalink
    Definition Classes
    Matchers
  132. val not: NotWord

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  141. val readable: ReadableWord

    Permalink
    Definition Classes
    MatcherWords
  142. val regex: (TestSparkContext.this)#RegexWord

    Permalink
    Definition Classes
    Matchers
  143. def registerShutdownDeleteDir(file: File): Unit

    Permalink
    Definition Classes
    TempDirectoryTest
  144. def removeShutdownDeleteDir(file: File): Unit

    Permalink
    Definition Classes
    TempDirectoryTest
  145. def resourceDir: String

    Permalink

    Returns the resource directory path

    Returns the resource directory path

    Attributes
    protected
    Definition Classes
    TestCommon
  146. 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
  147. def run(testName: Option[String], args: Args): Status

    Permalink
    Definition Classes
    BeforeAndAfterAll → SuiteMixin
  148. implicit lazy val sc: SparkContext

    Permalink
  149. val size: SizeWord

    Permalink
    Definition Classes
    MatcherWords
  150. val sorted: SortedWord

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

    Permalink
  152. val startWith: StartWithWord

    Permalink
    Definition Classes
    MatcherWords
  153. final val succeed: Assertion

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

    Permalink
    Definition Classes
    AnyRef
  155. 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
  156. def testDataDir: String

    Permalink

    Test data directory

    Test data directory

    returns

    directory path

    Definition Classes
    TestCommon
  157. def the[T](implicit arg0: ClassTag[T], pos: Position): ResultOfTheTypeInvocation[T]

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

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

    Permalink
    Definition Classes
    Matchers
  160. val theSameInstanceAs: (TestSparkContext.this)#TheSameInstanceAsPhrase

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

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

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

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

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  166. val value: (TestSparkContext.this)#ValueWord

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  171. val writable: WritableWord

    Permalink
    Definition Classes
    MatcherWords

Deprecated Value Members

  1. 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

  2. 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 TestCommon

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 TempDirectoryTest

Inherited from BeforeAndAfterAll

Inherited from SuiteMixin

Inherited from AnyRef

Inherited from Any

Ungrouped