Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala 3 Open Class for Style Classes #2146

Merged
merged 1 commit into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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