Skip to content

Commit 6759295

Browse files
committed
Merge branch 'feature-deprecate-test-registration-traits' of https://github.com/scalatest/scalatest into 3.1.x
2 parents 02069ea + c3198e3 commit 6759295

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

scalatest/src/main/scala/org/scalatest/AsyncTestRegistration.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ import scala.concurrent.Future
1919
import org.scalactic._
2020

2121
/**
22+
* <strong>The <code>org.scalatest.AsyncTestRegistration</code> has been deprecated and will be removed in a future version of ScalaTest. We do
23+
* not plan a replacement.</strong>
24+
*
2225
* Trait declaring methods that can be used to register by-name test functions that
2326
* have result type <code>Future[Assertion]</code>.
2427
*/
28+
@deprecated("The org.scalatest.AsyncTestRegistration trait has been deprecated and will be removed in a future version of ScalaTest. No replacement is planned.", "3.1.0")
2529
trait AsyncTestRegistration { theSuite: AsyncTestSuite =>
2630

2731
/**

scalatest/src/main/scala/org/scalatest/FixtureAsyncTestRegistration.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ import scala.concurrent.Future
2121
import org.scalatest.compatible
2222

2323
/**
24+
* <strong>The <code>org.scalatest.FixtureAsyncTestRegistration</code> has been deprecated and will be removed in a future version of ScalaTest. We do
25+
* not plan a replacement.</strong>
26+
*
2427
* Trait declaring methods that can be used to register test functions that accept
2528
* a fixture parameter and have result type <code>Future[Assertion]</code>.
2629
*/
30+
@deprecated("The org.scalatest.FixtureAsyncTestRegistration trait has been deprecated and will be removed in a future version of ScalaTest. No replacement is planned.", "3.1.0")
2731
trait FixtureAsyncTestRegistration { theSuite: org.scalatest.FixtureAsyncTestSuite =>
2832

2933
/**

scalatest/src/main/scala/org/scalatest/FixtureTestRegistration.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ import org.scalactic._
1919
import org.scalatest.Tag
2020

2121
/**
22+
* <strong>The <code>org.scalatest.FixtureTestRegistration</code> has been deprecated and will be removed in a future version of ScalaTest. We do
23+
* not plan a replacement.</strong>
24+
*
2225
* Trait declaring methods that can be used to register test functions that accept
2326
* a fixture parameter and have any result type.
2427
*/
28+
@deprecated("The org.scalatest.FixtureTestRegistration trait has been deprecated and will be removed in a future version of ScalaTest. No replacement is planned.", "3.1.0")
2529
trait FixtureTestRegistration { theSuite: org.scalatest.FixtureSuite =>
2630

2731
/**

scalatest/src/main/scala/org/scalatest/TestRegistration.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ package org.scalatest
1818
import org.scalactic._
1919

2020
/**
21+
* <strong>The <code>org.scalatest.TestRegistration</code> has been deprecated and will be removed in a future version of ScalaTest. We do
22+
* not plan a replacement.</strong>
23+
*
2124
* Trait declaring methods that can be used to register by-name test functions that
2225
* have any result type.
2326
*/
27+
@deprecated("The org.scalatest.TestRegistration trait has been deprecated and will be removed in a future version of ScalaTest. No replacement is planned.", "3.1.0")
2428
trait TestRegistration { theSuite: Suite =>
2529

2630
/**

0 commit comments

Comments
 (0)