mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
deprecate DescriptionThrowableAssertion.NO_EXCEPTION_OCCURRED
This commit is contained in:
@@ -12,6 +12,9 @@ enum class DescriptionThrowableAssertion(override val value: String) : StringBas
|
||||
ReplaceWith("ch.tutteli.atrium.translations.DescriptionAnyAssertion.IS_A")
|
||||
)
|
||||
IS_A("ist eine"),
|
||||
@Deprecated("Will be removed with 1.0.0",
|
||||
ReplaceWith("ch.tutteli.atrium.translations.DescriptionFunLikeAssertion.NO_EXCEPTION_OCCURRED")
|
||||
)
|
||||
NO_EXCEPTION_OCCURRED("keine Exception wurde geworfen"),
|
||||
NOT_CAUSED("❗❗ nicht durch eine andere Exception verursacht"),
|
||||
//TODO rename to CAUSE with 1.0.0
|
||||
|
||||
@@ -12,6 +12,10 @@ enum class DescriptionThrowableAssertion(override val value: String) : StringBas
|
||||
ReplaceWith("ch.tutteli.atrium.translations.DescriptionAnyAssertion.IS_A")
|
||||
)
|
||||
IS_A("is a"),
|
||||
@Deprecated(
|
||||
"Will be removed with 1.0.0",
|
||||
ReplaceWith("ch.tutteli.atrium.translations.DescriptionFunLikeAssertion.NO_EXCEPTION_OCCURRED")
|
||||
)
|
||||
NO_EXCEPTION_OCCURRED("no exception occurred"),
|
||||
NOT_CAUSED("❗❗ not caused by another exception"),
|
||||
//TODO rename to CAUSE with 1.0.0
|
||||
|
||||
Reference in New Issue
Block a user