Skip to content

Commit

Permalink
doc: added a deprecation message for BeforeAfterAll
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-eric-torreborre committed Sep 12, 2021
1 parent bfb4185 commit d92f620
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -146,7 +146,7 @@ trait BeforeAfterSpec extends SpecificationStructure with FragmentsFactory:

/** Execute a step before all other fragments
*/
@deprecated(since = "5.0.0")
@deprecated(message = "Use the org.specs2.specification.BeforeSpec trait instead", since = "5.0.0")
trait BeforeAll extends SpecificationStructure with FragmentsFactory:
def beforeAll(): Unit

Expand All @@ -155,7 +155,7 @@ trait BeforeAll extends SpecificationStructure with FragmentsFactory:

/** Execute a step after all other fragments
*/
@deprecated(since = "5.0.0")
@deprecated(message = "Use the org.specs2.specification.AfterSpec trait instead", since = "5.0.0")
trait AfterAll extends SpecificationStructure with FragmentsFactory:
def afterAll(): Unit

Expand All @@ -164,7 +164,7 @@ trait AfterAll extends SpecificationStructure with FragmentsFactory:

/** Execute a step before and after all other fragments
*/
@deprecated(since = "5.0.0")
@deprecated(message = "Use the org.specs2.specification.BeforeAfterSpec trait instead", since = "5.0.0")
trait BeforeAfterAll extends SpecificationStructure with FragmentsFactory:
def beforeAll(): Unit
def afterAll(): Unit
Expand Down

0 comments on commit d92f620

Please sign in to comment.