Trait

com.raquo.domtestutils.scalatest

AsyncMountSpec

Related Doc: package scalatest

Permalink

trait AsyncMountSpec extends AsyncTestSuite with MountOps

Linear Supertypes
MountOps, AsyncTestSuite, CompleteLastly, RecoverMethods, Suite, Serializable, Serializable, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncMountSpec
  2. MountOps
  3. AsyncTestSuite
  4. CompleteLastly
  5. RecoverMethods
  6. Suite
  7. Serializable
  8. Serializable
  9. Assertions
  10. TripleEquals
  11. TripleEqualsSupport
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AssertionsHelper extends AnyRef

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

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. class Equalizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. trait NoArgAsyncTest extends () ⇒ FutureOutcome with TestData

    Permalink
    Definition Classes
    AsyncTestSuite
  5. class ResultOfCompleteInvocation[T] extends AnyRef

    Permalink
    Definition Classes
    CompleteLastly

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. final def ==(arg0: Any): Boolean

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

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

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

    Permalink
    Definition Classes
    TripleEqualsSupport
  10. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  15. def assertEmptyContainer(clue: String): Unit

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

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

    Permalink
    Definition Classes
    Assertions
  18. def assertRootNodeMounted(clue: String): Unit

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

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

    Permalink
    Definition Classes
    Assertions
  21. val assertionsHelper: AssertionsHelper

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

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

    Permalink
    Definition Classes
    Assertions
  24. def cancel(cause: Throwable)(implicit pos: Position): Nothing

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

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

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

    Permalink
    Definition Classes
    Assertions
  28. def clearDOM(): Unit

    Permalink

    Remove all traces of previous tests from the DOM: Unmount the root node and remove the container from the DOM

    Remove all traces of previous tests from the DOM: Unmount the root node and remove the container from the DOM

    Definition Classes
    MountOps
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def complete[T](completeBlock: ⇒ T)(implicit futuristic: Futuristic[T]): ResultOfCompleteInvocation[T]

    Permalink
    Definition Classes
    CompleteLastly
  31. var containerNode: Element

    Permalink

    Container element that will hold the root node as a child.

    Container element that will hold the root node as a child. Container is mounted as a child of <body> element

    Definition Classes
    MountOps
  32. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  33. implicit def convertAssertionToFutureAssertion(assertion: Assertion): Future[Assertion]

    Permalink
    Definition Classes
    AsyncTestSuite
  34. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

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

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

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  38. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  40. def createContainer(): Element

    Permalink
    Definition Classes
    MountOps
  41. def defaultEquality[A]: Equality[A]

    Permalink
    Definition Classes
    TripleEqualsSupport
  42. val defaultMountedElementClue: String

    Permalink
    Definition Classes
    MountOps
  43. def doAssert(condition: Boolean, message: String): Unit

    Permalink

    If condition is false, fail the test with a given message This method exists for compatibility with different test frameworks.

    If condition is false, fail the test with a given message This method exists for compatibility with different test frameworks.

    Definition Classes
    AsyncMountSpecMountOps
  44. def doFail(message: String): Nothing

    Permalink

    Fail the test with a given message This method exists for compatibility with different test frameworks.

    Fail the test with a given message This method exists for compatibility with different test frameworks.

    Definition Classes
    AsyncMountSpecMountOps
  45. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  47. implicit def executionContext: ExecutionContext

    Permalink
    Definition Classes
    AsyncMountSpec → AsyncTestSuite
  48. def expectNode(actualNode: Node, expectedNode: ExpectedNode, clue: String = mountedElementClue): Unit

    Permalink

    Check that a given node matches the provided description.

    Check that a given node matches the provided description. Call doFail with an error message if the test fails.

    Definition Classes
    MountOps
  49. def expectNode(expectedNode: ExpectedNode): Unit

    Permalink

    Check that the root node matches the provided description.

    Check that the root node matches the provided description. Call doFail with an error message if the test fails.

    Definition Classes
    MountOps
  50. def expectedTestCount(filter: Filter): Int

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Assertions
  59. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  60. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  62. def mount(clue: String, node: Node): Unit

    Permalink

    Inject the root node into the DOM – alternative argument order for convenience

    Inject the root node into the DOM – alternative argument order for convenience

    Definition Classes
    MountOps
  63. def mount(node: Node): Unit

    Permalink

    Inject the root node into the DOM – with default clue Note: defaultMountedElementClue should not be made a default value on the above mount method because that prevents users from defining their own mount methods that accept default arguments ("multiple overloaded alternatives of method mount define default arguments") error

    Inject the root node into the DOM – with default clue Note: defaultMountedElementClue should not be made a default value on the above mount method because that prevents users from defining their own mount methods that accept default arguments ("multiple overloaded alternatives of method mount define default arguments") error

    Definition Classes
    MountOps
  64. def mount(node: Node, clue: String): Unit

    Permalink

    Inject the root node into the DOM

    Inject the root node into the DOM

    Definition Classes
    MountOps
  65. var mountedElementClue: String

    Permalink

    Prefix to add to error messages – useful to differentiate between different mount() calls within one test

    Prefix to add to error messages – useful to differentiate between different mount() calls within one test

    Definition Classes
    MountOps
  66. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Suite
  68. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  70. def parallelAsyncTestExecution: Boolean

    Permalink
    Attributes
    protected[org.scalatest]
    Definition Classes
    AsyncTestSuite
  71. def pending: Assertion with PendingStatement

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

    Permalink
    Definition Classes
    Assertions
  73. def recoverToExceptionIf[T <: AnyRef](future: Future[Any])(implicit classTag: ClassTag[T], exCtx: ExecutionContext, pos: Position): Future[T]

    Permalink
    Definition Classes
    RecoverMethods
  74. def recoverToSucceededIf[T <: AnyRef](future: Future[Any])(implicit classTag: ClassTag[T], exCtx: ExecutionContext, pos: Position): Future[Assertion]

    Permalink
    Definition Classes
    RecoverMethods
  75. def rerunner: Option[String]

    Permalink
    Definition Classes
    Suite
  76. def resetDOM(): Unit

    Permalink

    Clear the DOM and create a new container.

    Clear the DOM and create a new container. This should be called before each test.

    Definition Classes
    MountOps
  77. def rootNode: Node

    Permalink

    Root node is the node that we test in expectNode.

    Root node is the node that we test in expectNode. It is the only child of the containerNode element

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

    Permalink
    Definition Classes
    Suite
  79. def runNestedSuites(args: Args): Status

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Suite
  82. val styleName: String

    Permalink
    Definition Classes
    Suite
  83. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  84. def suiteId: String

    Permalink
    Definition Classes
    Suite
  85. def suiteName: String

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

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

    Permalink
    Definition Classes
    Suite
  88. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Permalink
    Definition Classes
    Suite
  89. def testNames: Set[String]

    Permalink
    Definition Classes
    Suite
  90. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  91. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]

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

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  93. def unmount(): Unit

    Permalink

    Remove root node from the DOM

    Remove root node from the DOM

    Definition Classes
    MountOps
  94. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Assertions
  98. def withFixture(test: NoArgAsyncTest): FutureOutcome

    Permalink

    Note: we use withFixture instead of beforeEach/afterEach because ScalaTest obscures error messages reported from the latter.

    Note: we use withFixture instead of beforeEach/afterEach because ScalaTest obscures error messages reported from the latter.

    Definition Classes
    AsyncMountSpec → AsyncTestSuite

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 MountOps

Inherited from AsyncTestSuite

Inherited from CompleteLastly

Inherited from RecoverMethods

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