diff --git a/translations/atrium-translations-en_GB/src/commonMain/kotlin/ch/tutteli/atrium/translations/DescriptionMapLikeExpectation.kt b/translations/atrium-translations-en_GB/src/commonMain/kotlin/ch/tutteli/atrium/translations/DescriptionMapLikeExpectation.kt index bb094932df..20f9153315 100644 --- a/translations/atrium-translations-en_GB/src/commonMain/kotlin/ch/tutteli/atrium/translations/DescriptionMapLikeExpectation.kt +++ b/translations/atrium-translations-en_GB/src/commonMain/kotlin/ch/tutteli/atrium/translations/DescriptionMapLikeExpectation.kt @@ -6,34 +6,78 @@ import ch.tutteli.atrium.reporting.translating.StringBasedTranslatable /** * Contains the [DescriptiveAssertion.description]s of the assertion functions which are applicable to [Map]. */ +@Deprecated( + "Switch to DescriptionMapLikeProof from core, will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof") +) enum class DescriptionMapLikeExpectation(override val value: String) : StringBasedTranslatable { + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.TO_CONTAIN") + ) /** @since 0.18.0 */ TO_CONTAIN("to contain"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.TO_CONTAIN_KEY") + ) /** @since 0.18.0 */ TO_CONTAIN_KEY("to contain key"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.NOT_TO_CONTAIN_KEY") + ) /** @since 0.18.0 */ - NOT_TO_CONTAIN_KEY("not to ontain key"), + NOT_TO_CONTAIN_KEY("not to contain key"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.ENTRY_WITH_KEY") + ) /** @since 0.18.0 */ ENTRY_WITH_KEY("entry %s"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ANY_ORDER") + ) /** @since 0.18.0 */ IN_ANY_ORDER("%s, in any order"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ANY_ORDER_ONLY") + ) /** @since 0.18.0 */ IN_ANY_ORDER_ONLY("%s only, in any order"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ORDER") + ) /** @since 0.18.0 */ IN_ORDER("%, in order"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ORDER_ONLY") + ) /** @since 0.18.0 */ IN_ORDER_ONLY("%s only, in order"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.KEY_DOES_NOT_EXIST") + ) /** @since 0.18.0 */ KEY_DOES_NOT_EXIST("❗❗ key does not exist"), + @Deprecated( + "will be removed with 2.0.0 at the latest", + ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.WARNING_ADDITIONAL_ENTRIES") + ) /** @since 0.18.0 */ WARNING_ADDITIONAL_ENTRIES("additional entries detected"), }