Skip to content

Commit

Permalink
Merge branch 'feature-remaining-open-classes' of github.com:cheeseng/…
Browse files Browse the repository at this point in the history
…scalatest into cheeseng-feature-remaining-open-classes
  • Loading branch information
bvenners committed Nov 30, 2022
2 parents 3b2dc4e + d235416 commit 1eb8105
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jvm/core/src/main/scala/org/scalatest/FutureOutcome.scala
Expand Up @@ -99,7 +99,10 @@ And this confusion of Success(Failed) is what the Or is intended to alleviate.
* with <code>FutureOutcome</code>.
* </p>
*/
// SKIP-DOTTY-START
class FutureOutcome(private[scalatest] val underlying: Future[Outcome]) {
// SKIP-DOTTY-END
//DOTTY-ONLY open class FutureOutcome(private[scalatest] val underlying: Future[Outcome]) {
// TODO: add tests for pretty toString

/**
Expand Down
3 changes: 3 additions & 0 deletions jvm/core/src/main/scala/org/scalatest/Sequential.scala
Expand Up @@ -63,7 +63,10 @@ import org.scalactic.exceptions.NullArgumentException
*
* @author Bill Venners
*/
// SKIP-DOTTY-START
class Sequential(suitesToNest: Suite*) extends Suite with SequentialNestedSuiteExecution { thisSuite =>
// SKIP-DOTTY-END
//DOTTY-ONLY open class Sequential(suitesToNest: Suite*) extends Suite with SequentialNestedSuiteExecution { thisSuite =>

requireNonNull(suitesToNest)

Expand Down
3 changes: 3 additions & 0 deletions jvm/core/src/main/scala/org/scalatest/Stepwise.scala
Expand Up @@ -61,7 +61,10 @@ import org.scalactic.exceptions.NullArgumentException
*
* @author Bill Venners
*/
// SKIP-DOTTY-START
class Stepwise(suitesToNest: Suite*) extends Suite with StepwiseNestedSuiteExecution { thisSuite =>
// SKIP-DOTTY-END
//DOTTY-ONLY open class Stepwise(suitesToNest: Suite*) extends Suite with StepwiseNestedSuiteExecution { thisSuite =>

requireNonNull(suitesToNest)

Expand Down
3 changes: 3 additions & 0 deletions jvm/core/src/main/scala/org/scalatest/Suites.scala
Expand Up @@ -54,7 +54,10 @@ import org.scalactic.exceptions.NullArgumentException
*/
//SCALATESTJS-ONLY @scala.scalajs.reflect.annotation.EnableReflectiveInstantiation
//SCALATESTNATIVE-ONLY @scala.scalanative.reflect.annotation.EnableReflectiveInstantiation
// SKIP-DOTTY-START
class Suites(suitesToNest: Suite*) extends Suite { thisSuite =>
// SKIP-DOTTY-END
//DOTTY-ONLY open class Suites(suitesToNest: Suite*) extends Suite { thisSuite =>

requireNonNull(suitesToNest)

Expand Down
3 changes: 3 additions & 0 deletions jvm/core/src/main/scala/org/scalatest/Tag.scala
Expand Up @@ -146,7 +146,10 @@ package org.scalatest
* @author Bill Venners
* @author George Berger
*/
// SKIP-DOTTY-START
class Tag(val name: String)
// SKIP-DOTTY-END
//DOTTY-ONLY open class Tag(val name: String)

/**
* Companion object for <code>Tag</code>, which offers a factory method.
Expand Down

0 comments on commit 1eb8105

Please sign in to comment.