change deprecation message, removal with 0.10.0 instead of 1.0.0

This commit is contained in:
Robert Stoll
2020-01-10 17:20:13 +01:00
parent f373ae271b
commit b57126b4e3
322 changed files with 1044 additions and 1049 deletions

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -10,12 +10,12 @@ import ch.tutteli.atrium.reporting.translating.Translatable
/**
* `Deprecated`, do not use this class, it is only here to retain binary compatibility.
*/
@Deprecated("Do not use this class, it is only here to retain binary compatibility (file was renamed to charSequenceContainsCreators); will be removed with 1.0.0")
@Deprecated("Do not use this class, it is only here to retain binary compatibility (file was renamed to charSequenceContainsCreators); will be removed with 0.10.0")
object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.value(expected)")
)
fun <T : CharSequence> value(
@@ -25,7 +25,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.values(expected, *otherExpected)")
)
fun <T : CharSequence> values(
@@ -37,7 +37,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.value(expected)")
)
fun <T : CharSequence> valueIgnoringCase(
@@ -47,7 +47,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.values(expected, *otherExpected)")
)
fun <T : CharSequence> valuesIgnoringCase(
@@ -59,7 +59,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.defaultTranslationOf(expected, *otherExpected)")
)
fun <T : CharSequence> defaultTranslationOf(
@@ -70,7 +70,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.defaultTranslationOf(expected, *otherExpected)")
)
fun <T : CharSequence> defaultTranslationOfIgnoringCase(
@@ -82,7 +82,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.regex(pattern, *otherPatterns)")
)
fun <T : CharSequence> regex(
@@ -93,7 +93,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder.regex(pattern, *otherPatterns)")
)
fun <T : CharSequence> regexIgnoringCase(

View File

@@ -17,7 +17,7 @@ import ch.tutteli.atrium.reporting.Reporter
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(expected)"))
fun <T : Any> Assert<T>.toBe(expected: T)
= addAssertion(AssertImpl.any.toBe(this, expected))
@@ -30,7 +30,7 @@ fun <T : Any> Assert<T>.toBe(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notToBe(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notToBe(expected)"))
fun <T : Any> Assert<T>.notToBe(expected: T)
= addAssertion(AssertImpl.any.notToBe(this, expected))
@@ -43,7 +43,7 @@ fun <T : Any> Assert<T>.notToBe(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `isSameAs` from package en_GB; will be removed with 1.0.0", ReplaceWith("isSameAs(expected)", "ch.tutteli.atrium.api.cc.en_GB.isSameAs"))
@Deprecated("Use `isSameAs` from package en_GB; will be removed with 0.10.0", ReplaceWith("isSameAs(expected)", "ch.tutteli.atrium.api.cc.en_GB.isSameAs"))
fun <T : Any> Assert<T>.isSame(expected: T)
= addAssertion(AssertImpl.any.isSame(this, expected))
@@ -56,7 +56,7 @@ fun <T : Any> Assert<T>.isSame(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `isNotSameAs` from package en_GB; will be removed with 1.0.0", ReplaceWith("isNotSameAs(expected)", "ch.tutteli.atrium.api.cc.en_GB.isNotSameAs"))
@Deprecated("Use `isNotSameAs` from package en_GB; will be removed with 0.10.0", ReplaceWith("isNotSameAs(expected)", "ch.tutteli.atrium.api.cc.en_GB.isNotSameAs"))
fun <T : Any> Assert<T>.isNotSame(expected: T)
= addAssertion(AssertImpl.any.isNotSame(this, expected))
@@ -67,7 +67,7 @@ fun <T : Any> Assert<T>.isNotSame(expected: T)
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `toBe(null)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(null)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `toBe(null)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(null)"))
fun <T : Any?> AssertionPlantNullable<T>.isNull() {
addAssertion(AssertImpl.any.toBeNull(this))
}
@@ -82,7 +82,7 @@ fun <T : Any?> AssertionPlantNullable<T>.isNull() {
*
* @return This plant to support a fluent API.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.and"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.and"))
val <T : Any> AssertionPlant<T>.and: AssertionPlant<T> get() = this
/**
@@ -95,6 +95,6 @@ val <T : Any> AssertionPlant<T>.and: AssertionPlant<T> get() = this
*
* @return This plant to support a fluent API.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.and(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.and(assertionCreator)"))
infix fun <T : Any> AssertionPlant<T>.and(assertionCreator: Assert<T>.() -> Unit)
= addAssertionsCreatedBy(assertionCreator)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtLeastCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ButAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ExactlyCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotOrAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtLeastCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ButAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ExactlyCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -17,7 +17,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotOrAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotOrAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.creating.Assert
@@ -42,7 +42,7 @@ fun <T : BigDecimal> Assert<T>.notToBe(expected: T): Nothing
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNumericallyEqualTo(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNumericallyEqualTo(expected)"))
fun <T : BigDecimal> Assert<T>.isNumericallyEqualTo(expected: T)
= addAssertion(AssertImpl.bigDecimal.isNumericallyEqualTo(this, expected))
@@ -61,7 +61,7 @@ fun <T : BigDecimal> Assert<T>.isNumericallyEqualTo(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotNumericallyEqualTo(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotNumericallyEqualTo(expected)"))
fun <T : BigDecimal> Assert<T>.isNotNumericallyEqualTo(expected: T)
= addAssertion(AssertImpl.bigDecimal.isNotNumericallyEqualTo(this, expected))
@@ -78,7 +78,7 @@ fun <T : BigDecimal> Assert<T>.isNotNumericallyEqualTo(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.v(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.v(expected)"))
fun <T : BigDecimal> Assert<T>.isEqualIncludingScale(expected: T)
= addAssertion(AssertImpl.bigDecimal.isEqualIncludingScale(this, expected, this::isNumericallyEqualTo.name))
@@ -94,6 +94,6 @@ fun <T : BigDecimal> Assert<T>.isEqualIncludingScale(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEqualIncludingScale(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEqualIncludingScale(expected)"))
fun <T : BigDecimal> Assert<T>.isNotEqualIncludingScale(expected: T)
= addAssertion(AssertImpl.bigDecimal.isNotEqualIncludingScale(this, expected))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.creating.Assert
@@ -12,7 +12,7 @@ import ch.tutteli.atrium.creating.SubjectProvider
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Will be removed with 1.0.0 because it is redundant with `toBe(true)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(true)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant with `toBe(true)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(true)"))
fun Assert<Boolean>.isTrue() = toBe(true)
/**
@@ -23,5 +23,5 @@ fun Assert<Boolean>.isTrue() = toBe(true)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Will be removed with 1.0.0 because it is redundant with `toBe(false)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(false)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant with `toBe(false)` without adding enough to be a legit alternative.", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBe(false)"))
fun Assert<Boolean>.isFalse() = toBe(false)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders.NotCheckerOption
@@ -20,11 +20,11 @@ import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceC
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains"))
val <T : CharSequence> Assert<T>.contains: CharSequenceContains.Builder<T, NoOpSearchBehaviour>
get() = AssertImpl.charSequence.containsBuilder(this)
@Deprecated("Use the extension fun `contains` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("plant.contains"))
@Deprecated("Use the extension fun `contains` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("plant.contains"))
fun <T : CharSequence> getContains(plant: Assert<T>): DeprecatedBuilder<T, NoOpSearchBehaviour>
= DeprecatedBuilder(plant, plant.contains.searchBehaviour)
@@ -35,11 +35,11 @@ fun <T : CharSequence> getContains(plant: Assert<T>): DeprecatedBuilder<T, NoOpS
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot"))
val <T : CharSequence> Assert<T>.containsNot: NotCheckerOption<T, NotSearchBehaviour>
get() = NotCheckerOptionImpl(AssertImpl.charSequence.containsNotBuilder(this))
@Deprecated("Use the extension fun `containsNot` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("plant.containsNot"))
@Deprecated("Use the extension fun `containsNot` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("plant.containsNot"))
fun <T : CharSequence> getContainsNot(plant: Assert<T>): DeprecatedNotCheckerBuilder<T, NotSearchBehaviour>
= DeprecatedNotCheckerBuilder(AssertImpl.charSequence.containsNotBuilder(plant))
@@ -70,7 +70,7 @@ fun <T : CharSequence> getContainsNot(plant: Assert<T>): DeprecatedNotCheckerBu
* @throws IllegalArgumentException in case [expected] or one of the [otherExpected] is not a
* [CharSequence], [Number] or [Char].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains(expected, *otherExpected)"))
fun <T : CharSequence> Assert<T>.contains(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
= contains.atLeast(1).values(expected, *otherExpected)
@@ -83,7 +83,7 @@ fun <T : CharSequence> Assert<T>.contains(expected: Any, vararg otherExpected: A
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot(expected, *otherExpected)"))
fun <T : CharSequence> Assert<T>.containsNot(expected: Any, vararg otherExpected: Any)
= containsNot.values(expected, *otherExpected)
@@ -110,7 +110,7 @@ fun <T : CharSequence> Assert<T>.containsNot(expected: Any, vararg otherExpected
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsDefaultTranslationOf(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsDefaultTranslationOf(expected, *otherExpected)"))
fun <T : CharSequence> Assert<T>.containsDefaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>
= contains.atLeast(1).defaultTranslationOf(expected, *otherExpected)
@@ -124,7 +124,7 @@ fun <T : CharSequence> Assert<T>.containsDefaultTranslationOf(expected: Translat
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNotDefaultTranslationOf(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNotDefaultTranslationOf(expected, *otherExpected)"))
fun <T : CharSequence> Assert<T>.containsNotDefaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable)
= containsNot.defaultTranslationOf(expected, * otherExpected)
@@ -152,7 +152,7 @@ fun <T : CharSequence> Assert<T>.containsNotDefaultTranslationOf(expected: Trans
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsRegex(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsRegex(expected, *otherExpected)"))
fun <T : CharSequence> Assert<T>.containsRegex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
= contains.atLeast(1).regex(pattern, *otherPatterns)
@@ -162,7 +162,7 @@ fun <T : CharSequence> Assert<T>.containsRegex(pattern: String, vararg otherPatt
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.startsWith(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.startsWith(expected)"))
fun <T : CharSequence> Assert<T>.startsWith(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.startsWith(this, expected))
@@ -172,7 +172,7 @@ fun <T : CharSequence> Assert<T>.startsWith(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.startsNotWith(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.startsNotWith(expected)"))
fun <T : CharSequence> Assert<T>.startsNotWith(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.startsNotWith(this, expected))
@@ -183,7 +183,7 @@ fun <T : CharSequence> Assert<T>.startsNotWith(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.endsWith(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.endsWith(expected)"))
fun <T : CharSequence> Assert<T>.endsWith(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.endsWith(this, expected))
@@ -193,7 +193,7 @@ fun <T : CharSequence> Assert<T>.endsWith(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.endsNotWith(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.endsNotWith(expected)"))
fun <T : CharSequence> Assert<T>.endsNotWith(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.endsNotWith(this, expected))
@@ -204,7 +204,7 @@ fun <T : CharSequence> Assert<T>.endsNotWith(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isEmpty()"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isEmpty()"))
fun <T : CharSequence> Assert<T>.isEmpty()
= addAssertion(AssertImpl.charSequence.isEmpty(this))
@@ -214,6 +214,6 @@ fun <T : CharSequence> Assert<T>.isEmpty()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEmpty()"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEmpty()"))
fun <T : CharSequence> Assert<T>.isNotEmpty()
= addAssertion(AssertImpl.charSequence.isNotEmpty(this))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders.*
@@ -26,11 +26,11 @@ import ch.tutteli.atrium.assertions.charsequence.contains.searchbehaviours.CharS
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atLeast(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atLeast(times)"))
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.atLeast(times: Int): AtLeastCheckerOption<T, S>
= AtLeastCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `atLeast`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.atLeast(times)"))
@Deprecated("Use the extension fun `atLeast`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.atLeast(times)"))
fun <T : CharSequence, S : SearchBehaviour> atLeast(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedAtLeastCheckerBuilder<T, S>
= DeprecatedAtLeastCheckerBuilder(times, builder)
@@ -50,11 +50,11 @@ fun <T : CharSequence, S : SearchBehaviour> atLeast(builder: DeprecatedBuilder<T
* @throws IllegalArgumentException In case [times] of this `at most` restriction equals to the number of the
* `at least` restriction; use the [exactly] restriction instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.butAtMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.butAtMost(times)"))
fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.butAtMost(times: Int): ButAtMostCheckerOption<T, S>
= ButAtMostCheckerOptionImpl(times, this, containsBuilder)
@Deprecated("Use the extension fun `butAtMost`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.butAtMost(times)"))
@Deprecated("Use the extension fun `butAtMost`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.butAtMost(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> butAtMost(checkerBuilder: DeprecatedAtLeastCheckerBuilder<T, S>, times: Int): DeprecatedButAtMostCheckerBuilder<T, S>
= DeprecatedButAtMostCheckerBuilder(times, checkerBuilder, checkerBuilder.containsBuilder)
@@ -70,11 +70,11 @@ fun <T : CharSequence, S : DeprecatedSearchBehaviour> butAtMost(checkerBuilder:
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.exactly(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.exactly(times)"))
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.exactly(times: Int): ExactlyCheckerOption<T, S>
= ExactlyCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `exactly`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.exactly(times)"))
@Deprecated("Use the extension fun `exactly`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.exactly(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> exactly(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedExactlyCheckerBuilder<T, S>
= DeprecatedExactlyCheckerBuilder(times, builder)
@@ -95,11 +95,11 @@ fun <T : CharSequence, S : DeprecatedSearchBehaviour> exactly(builder: Deprecate
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
* @throws IllegalArgumentException In case [times] equals to one; use [exactly] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atMost(times)"))
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.atMost(times: Int): AtMostCheckerOption<T, S>
= AtMostCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `atMost`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.atMost(times)"))
@Deprecated("Use the extension fun `atMost`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.atMost(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> atMost(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedAtMostCheckerBuilder<T, S>
= DeprecatedAtMostCheckerBuilder(times, builder)
@@ -115,10 +115,10 @@ fun <T : CharSequence, S : DeprecatedSearchBehaviour> atMost(builder: Deprecated
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notOrAtMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notOrAtMost(times)"))
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.notOrAtMost(times: Int): NotOrAtMostCheckerOption<T, S>
= NotOrAtMostCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `notOrAtMost`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.notOrAtMost(times)"))
@Deprecated("Use the extension fun `notOrAtMost`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.notOrAtMost(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> notOrAtMost(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedNotOrAtMostCheckerBuilder<T, S>
= DeprecatedNotOrAtMostCheckerBuilder(times, builder)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -28,7 +28,7 @@ import ch.tutteli.atrium.reporting.translating.Translatable
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
* @throws IllegalArgumentException in case [expected] is not a [CharSequence], [Number] or [Char].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>
= values(expected)
@@ -58,7 +58,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour
* @throws IllegalArgumentException in case [expected] or one of the [otherExpected] is not a
* [CharSequence], [Number] or [Char].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.values(this, expected glue otherExpected))
@@ -80,7 +80,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
* @throws IllegalArgumentException in case [expected] is not a [CharSequence], [Number] or [Char].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@JvmName("valueIgnoringCase")
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>
= values(expected)
@@ -111,7 +111,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchB
* @throws IllegalArgumentException in case [expected] or one of the [otherExpected] is not a
* [CharSequence], [Number] or [Char].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@JvmName("valuesIgnoringCase")
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.valuesIgnoringCase(this, expected glue otherExpected))
@@ -137,7 +137,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchB
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.defaultTranslationOf(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.defaultTranslationOf(expected, *otherExpected)"))
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.defaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.defaultTranslationOf(this, expected glue otherExpected))
@@ -161,7 +161,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.defaultTranslationOf(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.defaultTranslationOf(expected, *otherExpected)"))
@JvmName("defaultTranslationOfIgnoringCase")
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.defaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.defaultTranslationOfIgnoringCase(this, expected glue otherExpected))
@@ -188,7 +188,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchB
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.regex(pattern, *otherPatterns)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.regex(pattern, *otherPatterns)"))
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.regex(this, pattern glue otherPatterns))
@@ -213,7 +213,7 @@ fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.regex(pattern, *otherPatterns)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.regex(pattern, *otherPatterns)"))
@JvmName("regexIgnoringCase")
fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
= addAssertion(AssertImpl.charSequence.contains.regexIgnoringCase(this, pattern glue otherPatterns))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders.NotCheckerOption
@@ -19,12 +19,12 @@ import ch.tutteli.atrium.assertions.charsequence.contains.searchbehaviours.CharS
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.ignoringCase"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.ignoringCase"))
val <T : CharSequence> CharSequenceContains.Builder<T, NoOpSearchBehaviour>.ignoringCase
get() : CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>
= AssertImpl.charSequence.contains.searchBehaviours.ignoringCase(this)
@Deprecated("Use the extension fun `ignoringCase` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.ignoringCase"))
@Deprecated("Use the extension fun `ignoringCase` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.ignoringCase"))
fun <T : CharSequence> getIgnoringCase(builder: DeprecatedBuilder<T, NoOpSearchBehaviour>)
: DeprecatedBuilder<T, IgnoringCaseSearchBehaviour>
= DeprecatedBuilder(builder.subjectProvider, builder.ignoringCase.searchBehaviour)
@@ -35,12 +35,12 @@ fun <T : CharSequence> getIgnoringCase(builder: DeprecatedBuilder<T, NoOpSearchB
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.ignoringCase"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.ignoringCase"))
val <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoringCase
get() : NotCheckerOption<T, IgnoringCaseSearchBehaviour>
= NotCheckerOptionImpl(containsBuilder.ignoringCase)
@Deprecated("Use the extension fun `ignoringCase` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.ignoringCase"))
@Deprecated("Use the extension fun `ignoringCase` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.ignoringCase"))
fun <T : CharSequence> getIgnoringCase(builder: DeprecatedNotCheckerBuilder<T, NotSearchBehaviour>)
: DeprecatedNotCheckerBuilder<T, IgnoringCaseSearchBehaviour>
= DeprecatedNotCheckerBuilder(builder.containsBuilder.ignoringCase)

View File

@@ -11,7 +11,7 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Suppress("DEPRECATION")
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.hasSize(size)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.hasSize(size)"))
fun <T : Collection<*>> Assert<T>.hasSize(size: Int)
= addAssertion(AssertImpl.collection.hasSize(this, size))
@@ -21,7 +21,7 @@ fun <T : Collection<*>> Assert<T>.hasSize(size: Int)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isEmpty()"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isEmpty()"))
fun <T : Collection<*>> Assert<T>.isEmpty()
= addAssertion(AssertImpl.collection.isEmpty(this))
@@ -31,6 +31,6 @@ fun <T : Collection<*>> Assert<T>.isEmpty()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEmpty()"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isNotEmpty()"))
fun <T : Collection<*>> Assert<T>.isNotEmpty()
= addAssertion(AssertImpl.collection.isNotEmpty(this))

View File

@@ -10,7 +10,7 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isLessThan(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isLessThan(expected)"))
fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T)
= addAssertion(AssertImpl.comparable.isLessThan(this, expected))
@@ -20,7 +20,7 @@ fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isLessOrEquals(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isLessOrEquals(expected)"))
fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T)
= addAssertion(AssertImpl.comparable.isLessOrEquals(this, expected))
@@ -30,7 +30,7 @@ fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isGreaterThan(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isGreaterThan(expected)"))
fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T)
= addAssertion(AssertImpl.comparable.isGreaterThan(this, expected))
@@ -40,7 +40,7 @@ fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isGreaterOrEquals(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isGreaterOrEquals(expected)"))
fun <T : Comparable<T>> Assert<T>.isGreaterOrEquals(expected: T)
= addAssertion(AssertImpl.comparable.isGreaterOrEquals(this, expected))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"))
interface AtLeastCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: WithTimesCheckerOption<T, S>
@@ -31,7 +31,7 @@ interface AtLeastCheckerOption<out T : CharSequence, out S : CharSequenceContain
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtLeastCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtLeastCheckerOption"))
open class AtLeastCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -15,7 +15,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"))
interface AtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -32,7 +32,7 @@ interface AtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtMostCheckerOption"))
open class AtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"))
interface ButAtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -33,7 +33,7 @@ interface ButAtMostCheckerOption<out T : CharSequence, out S : CharSequenceConta
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ButAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ButAtMostCheckerOption"))
open class ButAtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
atLeastBuilder: AtLeastCheckerOption<T, S>,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.exactly
@@ -13,7 +13,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"))
interface ExactlyCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -30,7 +30,7 @@ interface ExactlyCheckerOption<out T : CharSequence, out S : CharSequenceContain
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ExactlyCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ExactlyCheckerOption"))
open class ExactlyCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.domain.builders.creating.charsequence.contains.builders.NotCheckerOptionBase
@@ -12,7 +12,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotCheckerOption"))
interface NotCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -27,7 +27,7 @@ interface NotCheckerOption<out T : CharSequence, out S : CharSequenceContains.Se
* `contains` assertion for [CharSequence].
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotCheckerOption"))
open class NotCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
containsBuilder: CharSequenceContains.Builder<T, S>
) : NotCheckerOptionBase<T, S>(containsBuilder), NotCheckerOption<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.notOrAtMost
@@ -13,7 +13,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"))
interface NotOrAtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -30,7 +30,7 @@ interface NotOrAtMostCheckerOption<out T : CharSequence, out S : CharSequenceCon
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotOrAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotOrAtMostCheckerOption"))
open class NotOrAtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,11 +1,11 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.containsNot
import ch.tutteli.atrium.creating.AssertionPlant
import kotlin.reflect.KFunction3
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NameContainsNotFunKt.nameContainsNotValuesFun"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.charsequence.contains.builders.NameContainsNotFunKt.nameContainsNotValuesFun"))
internal fun nameContainsNotValuesFun(): String {
val f: KFunction3<AssertionPlant<CharSequence>, Any, Array<out Any>, AssertionPlant<CharSequence>> = AssertionPlant<CharSequence>::containsNot
return f.name

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"))
interface AtLeastCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -30,7 +30,7 @@ interface AtLeastCheckerOption<out E, out T : Iterable<E>, out S : IterableConta
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtLeastCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtLeastCheckerOption"))
open class AtLeastCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"))
interface AtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -32,7 +32,7 @@ interface AtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContai
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtMostCheckerOption"))
open class AtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.atLeast
@@ -17,7 +17,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"))
interface ButAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -33,7 +33,7 @@ interface ButAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableCon
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ButAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ButAtMostCheckerOption"))
open class ButAtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
atLeastBuilder: AtLeastCheckerOption<E, T, S>,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.exactly
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"))
interface ExactlyCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -30,7 +30,7 @@ interface ExactlyCheckerOption<out E, out T : Iterable<E>, out S : IterableConta
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ExactlyCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ExactlyCheckerOption"))
open class ExactlyCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.domain.builders.creating.iterable.contains.builders.NotCheckerOptionBase
@@ -12,7 +12,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotCheckerOption"))
interface NotCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: IterableContains.CheckerOption<E, T, S>
@@ -27,7 +27,7 @@ interface NotCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.
* `contains not` assertion for [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotCheckerOption"))
open class NotCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
containsBuilder: IterableContains.Builder<E, T, S>
) : NotCheckerOptionBase<E, T, S>(containsBuilder), NotCheckerOption<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.notOrAtMost
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotOrAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.NotOrAtMostCheckerOption"))
interface NotOrAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -30,7 +30,7 @@ interface NotOrAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableC
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotOrAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotOrAtMostCheckerOption"))
open class NotOrAtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,11 +1,11 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.en_UK.containsNot
import ch.tutteli.atrium.creating.AssertionPlant
import kotlin.reflect.KFunction3
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.nameContainsNotValuesFun"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders.nameContainsNotValuesFun"))
internal fun nameContainsNotValuesFun(): String {
val f: KFunction3<AssertionPlant<Iterable<Double>>, Double, Array<out Double>, AssertionPlant<Iterable<Double>>> = AssertionPlant<Iterable<Double>>::containsNot
return f.name

View File

@@ -15,7 +15,7 @@ import kotlin.reflect.*
*
* @return An [AssertionPlant] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property)"))
fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>): AssertionPlant<TProperty>
= AssertImpl.feature.property(this, property)
@@ -29,7 +29,7 @@ fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property, assertionCreator)"))
fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>, assertionCreator: AssertionPlant<TProperty>.() -> Unit): AssertionPlant<TProperty>
= AssertImpl.feature.property(this, property, assertionCreator)
@@ -40,7 +40,7 @@ fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.property(property)"))
fun <T : Any, TProperty : Any?> Assert<T>.property(property: KProperty0<TProperty>): AssertionPlantNullable<TProperty>
= AssertImpl.feature.property(this, property)
@@ -50,7 +50,7 @@ fun <T : Any, TProperty : Any?> Assert<T>.property(property: KProperty0<TPropert
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method)"))
fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method)
@@ -65,7 +65,7 @@ fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TRe
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, assertionCreator)"))
fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method, assertionCreator)
@@ -76,7 +76,7 @@ fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TRe
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method)"))
fun <T : Any, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method)
@@ -87,7 +87,7 @@ fun <T : Any, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction0<TR
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1)"))
fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1)
@@ -102,7 +102,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFu
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, assertionCreator)"))
fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1, assertionCreator)
@@ -113,7 +113,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFu
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1)"))
fun <T : Any, T1 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1)
@@ -124,7 +124,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KF
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2)
@@ -139,7 +139,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2, assertionCreator)
@@ -150,7 +150,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2)
@@ -162,7 +162,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3)
@@ -177,7 +177,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.ret
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3, assertionCreator)
@@ -188,7 +188,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.ret
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3)
@@ -199,7 +199,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any?> Assert<T>.re
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4)
@@ -214,7 +214,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> As
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4, assertionCreator)
@@ -225,7 +225,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> As
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4)
@@ -236,7 +236,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any?> A
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5)
@@ -251,7 +251,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValu
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5, assertionCreator)
@@ -262,7 +262,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValu
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5)

View File

@@ -18,7 +18,7 @@ import java.math.BigDecimal
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
fun Assert<Float>.toBeWithErrorTolerance(expected: Float, tolerance: Float)
= addAssertion(AssertImpl.floatingPoint.toBeWithErrorTolerance(this, expected, tolerance))
@@ -35,7 +35,7 @@ fun Assert<Float>.toBeWithErrorTolerance(expected: Float, tolerance: Float)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
fun Assert<Double>.toBeWithErrorTolerance(expected: Double, tolerance: Double)
= addAssertion(AssertImpl.floatingPoint.toBeWithErrorTolerance(this, expected, tolerance))
@@ -52,6 +52,6 @@ fun Assert<Double>.toBeWithErrorTolerance(expected: Double, tolerance: Double)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toBeWithErrorTolerance(expected, tolerance)"))
fun Assert<BigDecimal>.toBeWithErrorTolerance(expected: BigDecimal, tolerance: BigDecimal)
= addAssertion(AssertImpl.floatingPoint.toBeWithErrorTolerance(this, expected, tolerance))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders.NotCheckerOption
@@ -19,11 +19,11 @@ import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsB
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains"))
val <E, T : Iterable<E>> Assert<T>.contains: IterableContains.Builder<E, T, NoOpSearchBehaviour>
get() = AssertImpl.iterable.containsBuilder(this)
@Deprecated("Use the extension fun `contains` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("plant.contains"))
@Deprecated("Use the extension fun `contains` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("plant.contains"))
fun <E, T : Iterable<E>> getContains(plant: Assert<T>): DeprecatedBuilder<E, T, NoOpSearchBehaviour>
= DeprecatedBuilder(plant, plant.contains.searchBehaviour)
@@ -34,11 +34,11 @@ fun <E, T : Iterable<E>> getContains(plant: Assert<T>): DeprecatedBuilder<E, T,
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsNot"))
val <E, T : Iterable<E>> Assert<T>.containsNot: NotCheckerOption<E, T, InAnyOrderSearchBehaviour>
get() = NotCheckerOptionImpl(AssertImpl.iterable.containsNotBuilder(this))
@Deprecated("Use the extension fun `containsNot` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("plant.containsNot"))
@Deprecated("Use the extension fun `containsNot` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("plant.containsNot"))
fun <E, T : Iterable<E>> getContainsNot(plant: Assert<T>): DeprecatedNotCheckerBuilder<E, T>
= DeprecatedNotCheckerBuilder(AssertImpl.iterable.containsNotBuilder(plant))
@@ -61,7 +61,7 @@ fun <E, T : Iterable<E>> getContainsNot(plant: Assert<T>): DeprecatedNotCheckerB
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `containsNullableValues` from package en_GB or `contains` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0", ReplaceWith("containsNullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsNullableValues"))
@Deprecated("Use `containsNullableValues` from package en_GB or `contains` from package en_GB in case you do not deal with nullable elements; will be removed with 0.10.0", ReplaceWith("containsNullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsNullableValues"))
fun <E, T : Iterable<E>> Assert<T>.contains(expected: E, vararg otherExpected: E): AssertionPlant<T>
= contains.inAnyOrder.atLeast(1).values(expected, *otherExpected)
@@ -75,7 +75,7 @@ fun <E, T : Iterable<E>> Assert<T>.contains(expected: E, vararg otherExpected: E
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.contains(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> Assert<T>.contains(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
= contains.inAnyOrder.atLeast(1).entries(assertionCreator, *otherAssertionCreators)
@@ -90,11 +90,11 @@ fun <E : Any, T : Iterable<E>> Assert<T>.contains(assertionCreator: Assert<E>.()
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@JvmName("containsDeprecated")
@Deprecated("Use `containsNullableEntries` from package en_GB or `contains` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0", ReplaceWith("containsNullableEntries(assertionCreator, *otherAssertionCreators)", "ch.tutteli.atrium.api.cc.en_GB.containsNullableEntries"))
@Deprecated("Use `containsNullableEntries` from package en_GB or `contains` from package en_GB in case you do not deal with nullable elements; will be removed with 0.10.0", ReplaceWith("containsNullableEntries(assertionCreator, *otherAssertionCreators)", "ch.tutteli.atrium.api.cc.en_GB.containsNullableEntries"))
fun <E : Any, T : Iterable<E?>> Assert<T>.contains(assertionCreator: (Assert<E>.() -> Unit)?, vararg otherAssertionCreators: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= contains.inAnyOrder.atLeast(1).entries(assertionCreator, *otherAssertionCreators)
@Deprecated("Use the extension fun `contains` instead; will be removed 1.0.0", ReplaceWith("plant.contains(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `contains` instead; will be removed 0.10.0", ReplaceWith("plant.contains(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E?>> containsNullable(plant: Assert<T>, assertionCreator: (Assert<E>.() -> Unit)?, vararg otherAssertionCreators: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= plant.contains(assertionCreator, *otherAssertionCreators)
@@ -108,7 +108,7 @@ fun <E : Any, T : Iterable<E?>> containsNullable(plant: Assert<T>, assertionCrea
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `containsStrictlyNullableValues` from package en_GB or `containsStrictly` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0", ReplaceWith("containsStrictlyNullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsStrictlyNullableValues"))
@Deprecated("Use `containsStrictlyNullableValues` from package en_GB or `containsStrictly` from package en_GB in case you do not deal with nullable elements; will be removed with 0.10.0", ReplaceWith("containsStrictlyNullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsStrictlyNullableValues"))
fun <E, T : Iterable<E>> Assert<T>.containsStrictly(expected: E, vararg otherExpected: E): AssertionPlant<T>
= contains.inOrder.only.values(expected, *otherExpected)
@@ -122,7 +122,7 @@ fun <E, T : Iterable<E>> Assert<T>.containsStrictly(expected: E, vararg otherExp
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsStrictly(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.containsStrictly(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
= contains.inOrder.only.entries(assertionCreator, *otherAssertionCreators)
@@ -136,12 +136,12 @@ fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(assertionCreator: Asse
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `containsStrictlyNullableEntries` from package en_GB or `containsStrictly` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0", ReplaceWith("containsStrictlyNullableEntries(assertionCreator, *otherAssertionCreators)", "ch.tutteli.atrium.api.cc.en_GB.containsStrictlyNullableEntries"))
@Deprecated("Use `containsStrictlyNullableEntries` from package en_GB or `containsStrictly` from package en_GB in case you do not deal with nullable elements; will be removed with 0.10.0", ReplaceWith("containsStrictlyNullableEntries(assertionCreator, *otherAssertionCreators)", "ch.tutteli.atrium.api.cc.en_GB.containsStrictlyNullableEntries"))
@JvmName("containsStrictly?")
fun <E : Any, T : Iterable<E?>> Assert<T>.containsStrictly(assertionCreator: (Assert<E>.() -> Unit)?, vararg otherAssertionCreators: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= contains.inOrder.only.entries(assertionCreator, *otherAssertionCreators)
@Deprecated("Use the extension fun `containsStrictly` instead; will be removed 1.0.0", ReplaceWith("plant.containsStrictly(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `containsStrictly` instead; will be removed 0.10.0", ReplaceWith("plant.containsStrictly(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E?>> containsStrictlyNulllable(plant: Assert<T>, assertionCreator: (Assert<E>.() -> Unit)?, vararg otherAssertionCreators: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= plant.containsStrictly(assertionCreator, *otherAssertionCreators)
@@ -155,6 +155,6 @@ fun <E : Any, T : Iterable<E?>> containsStrictlyNulllable(plant: Assert<T>, asse
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use `containsNot.nullableValues` from package en_GB or `containsNot` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0", ReplaceWith("containsNot.nullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsNot", "ch.tutteli.atrium.api.cc.en_GB.nullableValues" ))
@Deprecated("Use `containsNot.nullableValues` from package en_GB or `containsNot` from package en_GB in case you do not deal with nullable elements; will be removed with 0.10.0", ReplaceWith("containsNot.nullableValues(expected, *otherExpected)", "ch.tutteli.atrium.api.cc.en_GB.containsNot", "ch.tutteli.atrium.api.cc.en_GB.nullableValues" ))
fun <E, T : Iterable<E>> Assert<T>.containsNot(expected: E, vararg otherExpected: E)
= containsNot.values(expected, *otherExpected)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.api.cc.en_UK.creating.iterable.contains.builders.*
@@ -23,11 +23,11 @@ import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsB
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atLeast(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atLeast(times)"))
fun <E, T : Iterable<E>, S: InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.atLeast(times: Int): AtLeastCheckerOption<E, T, S>
= AtLeastCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.atLeast(times)"))
@Deprecated("Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.atLeast(times)"))
fun <E, T : Iterable<E>> atLeast(builder: DeprecatedBuilder<E, T, InAnyOrderSearchBehaviour>, times: Int): DeprecatedAtLeastCheckerBuilder<E, T>
= DeprecatedAtLeastCheckerBuilder(times, builder)
@@ -47,11 +47,11 @@ fun <E, T : Iterable<E>> atLeast(builder: DeprecatedBuilder<E, T, InAnyOrderSea
* @throws IllegalArgumentException In case [times] of this `at most` restriction equals to the number of the
* `at least` restriction; use the [exactly] restriction instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.butAtMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.butAtMost(times)"))
fun <E, T : Iterable<E>, S: InAnyOrderSearchBehaviour> AtLeastCheckerOption<E, T, S>.butAtMost(times: Int): ButAtMostCheckerOption<E, T, S>
= ButAtMostCheckerOptionImpl(times, this, containsBuilder)
@Deprecated("Use the extension fun `butAtMost` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.butAtMost(times)"))
@Deprecated("Use the extension fun `butAtMost` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.butAtMost(times)"))
fun <E, T : Iterable<E>> butAtMost(checkerBuilder: DeprecatedAtLeastCheckerBuilder<E, T>, times: Int): DeprecatedButAtMostCheckerBuilder<E, T>
= DeprecatedButAtMostCheckerBuilder(times, checkerBuilder, checkerBuilder.containsBuilder)
@@ -67,11 +67,11 @@ fun <E, T : Iterable<E>> butAtMost(checkerBuilder: DeprecatedAtLeastCheckerBuild
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.exactly(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.exactly(times)"))
fun <E, T : Iterable<E>, S: InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.exactly(times: Int): ExactlyCheckerOption<E, T, S>
= ExactlyCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `exactly` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.exactly(times)"))
@Deprecated("Use the extension fun `exactly` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.exactly(times)"))
fun <E, T : Iterable<E>> exactly(builder: DeprecatedBuilder<E, T, InAnyOrderSearchBehaviour>, times: Int): DeprecatedExactlyCheckerBuilder<E, T>
= DeprecatedExactlyCheckerBuilder(times, builder)
@@ -92,11 +92,11 @@ fun <E, T : Iterable<E>> exactly(builder: DeprecatedBuilder<E, T, InAnyOrderSear
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
* @throws IllegalArgumentException In case [times] equals to one; use [exactly] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.atMost(times)"))
fun <E, T : Iterable<E>, S: InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.atMost(times: Int): AtMostCheckerOption<E, T, S>
= AtMostCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `atMost` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.atMost(times)"))
@Deprecated("Use the extension fun `atMost` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.atMost(times)"))
fun <E, T : Iterable<E>> atMost(builder: DeprecatedBuilder<E, T, InAnyOrderSearchBehaviour>, times: Int): DeprecatedAtMostCheckerBuilder<E, T>
= DeprecatedAtMostCheckerBuilder(times, builder)
@@ -112,10 +112,10 @@ fun <E, T : Iterable<E>> atMost(builder: DeprecatedBuilder<E, T, InAnyOrderSearc
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notOrAtMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notOrAtMost(times)"))
fun <E, T : Iterable<E>, S: InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.notOrAtMost(times: Int): NotOrAtMostCheckerOption<E, T, S>
= NotOrAtMostCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `notOrAtMost` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.notOrAtMost(times)"))
@Deprecated("Use the extension fun `notOrAtMost` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.notOrAtMost(times)"))
fun <E, T : Iterable<E>> notOrAtMost(builder: DeprecatedBuilder<E, T, InAnyOrderSearchBehaviour>, times: Int): DeprecatedNotOrAtMostCheckerBuilder<E, T>
= DeprecatedNotOrAtMostCheckerBuilder(times, builder)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsBuilder
@@ -12,11 +12,11 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.*
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.inAnyOrder"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.inAnyOrder"))
val <E, T : Iterable<E>> IterableContains.Builder<E, T, NoOpSearchBehaviour>.inAnyOrder
get() = AssertImpl.iterable.contains.searchBehaviours.inAnyOrder(this)
@Deprecated("Use the extension fun `inAnyOrder` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.inAnyOrder"))
@Deprecated("Use the extension fun `inAnyOrder` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.inAnyOrder"))
fun <E, T : Iterable<E>> getInAnyOrder(builder: IterableContainsBuilder<E, T, NoOpSearchBehaviour>): IterableContainsBuilder<E, T, InAnyOrderSearchBehaviour>
= IterableContainsBuilder(builder.subjectProvider, builder.inAnyOrder.searchBehaviour)
@@ -28,11 +28,11 @@ fun <E, T : Iterable<E>> getInAnyOrder(builder: IterableContainsBuilder<E, T, No
* @return The newly created builder.
*/
val <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>.only
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.only"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.only"))
@JvmName("butOnly")
get() = AssertImpl.iterable.contains.searchBehaviours.inAnyOrderOnly(this)
@Deprecated("Use the extension fun `only` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.only"))
@Deprecated("Use the extension fun `only` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.only"))
fun <E, T : Iterable<E>> inAnyOrderOnly(builder: IterableContainsBuilder<E, T, InAnyOrderSearchBehaviour>): IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>
= IterableContainsBuilder(builder.subjectProvider, builder.only.searchBehaviour)
@@ -43,11 +43,11 @@ fun <E, T : Iterable<E>> inAnyOrderOnly(builder: IterableContainsBuilder<E, T, I
*
* @return The newly created builder.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.inOrder"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.inOrder"))
val <E, T : Iterable<E>> IterableContains.Builder<E, T, NoOpSearchBehaviour>.inOrder
get() = AssertImpl.iterable.contains.searchBehaviours.inOrder(this)
@Deprecated("Use the extension fun `inOrder` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.inOrder"))
@Deprecated("Use the extension fun `inOrder` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.inOrder"))
fun <E, T : Iterable<E>> getInOrder(builder: IterableContainsBuilder<E, T, NoOpSearchBehaviour>): IterableContainsBuilder<E, T, InOrderSearchBehaviour>
= IterableContainsBuilder(builder.subjectProvider, builder.inOrder.searchBehaviour)
@@ -59,10 +59,10 @@ fun <E, T : Iterable<E>> getInOrder(builder: IterableContainsBuilder<E, T, NoOpS
* @return The newly created builder.
*/
val <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderSearchBehaviour>.only
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.only"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith(" ch.tutteli.atrium.api.cc.en_GB.only"))
@JvmName("andOnly")
get() = AssertImpl.iterable.contains.searchBehaviours.inOrderOnly(this)
@Deprecated("Use the extension fun `only` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.only"))
@Deprecated("Use the extension fun `only` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.only"))
fun <E, T : Iterable<E>> inOrderOnly(builder: IterableContainsBuilder<E, T, InOrderSearchBehaviour>): IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>
= IterableContainsBuilder(builder.subjectProvider, builder.only.searchBehaviour)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -23,16 +23,16 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>
= values(expected)
@JvmName("deprecatedValue")
@Deprecated("Use `nullableValue` instead; will be removed with 1.0.0", ReplaceWith("nullableValue(expected)"))
@Deprecated("Use `nullableValue` instead; will be removed with 0.10.0", ReplaceWith("nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>
= nullableValue(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@@ -55,33 +55,33 @@ fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsCheckerBuilder<E,
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrder(this, expected glue otherExpected))
@Deprecated("Use `nullableValues` instead; will be removed with 1.0.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@Deprecated("Use `nullableValues` instead; will be removed with 0.10.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@JvmName("deprecatedValues")
fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= nullableValues(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> values(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.`object`(expected: E): AssertionPlant<T>
= values(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> `object`(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.objects(expected: E, vararg otherExpected: E): AssertionPlant<T>
= values(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@@ -99,11 +99,11 @@ fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsCheckerBuilder<
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(checkerBuilder, assertionCreator)
@@ -122,14 +122,14 @@ fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsCheckerBuil
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.entries(
assertionCreator: Assert<E>.() -> Unit,
vararg otherAssertionCreators: Assert<E>.() -> Unit
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> entries(
checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>,
assertionCreator: Assert<E>.() -> Unit,
@@ -149,7 +149,7 @@ fun <E : Any, T : Iterable<E>> entries(
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
= nullableValues(expected)
@@ -172,7 +172,7 @@ fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderS
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValues(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrder(this, expected glue otherExpected))
@@ -190,12 +190,12 @@ fun <E : Any?, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderS
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@JvmName("entry?")
fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsCheckerBuilder<E?, T, InAnyOrderSearchBehaviour>, assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= nullableEntries(checkerBuilder, assertionCreator)
@@ -214,7 +214,7 @@ fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsCh
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@JvmName("entries?")
fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.entries(
assertionCreator: (Assert<E>.() -> Unit)?,
@@ -222,7 +222,7 @@ fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrder
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E?>> nullableEntries(
checkerBuilder: IterableContainsCheckerBuilder<E?, T, InAnyOrderSearchBehaviour>,
assertionCreator: (Assert<E>.() -> Unit)?,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -23,16 +23,16 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
= values(expected)
@JvmName("deprecatedValue")
@Deprecated("Use `nullableValue` instead; will be removed with 1.0.0", ReplaceWith("nullableValue(expected)"))
@Deprecated("Use `nullableValue` instead; will be removed with 0.10.0", ReplaceWith("nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
= nullableValue(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@@ -47,33 +47,33 @@ fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsBuilder<E, T, InA
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrderOnly(this, expected glue otherExpected))
@Deprecated("Use `nullableValues` instead; will be removed with 1.0.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@Deprecated("Use `nullableValues` instead; will be removed with 0.10.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@JvmName("deprecatedValues")
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= nullableValues(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> values(checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.`object`(expected: E): AssertionPlant<T>
= values(expected)
@Deprecated("Use the extension fun `object` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `object` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> `object`(checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.objects(expected: E, vararg otherExpected: E): AssertionPlant<T>
= values(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@@ -89,11 +89,11 @@ fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsBuilder<E, T, I
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(checkerBuilder, assertionCreator)
@@ -120,14 +120,14 @@ fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsBuilder<E,
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.entries(
assertionCreator: Assert<E>.() -> Unit,
vararg otherAssertionCreators: Assert<E>.() -> Unit
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderOnlyWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> entries(
checkerBuilder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>,
assertionCreator: Assert<E>.() -> Unit,
@@ -147,7 +147,7 @@ fun <E : Any, T : Iterable<E>> entries(
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
= nullableValues(expected)
@@ -161,7 +161,7 @@ fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySea
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableValues(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrderOnly(this, expected glue otherExpected))
@@ -177,12 +177,12 @@ fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySea
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@JvmName("entry?")
fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.entry(assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsBuilder<E?, T, InAnyOrderOnlySearchBehaviour>, assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= nullableEntries(checkerBuilder, assertionCreator)
@@ -209,7 +209,7 @@ fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsBu
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@JvmName("entries?")
fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.entries(
assertionCreator: (Assert<E>.() -> Unit)?,
@@ -217,7 +217,7 @@ fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySe
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderOnlyWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E?>> nullableEntries(
checkerBuilder: IterableContainsBuilder<E?, T, InAnyOrderOnlySearchBehaviour>,
assertionCreator: (Assert<E>.() -> Unit)?,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsBuilder
@@ -20,16 +20,16 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InOr
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.value(expected)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
= values(expected)
@JvmName("deprecatedValue")
@Deprecated("Use `nullableValue` instead; will be removed with 1.0.0", ReplaceWith("nullableValue(expected)"))
@Deprecated("Use `nullableValue` instead; will be removed with 0.10.0", ReplaceWith("nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
= nullableValue(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@@ -44,33 +44,33 @@ fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsBuilder<E, T, InO
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.values(expected, *otherExpected)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInOrderOnly(this, expected glue otherExpected))
@Deprecated("Use `nullableValues` instead; will be removed with 1.0.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@Deprecated("Use `nullableValues` instead; will be removed with 0.10.0", ReplaceWith("nullableValues(expected, *otherExpected)"))
@JvmName("deprecatedValues")
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>
= nullableValues(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> values(checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `value(expected)` without adding enough to be a legit alternative.", ReplaceWith("value(expected)"))
fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.`object`(expected: E): AssertionPlant<T>
= values(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.value(expected)"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.value(expected)"))
fun <E, T : Iterable<E>> `object`(checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= values(checkerBuilder, expected)
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.objects(expected: E, vararg otherExpected: E): AssertionPlant<T>
= values(expected, *otherExpected)
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
@Deprecated("Use the extension fun `values` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.values(expected, *otherExpected)"))
fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>, expected: E, vararg otherExpected: E): AssertionPlant<T>
= checkerBuilder.values(expected, *otherExpected)
@@ -86,11 +86,11 @@ fun <E, T : Iterable<E>> objects(checkerBuilder: IterableContainsBuilder<E, T, I
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>, assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= entries(checkerBuilder, assertionCreator)
@@ -109,14 +109,14 @@ fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsBuilder<E,
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.entries(
assertionCreator: Assert<E>.() -> Unit,
vararg otherAssertionCreators: Assert<E>.() -> Unit
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInOrderOnlyWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E>> entries(
checkerBuilder: IterableContainsBuilder<E, T, InOrderOnlySearchBehaviour>,
assertionCreator: Assert<E>.() -> Unit,
@@ -136,7 +136,7 @@ fun <E : Any, T : Iterable<E>> entries(
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValue(expected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
= nullableValues(expected)
@@ -150,7 +150,7 @@ fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearch
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.nullableValues(expected, *otherExpected)"))
fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.nullableValues(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInOrderOnly(this, expected glue otherExpected))
@@ -165,12 +165,12 @@ fun <E : Any?, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearch
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entry(assertionCreator)"))
@JvmName("entry?")
fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>.entry(assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entry(assertionCreator)"))
fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsBuilder<E?, T, InOrderOnlySearchBehaviour>, assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= nullableEntries(checkerBuilder, assertionCreator)
@@ -197,7 +197,7 @@ fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsBu
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.entries(assertionCreator, *otherAssertionCreators)"))
@JvmName("entries?")
fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>.entries(
assertionCreator: (Assert<E>.() -> Unit)?,
@@ -205,7 +205,7 @@ fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearc
): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInOrderOnlyWithAssert(this, assertionCreator glue otherAssertionCreators))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use the extension fun `entries` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.entries(assertionCreator, *otherAssertionCreators)"))
fun <E : Any, T : Iterable<E?>> nullableEntries(
checkerBuilder: IterableContainsBuilder<E?, T, InOrderOnlySearchBehaviour>,
assertionCreator: (Assert<E>.() -> Unit)?,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.throwable.thrown.ThrowableThrown
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toThrow()"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toThrow()"))
inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.toThrow() {
toThrow<TExpected> {}
}
@@ -33,7 +33,7 @@ inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.toThrow() {
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toThrow(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.toThrow(assertionCreator)"))
inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.toThrow(noinline assertionCreator: Assert<TExpected>.() -> Unit) {
AssertImpl.throwable.thrown.toBe(this, TExpected::class, assertionCreator)
}
@@ -50,7 +50,7 @@ inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.toThrow(noinl
* @throws AssertionError Might throw an [AssertionError] in case [message][Throwable.message] is `null`
* or if an additionally created [Assertion]s (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.message(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.message(assertionCreator)"))
fun <T : Throwable> Assert<T>.message(assertionCreator: Assert<String>.() -> Unit) {
property(subject::message).isNotNull(assertionCreator)
}

View File

@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notToBeNull(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.notToBeNull(assertionCreator)"))
inline fun <reified T : Any> AssertionPlantNullable<T?>.isNotNull(noinline assertionCreator: Assert<T>.() -> Unit) {
@Suppress("DEPRECATION")
addAssertion(AssertImpl.any.isNotNull(this, T::class, assertionCreator))
@@ -32,7 +32,7 @@ inline fun <reified T : Any> AssertionPlantNullable<T?>.isNotNull(noinline asser
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isA(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.en_GB.isA(assertionCreator)"))
inline fun <reified TSub : Any> Assert<Any>.isA(noinline assertionCreator: AssertionPlant<TSub>.() -> Unit) {
@Suppress("DEPRECATION")
AssertImpl.any.typeTransformation.isA(this, TSub::class, assertionCreator)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -10,12 +10,12 @@ import ch.tutteli.atrium.reporting.translating.Translatable
/**
* `Deprecated`, do not use this class, it is only here to retain binary compatibility.
*/
@Deprecated("Do not use this class, it is only here to retain binary compatibility (file was renamed to charSequenceContainsCreators); will be removed with 1.0.0")
@Deprecated("Do not use this class, it is only here to retain binary compatibility (file was renamed to charSequenceContainsCreators); will be removed with 0.10.0")
object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder value expected")
)
fun <T : CharSequence> value(
@@ -25,7 +25,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the values")
)
fun <T : CharSequence> the(
@@ -36,7 +36,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder value expected")
)
fun <T : CharSequence> valueIgnoringCase(
@@ -46,7 +46,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the values")
)
fun <T : CharSequence> valuesIgnoringCase(
@@ -57,7 +57,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder defaultTranslationOf translatable")
)
fun <T : CharSequence> defaultTranslationOf(
@@ -67,7 +67,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the translatables")
)
fun <T : CharSequence> the(
@@ -78,7 +78,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `defaultTranslationOf` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder defaultTranslationOf translatable")
)
fun <T : CharSequence> defaultTranslationOfIgnoringCase(
@@ -88,7 +88,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the translatables")
)
fun <T : CharSequence> valuesIgnoringCase(
@@ -99,7 +99,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder regex pattern")
)
fun <T : CharSequence> regex(
@@ -109,7 +109,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the patterns")
)
fun <T : CharSequence> the(
@@ -120,7 +120,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `regex` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder regex pattern")
)
fun <T : CharSequence> regexIgnoringCase(
@@ -130,7 +130,7 @@ object CharSequenceContainsSearchersKt {
@JvmStatic
@Deprecated(
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0",
"Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0",
ReplaceWith("checkerBuilder the patterns")
)
fun <T : CharSequence> regexIgnoringCase(

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtLeastCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ButAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ExactlyCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotOrAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.Values
@@ -6,7 +6,7 @@ import ch.tutteli.atrium.api.cc.infix.en_UK.containsNot
import ch.tutteli.atrium.creating.AssertionPlant
import kotlin.reflect.KFunction2
@Deprecated("Use function from package creating; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.nameContainsNotValuesFun"))
@Deprecated("Use function from package creating; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.nameContainsNotValuesFun"))
fun nameContainsNotValuesFun(): String {
val f: KFunction2<AssertionPlant<CharSequence>, Values<*>, AssertionPlant<CharSequence>> = AssertionPlant<CharSequence>::containsNot
return "${f.name} ${Values::class.simpleName}"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtLeastCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
@@ -19,7 +19,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"AtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ButAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"ExactlyCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -17,7 +17,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.NotCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.assertions.iterable.contains.builders
import ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder
@@ -18,7 +18,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotOrAtMostCheckerOption",
"ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.NotOrAtMostCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders.*
@@ -24,11 +24,11 @@ import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceC
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [containsNot] instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.atLeast(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.atLeast(times)"))
infix fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.atLeast(times: Int): AtLeastCheckerOption<T, S>
= AtLeastCheckerOptionImpl(times, this)
@Deprecated("Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder atLeast times"))
@Deprecated("Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder atLeast times"))
fun <T : CharSequence, S : SearchBehaviour> atLeast(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedAtLeastCheckerBuilder<T, S>
= DeprecatedAtLeastCheckerBuilder(times, builder)
@@ -48,7 +48,7 @@ fun <T : CharSequence, S : SearchBehaviour> atLeast(builder: DeprecatedBuilder<
* @throws IllegalArgumentException In case [times] of this `at most` restriction equals to the number of the
* `at least` restriction; use the [exactly] restriction instead.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.butAtMost(times)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.butAtMost(times)"))
infix fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.butAtMost(times: Int): ButAtMostCheckerOption<T, S>
= ButAtMostCheckerOptionImpl(times, this, containsBuilder)

View File

@@ -9,7 +9,7 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isLessThan(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isLessThan(expected)"))
infix fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T)
= addAssertion(AssertImpl.comparable.isLessThan(this, expected))
@@ -19,7 +19,7 @@ infix fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isLessOrEquals(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isLessOrEquals(expected)"))
infix fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T)
= addAssertion(AssertImpl.comparable.isLessOrEquals(this, expected))
@@ -29,7 +29,7 @@ infix fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isGreaterThan(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isGreaterThan(expected)"))
infix fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T)
= addAssertion(AssertImpl.comparable.isGreaterThan(this, expected))
@@ -39,7 +39,7 @@ infix fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isGreaterOrEquals(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.isGreaterOrEquals(expected)"))
infix fun <T : Comparable<T>> Assert<T>.isGreaterOrEquals(expected: T)
= addAssertion(AssertImpl.comparable.isGreaterOrEquals(this, expected))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtLeastCheckerOption"))
interface AtLeastCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: WithTimesCheckerOption<T, S>
@@ -31,7 +31,7 @@ interface AtLeastCheckerOption<out T : CharSequence, out S : CharSequenceContain
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtLeastCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtLeastCheckerOption"))
open class AtLeastCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -15,7 +15,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.AtMostCheckerOption"))
interface AtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -32,7 +32,7 @@ interface AtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtMostCheckerOption"))
open class AtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ButAtMostCheckerOption"))
interface ButAtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -33,7 +33,7 @@ interface ButAtMostCheckerOption<out T : CharSequence, out S : CharSequenceConta
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ButAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ButAtMostCheckerOption"))
open class ButAtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
atLeastBuilder: AtLeastCheckerOption<T, S>,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.exactly
@@ -13,7 +13,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.ExactlyCheckerOption"))
interface ExactlyCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -30,7 +30,7 @@ interface ExactlyCheckerOption<out T : CharSequence, out S : CharSequenceContain
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ExactlyCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ExactlyCheckerOption"))
open class ExactlyCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.domain.builders.creating.charsequence.contains.builders.NotCheckerOptionBase
@@ -12,7 +12,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotCheckerOption"))
interface NotCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -27,7 +27,7 @@ interface NotCheckerOption<out T : CharSequence, out S : CharSequenceContains.Se
* `contains` assertion for [CharSequence].
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotCheckerOption"))
open class NotCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
containsBuilder: CharSequenceContains.Builder<T, S>
) : NotCheckerOptionBase<T, S>(containsBuilder), NotCheckerOption<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.notOrAtMost
@@ -13,7 +13,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.NotOrAtMostCheckerOption"))
interface NotOrAtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>
@@ -30,7 +30,7 @@ interface NotOrAtMostCheckerOption<out T : CharSequence, out S : CharSequenceCon
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotOrAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotOrAtMostCheckerOption"))
open class NotOrAtMostCheckerOptionImpl<out T : CharSequence, out S : SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.charsequence.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.Values
@@ -6,7 +6,7 @@ import ch.tutteli.atrium.api.cc.infix.en_UK.containsNot
import ch.tutteli.atrium.creating.Assert
import kotlin.reflect.KFunction2
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.nameContainsNotValuesFun"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.charsequence.contains.builders.nameContainsNotValuesFun"))
internal fun nameContainsNotValuesFun(): String {
val f: KFunction2<Assert<CharSequence>, Values<Any>, Assert<CharSequence>> = Assert<CharSequence>::containsNot
return "${f.name} ${Values::class.simpleName}"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtLeastCheckerOption"))
interface AtLeastCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -30,7 +30,7 @@ interface AtLeastCheckerOption<out E, out T : Iterable<E>, out S : IterableConta
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtLeastCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtLeastCheckerOption"))
open class AtLeastCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.AtMostCheckerOption"))
interface AtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -32,7 +32,7 @@ interface AtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContai
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtMostCheckerOption"))
open class AtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.atLeast
@@ -17,7 +17,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ButAtMostCheckerOption"))
interface ButAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -33,7 +33,7 @@ interface ButAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableCon
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ButAtMostCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ButAtMostCheckerOption"))
open class ButAtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
atLeastBuilder: AtLeastCheckerOption<E, T, S>,

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.exactly
@@ -14,7 +14,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.ExactlyCheckerOption"))
interface ExactlyCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>
@@ -30,7 +30,7 @@ interface ExactlyCheckerOption<out E, out T : Iterable<E>, out S : IterableConta
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ExactlyCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ExactlyCheckerOption"))
open class ExactlyCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.domain.builders.creating.iterable.contains.builders.NotCheckerOptionBase
@@ -12,7 +12,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.NotCheckerOption"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.NotCheckerOption"))
interface NotCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: IterableContains.CheckerOption<E, T, S>
@@ -27,7 +27,7 @@ interface NotCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.
* `contains not` assertion for [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("NotCheckerOption"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("NotCheckerOption"))
open class NotCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
containsBuilder: IterableContains.Builder<E, T, S>
) : NotCheckerOptionBase<E, T, S>(containsBuilder), NotCheckerOption<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders
import ch.tutteli.atrium.api.cc.infix.en_UK.Values
@@ -6,7 +6,7 @@ import ch.tutteli.atrium.api.cc.infix.en_UK.containsNot
import ch.tutteli.atrium.creating.Assert
import kotlin.reflect.KFunction2
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.nameContainsNotValuesFun"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.creating.iterable.contains.builders.nameContainsNotValuesFun"))
internal fun nameContainsNotValuesFun(): String {
val f: KFunction2<Assert<CharSequence>, Values<Any>, Assert<CharSequence>> = Assert<CharSequence>::containsNot
return "${f.name} ${Values::class.simpleName}"

View File

@@ -15,7 +15,7 @@ import kotlin.reflect.*
*
* @return An [AssertionPlant] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property)"))
fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>): AssertionPlant<TProperty>
= AssertImpl.feature.property(this, property)
@@ -29,7 +29,7 @@ fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property, assertionCreator)"))
fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>, assertionCreator: AssertionPlant<TProperty>.() -> Unit): AssertionPlant<TProperty>
= AssertImpl.feature.property(this, property, assertionCreator)
@@ -40,7 +40,7 @@ fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.property(property)"))
fun <T : Any, TProperty : Any?> Assert<T>.property(property: KProperty0<TProperty>): AssertionPlantNullable<TProperty>
= AssertImpl.feature.property(this, property)
@@ -50,7 +50,7 @@ fun <T : Any, TProperty : Any?> Assert<T>.property(property: KProperty0<TPropert
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method)"))
fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method)
@@ -65,7 +65,7 @@ fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TRe
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, assertionCreator)"))
fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method, assertionCreator)
@@ -76,7 +76,7 @@ fun <T : Any, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction0<TRe
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method)"))
fun <T : Any, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction0<TReturnValue>): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf0(this, method)
@@ -87,7 +87,7 @@ fun <T : Any, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction0<TR
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1)"))
fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1)
@@ -102,7 +102,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFu
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, assertionCreator)"))
fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1, assertionCreator)
@@ -113,7 +113,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFu
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1)"))
fun <T : Any, T1 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction1<T1, TReturnValue>, arg1: T1): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf1(this, method, arg1)
@@ -124,7 +124,7 @@ fun <T : Any, T1 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KF
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2)
@@ -139,7 +139,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2, assertionCreator)
@@ -150,7 +150,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2)"))
fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf2(this, method, arg1, arg2)
@@ -162,7 +162,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3)
@@ -177,7 +177,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.ret
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3, assertionCreator)
@@ -188,7 +188,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any> Assert<T>.ret
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf3(this, method, arg1, arg2, arg3)
@@ -199,7 +199,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, TReturnValue : Any?> Assert<T>.re
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4)
@@ -214,7 +214,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> As
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4, assertionCreator)
@@ -225,7 +225,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any> As
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf4(this, method, arg1, arg2, arg3, arg4)
@@ -236,7 +236,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, TReturnValue : Any?> A
*
* @return An [AssertionPlant] for the return value of the given [method].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5)
@@ -251,7 +251,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValu
* @throws AssertionError Might throw an [AssertionError] if an additionally created [Assertion]
* (by calling [assertionCreator]) does not hold.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5, assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5, assertionCreator)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, assertionCreator: AssertionPlant<TReturnValue>.() -> Unit): AssertionPlant<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5, assertionCreator)
@@ -262,7 +262,7 @@ fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValu
*
* @return An [AssertionPlantNullable] for the given [property].
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.returnValueOf(method, arg1, arg2, arg3, arg4, arg5)"))
fun <T : Any, T1 : Any?, T2 : Any?, T3 : Any?, T4 : Any?, T5 : Any?, TReturnValue : Any?> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlantNullable<TReturnValue>
= AssertImpl.feature.returnValueOf5(this, method, arg1, arg2, arg3, arg4, arg5)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.api.cc.infix.en_UK.creating.iterable.contains.builders.*

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -22,11 +22,11 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.value(expected)"))
infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>
= this the Values(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder value expected"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder value expected"))
fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E): AssertionPlant<T>
= the(checkerBuilder, Values(expected))
@@ -50,28 +50,28 @@ fun <E, T : Iterable<E>> value(checkerBuilder: IterableContainsCheckerBuilder<E,
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(values)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(values)"))
infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(values: Values<E>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrder(this, values.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder the values"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder the values"))
fun <E, T : Iterable<E>> the(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, values: Values<E>): AssertionPlant<T>
= checkerBuilder the values
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `value expected` without adding enough to be a legit alternative.", ReplaceWith("this value expected"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `value expected` without adding enough to be a legit alternative.", ReplaceWith("this value expected"))
infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.`object`(expected: E): AssertionPlant<T>
= this the Values(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder value expected"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder value expected"))
fun <E, T : Iterable<E>> `object`(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, expected: E): AssertionPlant<T>
= the(checkerBuilder, Values(expected))
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `the Values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("this the Values(objects)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `the Values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("this the Values(objects)"))
infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(objects: Objects<E>): AssertionPlant<T>
= this the Values(objects)
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder the objects"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder the objects"))
fun <E, T : Iterable<E>> the(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, objects: Objects<E>): AssertionPlant<T>
= checkerBuilder the Values(objects)
@@ -89,11 +89,11 @@ fun <E, T : Iterable<E>> the(checkerBuilder: IterableContainsCheckerBuilder<E, T
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
infix fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= this the Entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder entry assertionCreator"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder entry assertionCreator"))
fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= the(checkerBuilder, Entries(assertionCreator))
@@ -108,11 +108,11 @@ fun <E : Any, T : Iterable<E>> entry(checkerBuilder: IterableContainsCheckerBuil
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
infix fun <E : Any, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(entries: Entries<E, Assert<E>.() -> Unit>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderWithAssert(this, entries.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder the entries"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder the entries"))
fun <E : Any, T : Iterable<E>> the(checkerBuilder: IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>, entries: Entries<E, Assert<E>.() -> Unit>): AssertionPlant<T>
= checkerBuilder the entries
@@ -130,12 +130,12 @@ fun <E : Any, T : Iterable<E>> the(checkerBuilder: IterableContainsCheckerBuilde
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@JvmName("entry?")
infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= this the Entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder entry assertionCreator"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder entry assertionCreator"))
fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsCheckerBuilder<E?, T, InAnyOrderSearchBehaviour>, assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= nullableEntries(checkerBuilder, Entries(assertionCreator))
@@ -150,12 +150,12 @@ fun <E : Any, T : Iterable<E?>> nullableEntry(checkerBuilder: IterableContainsCh
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@JvmName("entries?")
infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.the(entries: Entries<E, (Assert<E>.() -> Unit)?>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderWithAssert(this, entries.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder the entries"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder the entries"))
fun <E : Any, T : Iterable<E?>> nullableEntries(checkerBuilder: IterableContainsCheckerBuilder<E?, T, InAnyOrderSearchBehaviour>, entries: Entries<E, (Assert<E>.() -> Unit)?>): AssertionPlant<T>
= checkerBuilder the entries

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.assertions.Assertion
@@ -22,11 +22,11 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.value(expected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.value(expected)"))
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
= this the Values(expected)
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder value expected"))
@Deprecated("Use the extension fun `value` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder value expected"))
fun <E, T : Iterable<E>> value(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= the(builder, Values(expected))
@@ -42,28 +42,28 @@ fun <E, T : Iterable<E>> value(builder: IterableContainsBuilder<E, T, InAnyOrder
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(values)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(values)"))
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.the(values: Values<E>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrderOnly(this, values.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder the values"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder the values"))
fun <E, T : Iterable<E>> the(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, values: Values<E>): AssertionPlant<T>
= builder the values
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `value expected` without adding enough to be a legit alternative.", ReplaceWith("this value expected"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `value expected` without adding enough to be a legit alternative.", ReplaceWith("this value expected"))
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.`object`(expected: E): AssertionPlant<T>
= this the Values(expected)
@Deprecated("Use the extension fun value instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder value expected"))
@Deprecated("Use the extension fun value instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder value expected"))
fun <E, T : Iterable<E>> `object`(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, expected: E): AssertionPlant<T>
= the(builder, Values(expected))
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `the Values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("this the Values(objects)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `the Values(expected, otherExpected)` without adding enough to be a legit alternative.", ReplaceWith("this the Values(objects)"))
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.the(objects: Objects<E>): AssertionPlant<T>
= this the Values(objects)
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder the objects"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder the objects"))
fun <E, T : Iterable<E>> the(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, objects: Objects<E>): AssertionPlant<T>
= builder the Values(objects)
@@ -79,11 +79,11 @@ fun <E, T : Iterable<E>> the(builder: IterableContainsBuilder<E, T, InAnyOrderOn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
infix fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= this the Entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder entry assertionCreator"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder entry assertionCreator"))
fun <E : Any, T : Iterable<E>> entry(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
= the(builder, Entries(assertionCreator))
@@ -106,11 +106,11 @@ fun <E : Any, T : Iterable<E>> entry(builder: IterableContainsBuilder<E, T, InAn
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
infix fun <E : Any, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.the(entries: Entries<E, Assert<E>.() -> Unit>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderOnlyWithAssert(this, entries.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder the entries"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder the entries"))
fun <E : Any, T : Iterable<E>> the(builder: IterableContainsBuilder<E, T, InAnyOrderOnlySearchBehaviour>, entries: Entries<E, Assert<E>.() -> Unit>): AssertionPlant<T>
= builder the entries
@@ -126,12 +126,12 @@ fun <E : Any, T : Iterable<E>> the(builder: IterableContainsBuilder<E, T, InAnyO
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.entry(assertionCreator)"))
@JvmName("entry?")
infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.entry(assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= this the Entries(assertionCreator)
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder entry assertionCreator"))
@Deprecated("Use the extension fun `entry` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder entry assertionCreator"))
fun <E : Any, T : Iterable<E?>> nullableEntry(builder: IterableContainsBuilder<E?, T, InAnyOrderOnlySearchBehaviour>, assertionCreator: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= nullableEntries(builder, Entries(assertionCreator))
@@ -154,12 +154,12 @@ fun <E : Any, T : Iterable<E?>> nullableEntry(builder: IterableContainsBuilder<E
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.the(entries)"))
@JvmName("entries?")
infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.the(entries: Entries<E, (Assert<E>.() -> Unit)?>): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.entriesInAnyOrderOnlyWithAssert(this, entries.toList()))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder the entries"))
@Deprecated("Use the extension fun `the` instead. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder the entries"))
fun <E : Any, T : Iterable<E?>> nullableEntries(builder: IterableContainsBuilder<E?, T, InAnyOrderOnlySearchBehaviour>, entries: Entries<E, (Assert<E>.() -> Unit)?>): AssertionPlant<T>
= builder the entries

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0*/)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0*/)
package ch.tutteli.atrium.api.cc.infix.en_UK
import ch.tutteli.atrium.creating.Assert
@@ -8,7 +8,7 @@ import ch.tutteli.kbox.glue
/**
* Parameter object to express `Translatable, vararg Translatable` in the infix-api.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.DefaultTranslationsOf(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.DefaultTranslationsOf(expected, *otherExpected)"))
class DefaultTranslationsOf(val expected: Translatable, vararg val otherExpected: Translatable) {
fun toList(): List<Translatable> = expected glue otherExpected
}
@@ -16,7 +16,7 @@ class DefaultTranslationsOf(val expected: Translatable, vararg val otherExpected
/**
* Parameter object to express `((Assert<T>) -> Unit)?, vararg ((Assert<T>) -> Unit)?` in the infix-api.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.Entries(assertionCreator, *otherAssertionCreators)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.Entries(assertionCreator, *otherAssertionCreators)"))
class Entries<in T : Any, out A : ((Assert<T>) -> Unit)?>(val assertionCreator: A, vararg val otherAssertionCreators: A) {
fun toList(): List<A> = assertionCreator glue otherAssertionCreators
}
@@ -24,16 +24,16 @@ class Entries<in T : Any, out A : ((Assert<T>) -> Unit)?>(val assertionCreator:
/**
* Parameter object to express `T, vararg T` in the infix-api.
*/
@Deprecated("Use Values instead; will be removed with 1.0.0 - there is no ReplaceWith defined due to bug KT-10094, please use search & replace instead, watch out for `Values(Values(` afterwards")
@Deprecated("Use Values instead; will be removed with 0.10.0 - there is no ReplaceWith defined due to bug KT-10094, please use search & replace instead, watch out for `Values(Values(` afterwards")
class Objects<out T>(val expected: T, vararg val otherExpected: T) {
@Deprecated("Use Values instead; will be removed with 1.0.0 - there is no ReplaceWith defined due to bug KT-10094, please use search & replace, watch out for `Values(Values(` afterwards")
@Deprecated("Use Values instead; will be removed with 0.10.0 - there is no ReplaceWith defined due to bug KT-10094, please use search & replace, watch out for `Values(Values(` afterwards")
constructor(values: Values<T>) : this(values.expected, *values.otherExpected)
}
/**
* Parameter object to express `String, vararg String` in the infix-api.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.RegexPatterns(pattern, *otherPatterns)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.RegexPatterns(pattern, *otherPatterns)"))
class RegexPatterns(val pattern: String, vararg val otherPatterns: String) {
fun toList(): List<String> = pattern glue otherPatterns
}
@@ -41,10 +41,10 @@ class RegexPatterns(val pattern: String, vararg val otherPatterns: String) {
/**
* Parameter object to express `T, vararg T` in the infix-api.
*/
@Deprecated("Use pendant from package en_GB; will be removed with 1.0.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.Values(expected, *otherExpected)"))
@Deprecated("Use pendant from package en_GB; will be removed with 0.10.0", ReplaceWith("ch.tutteli.atrium.api.cc.infix.en_GB.Values(expected, *otherExpected)"))
class Values<out T>(val expected: T, vararg val otherExpected: T) {
@Deprecated("Use Values directly instead of wrapping it into Objects in addition; will be removed with 1.0.0")
@Deprecated("Use Values directly instead of wrapping it into Objects in addition; will be removed with 0.10.0")
constructor(objects: Objects<T>) : this(objects.expected, *objects.otherExpected)
fun toList(): List<T> = expected glue otherExpected

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH
import ch.tutteli.atrium.creating.Assert
@@ -14,7 +14,7 @@ import kotlin.jvm.JvmName
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <E> Assert<Array<out E>>.asIterable(): Assert<Iterable<E>>
= ExpectImpl.changeSubject(this).unreported { it.asIterable() }
@@ -28,7 +28,7 @@ fun <E> Assert<Array<out E>>.asIterable(): Assert<Iterable<E>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <E> Assert<Array<out E>>.asIterable(assertionCreator: Assert<Iterable<E>>.() -> Unit): Assert<Iterable<E>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -41,7 +41,7 @@ fun <E> Assert<Array<out E>>.asIterable(assertionCreator: Assert<Iterable<E>>.()
*
* @return The newly created [Assert] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("byteArrAsIterable")
fun Assert<ByteArray>.asIterable(): Assert<Iterable<Byte>>
@@ -83,7 +83,7 @@ fun Assert<CharArray>.asIterable(): Assert<Iterable<Char>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("charArrAsIterable")
fun Assert<CharArray>.asIterable(assertionCreator: Assert<Iterable<Char>>.() -> Unit): Assert<Iterable<Char>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -97,7 +97,7 @@ fun Assert<CharArray>.asIterable(assertionCreator: Assert<Iterable<Char>>.() ->
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("shortArrAsIterable")
fun Assert<ShortArray>.asIterable(): Assert<Iterable<Short>>
@@ -112,7 +112,7 @@ fun Assert<ShortArray>.asIterable(): Assert<Iterable<Short>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("shortArrAsIterable")
fun Assert<ShortArray>.asIterable(assertionCreator: Assert<Iterable<Short>>.() -> Unit): Assert<Iterable<Short>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -126,7 +126,7 @@ fun Assert<ShortArray>.asIterable(assertionCreator: Assert<Iterable<Short>>.() -
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("intArrAsIterable")
fun Assert<IntArray>.asIterable(): Assert<Iterable<Int>>
@@ -141,7 +141,7 @@ fun Assert<IntArray>.asIterable(): Assert<Iterable<Int>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("intArrAsIterable")
fun Assert<IntArray>.asIterable(assertionCreator: Assert<Iterable<Int>>.() -> Unit): Assert<Iterable<Int>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -155,7 +155,7 @@ fun Assert<IntArray>.asIterable(assertionCreator: Assert<Iterable<Int>>.() -> Un
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("longArrAsIterable")
fun Assert<LongArray>.asIterable(): Assert<Iterable<Long>>
@@ -170,7 +170,7 @@ fun Assert<LongArray>.asIterable(): Assert<Iterable<Long>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("longArrAsIterable")
fun Assert<LongArray>.asIterable(assertionCreator: Assert<Iterable<Long>>.() -> Unit): Assert<Iterable<Long>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -184,7 +184,7 @@ fun Assert<LongArray>.asIterable(assertionCreator: Assert<Iterable<Long>>.() ->
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("floatArrAsIterable")
fun Assert<FloatArray>.asIterable(): Assert<Iterable<Float>>
@@ -199,7 +199,7 @@ fun Assert<FloatArray>.asIterable(): Assert<Iterable<Float>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("floatArrAsIterable")
fun Assert<FloatArray>.asIterable(assertionCreator: Assert<Iterable<Float>>.() -> Unit): Assert<Iterable<Float>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -213,7 +213,7 @@ fun Assert<FloatArray>.asIterable(assertionCreator: Assert<Iterable<Float>>.() -
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("doubleArrAsIterable")
fun Assert<DoubleArray>.asIterable(): Assert<Iterable<Double>>
@@ -228,7 +228,7 @@ fun Assert<DoubleArray>.asIterable(): Assert<Iterable<Double>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("doubleArrAsIterable")
fun Assert<DoubleArray>.asIterable(assertionCreator: Assert<Iterable<Double>>.() -> Unit): Assert<Iterable<Double>>
= asIterable().addAssertionsCreatedBy(assertionCreator)
@@ -242,7 +242,7 @@ fun Assert<DoubleArray>.asIterable(assertionCreator: Assert<Iterable<Double>>.()
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("boolArrAsIterable")
fun Assert<BooleanArray>.asIterable(): Assert<Iterable<Boolean>>
@@ -257,7 +257,7 @@ fun Assert<BooleanArray>.asIterable(): Assert<Iterable<Boolean>>
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@JvmName("boolArrAsIterable")
fun Assert<BooleanArray>.asIterable(assertionCreator: Assert<Iterable<Boolean>>.() -> Unit): Assert<Iterable<Boolean>>
= asIterable().addAssertionsCreatedBy(assertionCreator)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("CharSequenceAssertionsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -21,7 +21,7 @@ import kotlin.jvm.JvmName
*
* @return The newly created builder.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <T : CharSequence> Assert<T>.enthaelt: CharSequenceContains.Builder<T, NoOpSearchBehaviour>
get() = AssertImpl.charSequence.containsBuilder(this)
@@ -31,7 +31,7 @@ val <T : CharSequence> Assert<T>.enthaelt: CharSequenceContains.Builder<T, NoOpS
*
* @return The newly created builder.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <T : CharSequence> Assert<T>.enthaeltNicht: NotCheckerOption<T, NotSearchBehaviour>
get() = NotCheckerOptionImpl(AssertImpl.charSequence.containsNotBuilder(this))
@@ -61,7 +61,7 @@ val <T : CharSequence> Assert<T>.enthaeltNicht: NotCheckerOption<T, NotSearchBeh
* @throws IllegalArgumentException in case [expected] or one of the [otherExpected] is not a
* [CharSequence], [Number] or [Char].
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.enthaelt(expected: Any, vararg otherExpected: Any)
= enthaelt.zumindest(1).werte(expected, *otherExpected)
@@ -77,7 +77,7 @@ fun <T : CharSequence> Assert<T>.enthaelt(expected: Any, vararg otherExpected: A
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.enthaeltNicht(expected: Any, vararg otherExpected: Any)
= enthaeltNicht.werte(expected, *otherExpected)
@@ -104,7 +104,7 @@ fun <T : CharSequence> Assert<T>.enthaeltNicht(expected: Any, vararg otherExpect
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.enthaeltRegex(
pattern: String,
vararg otherPatterns: String
@@ -116,7 +116,7 @@ fun <T : CharSequence> Assert<T>.enthaeltRegex(
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.beginntMit(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.startsWith(this, expected))
@@ -126,7 +126,7 @@ fun <T : CharSequence> Assert<T>.beginntMit(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.beginntNichtMit(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.startsNotWith(this, expected))
@@ -137,7 +137,7 @@ fun <T : CharSequence> Assert<T>.beginntNichtMit(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.endetMit(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.endsWith(this, expected))
@@ -147,7 +147,7 @@ fun <T : CharSequence> Assert<T>.endetMit(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.endetNichtMit(expected: CharSequence)
= addAssertion(AssertImpl.charSequence.endsNotWith(this, expected))
@@ -158,7 +158,7 @@ fun <T : CharSequence> Assert<T>.endetNichtMit(expected: CharSequence)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.istLeer()
= addAssertion(AssertImpl.charSequence.isEmpty(this))
@@ -168,7 +168,7 @@ fun <T : CharSequence> Assert<T>.istLeer()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.istNichtLeer()
= addAssertion(AssertImpl.charSequence.isNotEmpty(this))
@@ -178,6 +178,6 @@ fun <T : CharSequence> Assert<T>.istNichtLeer()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence> Assert<T>.istNichtBlank()
= addAssertion(AssertImpl.charSequence.isNotBlank(this))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("CharSequenceContainsCheckersKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -21,7 +21,7 @@ import kotlin.jvm.JvmName
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [enthaeltNicht] instead.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.zumindest(times: Int): AtLeastCheckerOption<T, S>
= AtLeastCheckerOptionImpl(times, this)
@@ -40,7 +40,7 @@ fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.z
* @throws IllegalArgumentException In case [times] of this `at most` restriction equals to the number of the
* `at least` restriction; use the [genau] restriction instead.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.aberHoechstens(times: Int): ButAtMostCheckerOption<T, S>
= ButAtMostCheckerOptionImpl(times, this, containsBuilder)
@@ -55,7 +55,7 @@ fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.aberHoech
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [enthaeltNicht] instead.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.genau(times: Int): ExactlyCheckerOption<T, S>
= ExactlyCheckerOptionImpl(times, this)
@@ -75,7 +75,7 @@ fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.g
* @throws IllegalArgumentException In case [times] equals to zero; use [enthaeltNicht] instead.
* @throws IllegalArgumentException In case [times] equals to one; use [genau] instead.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.hoechstens(times: Int): AtMostCheckerOption<T, S>
= AtMostCheckerOptionImpl(times, this)
@@ -90,6 +90,6 @@ fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.h
* @throws IllegalArgumentException In case [times] is smaller than zero.
* @throws IllegalArgumentException In case [times] equals to zero; use [enthaeltNicht] instead.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : CharSequence, S : SearchBehaviour> CharSequenceContains.Builder<T, S>.nichtOderHoechstens(times: Int): NotOrAtMostCheckerOption<T, S>
= NotOrAtMostCheckerOptionImpl(times, this)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("CharSequenceContainsDecoratorsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -18,7 +18,7 @@ import kotlin.jvm.JvmName
*
* @return The newly created builder.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <T : CharSequence> CharSequenceContains.Builder<T, NoOpSearchBehaviour>.ignoriereGrossKleinschreibung
get() : CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>
= AssertImpl.charSequence.contains.searchBehaviours.ignoringCase(this)
@@ -27,7 +27,7 @@ val <T : CharSequence> CharSequenceContains.Builder<T, NoOpSearchBehaviour>.igno
*
* @return The newly created builder.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoriereGrossKleinschreibung
get() : NotCheckerOption<T, IgnoringCaseSearchBehaviour>
= NotCheckerOptionImpl(containsBuilder.ignoriereGrossKleinschreibung)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH
import ch.tutteli.atrium.creating.Assert
@@ -15,7 +15,7 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <T : Collection<*>> Assert<T>.hatDieGroesse(size: Int)
= addAssertion(AssertImpl.collection.hasSize(this, size))
@@ -26,7 +26,7 @@ fun <T : Collection<*>> Assert<T>.hatDieGroesse(size: Int)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Collection<*>> Assert<T>.istLeer()
= addAssertion(AssertImpl.collection.isEmpty(this))
@@ -36,7 +36,7 @@ fun <T : Collection<*>> Assert<T>.istLeer()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Collection<*>> Assert<T>.istNichtLeer()
= addAssertion(AssertImpl.collection.isNotEmpty(this))
@@ -49,7 +49,7 @@ fun <T : Collection<*>> Assert<T>.istNichtLeer()
*
* @return The newly created [AssertionPlant].
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val Assert<Collection<*>>.size get(): Assert<Int> = property(Collection<*>::size)
/**
@@ -61,7 +61,7 @@ val Assert<Collection<*>>.size get(): Assert<Int> = property(Collection<*>::size
* does not hold.
* @throws IllegalArgumentException in case the given [assertionCreator] did not create a single assertion.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <E, T: Collection<E>> Assert<T>.size (assertionCreator: Assert<Int>.() -> Unit): Assert<T>
= addAssertion(AssertImpl.collection.size(this, assertionCreator))

View File

@@ -9,6 +9,6 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
interface ButAtMostCheckerOption<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>
: CharSequenceContains.CheckerOption<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH.creating.charsequence.contains.builders.impl
import ch.tutteli.atrium.api.cc.de_CH.creating.charsequence.contains.builders.AtLeastCheckerOption
@@ -19,7 +19,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtLeastCheckerBuilder"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtLeastCheckerBuilder"))
open class AtLeastCheckerOptionImpl<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH.creating.charsequence.contains.builders.impl
import ch.tutteli.atrium.api.cc.de_CH.creating.charsequence.contains.builders.ExactlyCheckerOption
@@ -19,7 +19,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* found in the input of the search.
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("ExactlyCheckerBuilder"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("ExactlyCheckerBuilder"))
open class ExactlyCheckerOptionImpl<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour>(
times: Int,
containsBuilder: CharSequenceContains.Builder<T, S>

View File

@@ -10,6 +10,6 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.IterableContains
* @param T The input type of the search.
* @param S The search behaviour which should be applied for the input of the search.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
interface ButAtMostCheckerOption<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour>
: WithTimesCheckerOption<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH.creating.iterable.contains.builders.impl
import ch.tutteli.atrium.api.cc.de_CH.creating.iterable.contains.builders.AtMostCheckerOption
@@ -21,7 +21,7 @@ import ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours.InAn
* found in the [Iterable].
* @param containsBuilder The previously used [IterableContains.Builder].
*/
@Deprecated("Do not rely on this type; will be made internal with 1.0.0", ReplaceWith("AtMostCheckerBuilder"))
@Deprecated("Do not rely on this type; will be made internal with 0.10.0", ReplaceWith("AtMostCheckerBuilder"))
open class AtMostCheckerOptionImpl<out E, out T : Iterable<E>, out S : InAnyOrderSearchBehaviour>(
times: Int,
containsBuilder: IterableContains.Builder<E, T, S>

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("IterableContainsInAnyOrderCreatorsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -26,7 +26,7 @@ import kotlin.jvm.JvmName
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.wert(expected: E): AssertionPlant<T>
= werte(expected)
@@ -51,7 +51,7 @@ fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBe
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.werte(expected: E, vararg otherExpected: E): AssertionPlant<T>
= addAssertion(AssertImpl.iterable.contains.valuesInAnyOrder(this, expected glue otherExpected))
@@ -69,7 +69,7 @@ fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBe
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.eintrag(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
= eintraege(assertionCreatorOrNull)
@@ -88,7 +88,7 @@ fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrder
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.eintraege(
assertionCreatorOrNull: (Assert<E>.() -> Unit)?,
@@ -102,7 +102,7 @@ fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrder
*
* @return The plant to support a fluent API.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
private fun <E, T : Iterable<E>, S : IterableContains.SearchBehaviour> IterableContains.CheckerOption<E, T, S>.addAssertion(
assertion: Assertion
): AssertionPlant<T> = addAssertionForAssert(assertion)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("IterableContainsInOrderOnlyGroupedCreatorsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -26,7 +26,7 @@ import kotlin.jvm.JvmName
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(
firstGroup: Group<E>,
secondGroup: Group<E>,
@@ -55,7 +55,7 @@ fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlyGroupedWithin
* @return The [AssertionPlant] for which the assertion was built to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JvmName("inBeliebigerReihenfolgeEintraege")
fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH
import ch.tutteli.atrium.assertions.Assertion
@@ -23,7 +23,7 @@ import kotlin.js.JsName
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V, T: Map<out K, V>> Assert<T>.enthaelt(entry: Pair<K, V>, vararg otherEntries: Pair<K, V>)
= addAssertion(AssertImpl.map.contains(this, entry glue otherEntries))
@@ -42,7 +42,7 @@ fun <K, V, T: Map<out K, V>> Assert<T>.enthaelt(entry: Pair<K, V>, vararg otherE
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V : Any, T: Map<out K, V?>> Assert<T>.enthaelt(
keyValue: KeyValue<K, V>,
@@ -56,7 +56,7 @@ fun <K, V : Any, T: Map<out K, V?>> Assert<T>.enthaelt(
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <K> Assert<Map<out K, *>>.enthaeltKey(key: K)
= addAssertion(AssertImpl.map.containsKey(this, key))
@@ -66,7 +66,7 @@ fun <K> Assert<Map<out K, *>>.enthaeltKey(key: K)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <K> Assert<Map<out K, *>>.enthaeltNichtKey(key: K)
= addAssertion(AssertImpl.map.containsNotKey(this, key))
@@ -78,7 +78,7 @@ fun <K> Assert<Map<out K, *>>.enthaeltNichtKey(key: K)
* @return The newly created plant for the feature
* @throws AssertionError Might throw an [AssertionError] if the given [key] does not exist.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
@JsName("getExistierend")
fun <K, V: Any, T: Map<out K, V>> Assert<T>.getExistierend(key: K): Assert<V>
@@ -93,7 +93,7 @@ fun <K, V: Any, T: Map<out K, V>> Assert<T>.getExistierend(key: K): Assert<V>
* does not hold.
* @throws IllegalArgumentException in case the given [assertionCreator] did not create a single assertion.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V: Any, T: Map<out K, V>> Assert<T>.getExistierend(key: K, assertionCreator: Assert<V>.() -> Unit)
= addAssertion(AssertImpl.map.getExisting(this, key, assertionCreator))
@@ -106,7 +106,7 @@ fun <K, V: Any, T: Map<out K, V>> Assert<T>.getExistierend(key: K, assertionCrea
* @return The newly created plant for the feature
* @throws AssertionError Might throw an [AssertionError] if the given [key] does not exist.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V, T: Map<out K, V>> Assert<T>.getExistierend(key: K): AssertionPlantNullable<V>
= AssertImpl.map.getExistingNullable(this, key)
@@ -118,7 +118,7 @@ fun <K, V, T: Map<out K, V>> Assert<T>.getExistierend(key: K): AssertionPlantNul
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <T : Map<*, *>> Assert<T>.hatDieGroesse(size: Int)
= addAssertion(AssertImpl.map.hasSize(this, size))
@@ -129,7 +129,7 @@ fun <T : Map<*, *>> Assert<T>.hatDieGroesse(size: Int)
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Map<*, *>> Assert<T>.istLeer()
= addAssertion(AssertImpl.map.isEmpty(this))
@@ -139,7 +139,7 @@ fun <T : Map<*, *>> Assert<T>.istLeer()
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Map<*, *>> Assert<T>.istNichtLeer()
= addAssertion(AssertImpl.map.isNotEmpty(this))
@@ -152,7 +152,7 @@ fun <T : Map<*, *>> Assert<T>.istNichtLeer()
*
* @return The newly created [AssertionPlant].
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <K, V> Assert<Map<out K, V>>.keys get() : Assert<Set<K>> = property(Map<out K, V>::keys)
/**
@@ -163,7 +163,7 @@ val <K, V> Assert<Map<out K, V>>.keys get() : Assert<Set<K>> = property(Map<out
* @throws AssertionError Might throw an [AssertionError] if a created [Assertion]s (by calling [assertionCreator])
* does not hold.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V, T: Map<out K, V>> Assert<T>.keys(assertionCreator: Assert<Set<K>>.() -> Unit)
= addAssertion(AssertImpl.map.keys(this, assertionCreator))
@@ -177,7 +177,7 @@ fun <K, V, T: Map<out K, V>> Assert<T>.keys(assertionCreator: Assert<Set<K>>.()
*
* @return The newly created [AssertionPlant].
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
val <K, V> Assert<Map<out K, V>>.values get() : Assert<Collection<V>> = property(Map<out K, V>::values)
/**
@@ -188,7 +188,7 @@ val <K, V> Assert<Map<out K, V>>.values get() : Assert<Collection<V>> = property
* @throws AssertionError Might throw an [AssertionError] if a created [Assertion]s (by calling [assertionCreator])
* does not hold.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V, T: Map<out K, V>> Assert<T>.values(assertionCreator: Assert<Collection<V>>.() -> Unit)
= addAssertion(AssertImpl.map.values(this, assertionCreator))
@@ -201,7 +201,7 @@ fun <K, V, T: Map<out K, V>> Assert<T>.values(assertionCreator: Assert<Collectio
*
* @return The newly created [AssertionPlant] for the transformed subject.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
@Suppress("DEPRECATION")
fun <K, V> Assert<Map<out K, V>>.asEntries(): Assert<Set<Map.Entry<K, V>>>
= ExpectImpl.changeSubject(this).unreported { it.entries }

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("ThrowableAssertionsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -23,7 +23,7 @@ import kotlin.jvm.JvmName
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.wirft(noinline assertionCreator: Assert<TExpected>.() -> Unit) {
@Suppress("DEPRECATION")
AssertImpl.throwable.thrown.toBe(this, TExpected::class, assertionCreator)
@@ -37,7 +37,7 @@ inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.wirft(noinlin
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun ThrowableThrown.Builder.wirftNichts() {
@Suppress("DEPRECATION")
AssertImpl.throwable.thrown.nothingThrown(this)
@@ -55,7 +55,7 @@ fun ThrowableThrown.Builder.wirftNichts() {
* @throws AssertionError Might throw an [AssertionError] in case [message][Throwable.message] is `null`
* or if an additionally created [Assertion]s (by calling [assertionCreator]) does not hold.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Throwable> Assert<T>.message(assertionCreator: Assert<String>.() -> Unit) {
property(Throwable::message).istNichtNull(assertionCreator)
}
@@ -76,7 +76,7 @@ fun <T : Throwable> Assert<T>.message(assertionCreator: Assert<String>.() -> Uni
* @throws AssertionError Might throw an [AssertionError] in case [message][Throwable.message] is `null`
* or does not contain [expected] or [otherExpected].
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : Throwable> Assert<T>.messageEnthaelt(expected: Any, vararg otherExpected: Any) {
message { enthaelt(expected, *otherExpected) }
}

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("TypeTransformationAssertionsKt")
package ch.tutteli.atrium.api.cc.de_CH

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("AnyAssertionsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -14,12 +14,12 @@ import ch.tutteli.atrium.domain.builders.AssertImpl
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Will be removed with 1.0.0 because it is redundant in terms of `ist(null)` without adding enough to be a legit alternative.", ReplaceWith("ist(null)"))
@Deprecated("Will be removed with 0.10.0 because it is redundant in terms of `ist(null)` without adding enough to be a legit alternative.", ReplaceWith("ist(null)"))
fun <T : Any?> AssertionPlantNullable<T>.istNull() {
addAssertion(AssertImpl.any.toBeNull(this))
}
@Deprecated("Use the extension function, will be removed with 1.0.0", ReplaceWith("plant.ist(null)"))
@Deprecated("Use the extension function, will be removed with 0.10.0", ReplaceWith("plant.ist(null)"))
@Suppress("UNUSED_PARAMETER")
fun <T : Any?> ist(plant: AssertionPlantNullable<T>, void: Void?) {
plant.addAssertion(AssertImpl.any.toBeNull(plant))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* TODO remove with 1.0.0 */)
@file:Suppress("DEPRECATION" /* TODO remove with 0.10.0 */)
package ch.tutteli.atrium.api.cc.de_CH.assertions.charsequence.contains.builders
import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsCheckerBuilder
@@ -16,7 +16,7 @@ import ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceConta
* @param containsBuilder The previously used [CharSequenceContains.Builder].
*/
@Deprecated(
"Use the builder from the package creating; will be removed with 1.0.0",
"Use the builder from the package creating; will be removed with 0.10.0",
ReplaceWith(
"NotCheckerOption",
"ch.tutteli.atrium.api.cc.de_CH.creating.charsequence.contains.builders.NotCheckerOption"

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("CharSequenceContainsCheckersKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -15,22 +15,22 @@ import ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceC
import ch.tutteli.atrium.assertions.charsequence.contains.searchbehaviours.CharSequenceContainsNoOpSearchBehaviour as DeprecatedNoOpSearchBehaviour
import ch.tutteli.atrium.assertions.charsequence.contains.searchbehaviours.CharSequenceContainsNotSearchBehaviour as DeprecatedNotSearchBehaviour
@Deprecated("Use the extension fun `zumindest`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.zumindest(times)"))
@Deprecated("Use the extension fun `zumindest`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.zumindest(times)"))
fun <T : CharSequence, S : SearchBehaviour> zumindest(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedAtLeastCheckerBuilder<T, S>
= DeprecatedAtLeastCheckerBuilder(times, builder)
@Deprecated("Use the extension fun `aberHoechstens`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("checkerBuilder.aberHoechstens(times)"))
@Deprecated("Use the extension fun `aberHoechstens`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("checkerBuilder.aberHoechstens(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> aberHoechstens(checkerBuilder: DeprecatedAtLeastCheckerBuilder<T, S>, times: Int): DeprecatedButAtMostCheckerBuilder<T, S>
= DeprecatedButAtMostCheckerBuilder(times, checkerBuilder, checkerBuilder.containsBuilder)
@Deprecated("Use the extension fun `genau`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.genau(times)"))
@Deprecated("Use the extension fun `genau`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.genau(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> genau(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedExactlyCheckerBuilder<T, S>
= DeprecatedExactlyCheckerBuilder(times, builder)
@Deprecated("Use the extension fun `hoechstens`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.hoechstens(times)"))
@Deprecated("Use the extension fun `hoechstens`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.hoechstens(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> hoechstens(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedAtMostCheckerBuilder<T, S>
= DeprecatedAtMostCheckerBuilder(times, builder)
@Deprecated("Use the extension fun `nichtOderHoechstens`. This fun is only here to retain binary compatibility; will be removed with 1.0.0", ReplaceWith("builder.nichtOderHoechstens(times)"))
@Deprecated("Use the extension fun `nichtOderHoechstens`. This fun is only here to retain binary compatibility; will be removed with 0.10.0", ReplaceWith("builder.nichtOderHoechstens(times)"))
fun <T : CharSequence, S : DeprecatedSearchBehaviour> nichtOderHoechstens(builder: DeprecatedBuilder<T, S>, times: Int): DeprecatedNotOrAtMostCheckerBuilder<T, S>
= DeprecatedNotOrAtMostCheckerBuilder(times, builder)

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("FloatingPointAssertionsKt")
@@ -22,6 +22,6 @@ import java.math.BigDecimal
* @return This plant to support a fluent API.
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0")
@Deprecated("api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 0.10.0")
fun <T : BigDecimal> Assert<T>.istMitFehlerToleranz(expected: T, tolerance: T)
= addAssertion(AssertImpl.floatingPoint.toBeWithErrorTolerance(this, expected, tolerance))

View File

@@ -1,4 +1,4 @@
@file:Suppress("DEPRECATION" /* will be removed with 1.0.0 */)
@file:Suppress("DEPRECATION" /* will be removed with 0.10.0 */)
@file:JvmMultifileClass
@file:JvmName("ThrowableAssertionsKt")
package ch.tutteli.atrium.api.cc.de_CH
@@ -15,7 +15,7 @@ import ch.tutteli.atrium.domain.creating.throwable.thrown.ThrowableThrown
*
* @throws AssertionError Might throw an [AssertionError] if the assertion made is not correct.
*/
@Deprecated("Does not add enough to be a valid alternative to the overload with assertionCreator; will be removed with 1.0.0", ReplaceWith("wirft {}"))
@Deprecated("Does not add enough to be a valid alternative to the overload with assertionCreator; will be removed with 0.10.0", ReplaceWith("wirft {}"))
inline fun <reified TExpected : Throwable> ThrowableThrown.Builder.wirft() {
wirft<TExpected> {}
}

Some files were not shown because too many files have changed in this diff Show More