Skip to content

Commit

Permalink
Merge branch 'feature-scala-3-open-class' of https://github.com/chees…
Browse files Browse the repository at this point in the history
…eng/scalatest into 3.2.x-new
  • Loading branch information
cheeseng committed Jul 20, 2022
2 parents 9a63522 + 88c9a29 commit bfb8b9e
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,10 @@ import org.scalatest._
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.FeatureSpecFinder"))
// SKIP-DOTTY-START
class AnyFeatureSpec extends AnyFeatureSpecLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyFeatureSpec extends AnyFeatureSpecLike {

/**
* Returns a user friendly string for this suite, composed of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,10 @@ import org.scalatest.{Finders, Suite}
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.FlatSpecFinder"))
// SKIP-DOTTY-START
class AnyFlatSpec extends AnyFlatSpecLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyFlatSpec extends AnyFlatSpecLike {

/**
* Returns a user friendly string for this suite, composed of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1736,8 +1736,10 @@ import org.scalatest.{Suite, Finders}
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.FreeSpecFinder"))
// SKIP-DOTTY-START
class AnyFreeSpec extends AnyFreeSpecLike {

// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyFreeSpec extends AnyFreeSpecLike {
/**
* Returns a user friendly string for this suite, composed of the
* simple name of the class (possibly simplified further by removing dollar signs if added by the Scala interpeter) and, if this suite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,10 @@ import org.scalatest._
*/
@Finders(Array("org.scalatest.finders.FreeSpecFinder"))
// SKIP-SCALATESTJS,NATIVE-START
// SKIP-DOTTY-START
class PathAnyFreeSpec extends org.scalatest.freespec.PathAnyFreeSpecLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class PathAnyFreeSpec extends org.scalatest.freespec.PathAnyFreeSpecLike {
// SKIP-SCALATESTJS,NATIVE-END
//SCALATESTJS,NATIVE-ONLY abstract class PathAnyFreeSpec extends org.scalatest.freespec.PathAnyFreeSpecLike {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1628,8 +1628,10 @@ import org.scalatest.{Suite, Finders}
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.FunSpecFinder"))
// SKIP-DOTTY-START
class AnyFunSpec extends AnyFunSpecLike {

// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyFunSpec extends AnyFunSpecLike {
/**
* Returns a user friendly string for this suite, composed of the
* simple name of the class (possibly simplified further by removing dollar signs if added by the Scala interpeter) and, if this suite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,10 @@ import org.scalatest._
*/
@Finders(Array("org.scalatest.finders.FunSpecFinder"))
// SKIP-SCALATESTJS,NATIVE-START
// SKIP-DOTTY-START
class PathAnyFunSpec extends org.scalatest.funspec.PathAnyFunSpecLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class PathAnyFunSpec extends org.scalatest.funspec.PathAnyFunSpecLike {
// SKIP-SCALATESTJS,NATIVE-END
//SCALATESTJS,NATIVE-ONLY abstract class PathAnyFunSpec extends org.scalatest.funspec.PathAnyFunSpecLike {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,10 @@ import org.scalatest.{Suite, Finders}
@Finders(Array("org.scalatest.finders.FunSuiteFinder"))
//SCALATESTJS-ONLY @scala.scalajs.reflect.annotation.EnableReflectiveInstantiation
//SCALATESTNATIVE-ONLY @scala.scalanative.reflect.annotation.EnableReflectiveInstantiation
// SKIP-DOTTY-START
class AnyFunSuite extends AnyFunSuiteLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyFunSuite extends AnyFunSuiteLike {

/**
* Returns a user friendly string for this suite, composed of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,10 @@ import org.scalatest.{Finders, Suite}
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.PropSpecFinder"))
// SKIP-DOTTY-START
class AnyPropSpec extends AnyPropSpecLike {

// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyPropSpec extends AnyPropSpecLike {
/**
* Returns a user friendly string for this suite, composed of the
* simple name of the class (possibly simplified further by removing dollar signs if added by the Scala interpeter) and, if this suite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,10 @@ import RefSpec.isTestMethod
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.SpecFinder"))
// SKIP-DOTTY-START
class RefSpec extends RefSpecLike {
// SKIP-DOTTY-END
//DOTTY-ONLY open class RefSpec extends RefSpecLike {

/**
* Returns a user friendly string for this suite, composed of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1876,8 +1876,10 @@ import org.scalatest.{ Suite, Finders }
* @author Bill Venners
*/
@Finders(Array("org.scalatest.finders.WordSpecFinder"))
// SKIP-DOTTY-START
class AnyWordSpec extends AnyWordSpecLike {

// SKIP-DOTTY-END
//DOTTY-ONLY open class AnyWordSpec extends AnyWordSpecLike {
/**
* Returns a user friendly string for this suite, composed of the
* simple name of the class (possibly simplified further by removing dollar signs if added by the Scala interpeter) and, if this suite
Expand Down

0 comments on commit bfb8b9e

Please sign in to comment.