Skip to content

Commit

Permalink
monospace length
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Dec 27, 2024
1 parent 7a1580d commit 8b385b7
Show file tree
Hide file tree
Showing 249 changed files with 3,903 additions and 2,127 deletions.
596 changes: 298 additions & 298 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//TODO 1.3.0 remove again and switch to core
//@file:Suppress("DEPRECATION")

package ch.tutteli.atrium.api.fluent.en_GB

import ch.tutteli.atrium._coreAppend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object ArrayAsListExpectationsSpec : ch.tutteli.atrium.specs.integration.ArrayAs
Expect<BooleanArray>::asList
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<Array<Int>> = notImplemented()
var a2: Expect<Array<out Int>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CharSequenceToContainNotToContainExpectationsSpec : Spek({
fun2<CharSequence, Any, Array<out Any>>(Expect<CharSequence>::notToContain)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
val a1: Expect<String> = notImplemented()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class CharSequenceToContainSpecBase {
protected val values = CharSequenceContains.CheckerStep<CharSequence, NoOpSearchBehaviour>::values.name
protected val elementsOf = CharSequenceContains.EntryPointStep<String, IgnoringCaseSearchBehaviour>::elementsOf.name

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
val a1: Expect<String> = notImplemented()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object CollectionExpectationsSpec : ch.tutteli.atrium.specs.integration.Collecti
property<Collection<Int>, Int>(Expect<Collection<Int>>::size),
fun1<Collection<Int>, Expect<Int>.() -> Unit>(Expect<Collection<Int>>::size)
) {
@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<List<Int>> = notImplemented()
var a1b: Expect<Set<Int?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class FeatureExpectationsBoundedReferenceSpec : ch.tutteli.atrium.specs.integrat
val f5EmptyAssertionCreator: F = { feature({ f(it::return5, "a", 1, true, 1.2, 'b') }) {} }
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
val a1: Expect<Collection<Int>> = notImplemented()
val a1b: Expect<Collection<Int?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class FeatureExpectationsClassReferenceSpec : ch.tutteli.atrium.specs.integratio
val f5EmptyAssertionCreator: F = { feature(TestData::return5, "a", 1, true, 1.2, 'b') {} }
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
val a1: Expect<Collection<Int>> = notImplemented()
val a1b: Expect<Collection<Int?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object IterableExpectationsSpec : ch.tutteli.atrium.specs.integration.IterableEx
fun1<Iterable<Int>, Expect<Int>.() -> Unit>(Expect<Iterable<Int>>::last),
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<List<Double>> = notImplemented()
var a1b: Expect<Set<Double?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class IterableNotToContainEntriesExpectationsSpec :
else expect.notToContain.entries(a, *aX)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object IterableNotToHaveElementsOrAllExpectationsSpec : ch.tutteli.atrium.specs.
fun1(Expect<Iterable<Double?>>::notToHaveElementsOrAll).withNullableSuffix()
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class IterableNotToHaveElementsOrAnyExpectationsSpec : ch.tutteli.atrium.specs.i
fun1(Expect<Iterable<Double?>>::notToHaveElementsOrAny).withNullableSuffix()
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class IterableNotToHaveElementsOrNoneExpectationsSpec : ch.tutteli.atrium.specs.
fun1(Expect<Iterable<Double?>>::notToHaveElementsOrNone).withNullableSuffix()
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class IterableToContainInAnyOrderAtLeast1ElementsOfExpectationsSpec : Spek({
): Expect<Iterable<Double?>> = expect.toContainElementsOf(sequenceOf(a, *aX).asIterable())
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class IterableToContainInAnyOrderAtLeast1EntriesExpectationsSpec : Spek({
else expect.toContain.inAnyOrder.atLeast(1).entries(a, *aX)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class IterableToContainInAnyOrderAtLeast1ValuesExpectationsSpec : Spek({
else expect.toContain.inAnyOrder.atLeast(1).values(a, *aX)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class IterableToContainInAnyOrderAtMostValuesExpectationsSpec :
"use $exactly($times) instead of $atMost($times); $atMost($times) defines implicitly $atLeast($times) as well"
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class IterableToContainInAnyOrderExactlyValuesExpectationsSpec :
private fun getErrorMsgNotToContain(times: Int) = "use $notToContain instead of $exactly($times)"
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class IterableToContainInAnyOrderNotOrAtMostValuesExpectationsSpec :
private fun getErrorMsgNotToContain(times: Int) = "use $notToContain instead of $notOrAtMost($times)"
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class IterableToContainInAnyOrderOnlyElementsOfExpectationsSpec : Spek({
} else expect.toContain.inAnyOrder.only.elementsOf(listOf(a, *aX), report = report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class IterableToContainInAnyOrderOnlyEntriesExpectationsSpec :
} else expect.toContain.inAnyOrder.only.entries(a, *aX, report = report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class IterableToContainInAnyOrderOnlyValuesExpectationsSpec :
} else expect.toContain.inAnyOrder.only.values(a, *aX, report = report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class IterableToContainInOrderOnlyElementsOfExpectationsSpec : Spek({
): Expect<Iterable<Double?>> = expect.toContainExactlyElementsOf(sequenceOf(a, *aX).asIterable(), report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class IterableToContainInOrderOnlyEntriesExpectationsSpec : Spek({
): Expect<Iterable<Double?>> = expect.toContainExactly(a, *aX, report = report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class IterableToContainInOrderOnlyGroupedEntriesExpectationsSpec :
}
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class IterableToContainInOrderOnlyGroupedValuesExpectationsSpec :
}
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class IterableToContainInOrderOnlyValuesExpectationsSpec : Spek({
} else expect.toContain.inOrder.only.values(a, *aX, report = report)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class IterableToContainNotValuesExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object IterableToHaveElementsAndAllExpectationsSpec : ch.tutteli.atrium.specs.in
fun1(Expect<Iterable<Double?>>::toHaveElementsAndAll).withNullableSuffix()
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class IterableToHaveElementsAndAnyExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class IterableToHaveElementsAndNoneExpectationsSpec : Spek({
expect.notToContain.entry(a)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var list: Expect<List<Number>> = notImplemented()
var nList: Expect<Set<Number?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object ListExpectationsSpec : Spek({
}
})

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<AbstractList<Int>> = notImplemented()
var a1b: Expect<MutableList<Int?>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object MapAsEntriesExpectationsSpec : ch.tutteli.atrium.specs.integration.MapAsE
fun1<Map<String, Int>, Expect<Set<Map.Entry<String, Int>>>.() -> Unit>(Expect<Map<String, Int>>::asEntries)
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object MapEntryExpectationsSpec : ch.tutteli.atrium.specs.integration.MapEntryEx
property<Map.Entry<String?, Int?>, Int?>(Expect<Map.Entry<String?, Int?>>::value).withNullableSuffix(),
fun1<Map.Entry<String?, Int?>, Expect<Int?>.() -> Unit>(Expect<Map.Entry<String?, Int?>>::value).withNullableSuffix()
) {
@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<Map.Entry<String, Int>> = notImplemented()
var a2: Expect<Map.Entry<String?, Int>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class MapExpectationsSpec : ch.tutteli.atrium.specs.integration.MapExpectationsS

}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class MapToContainInAnyOrderEntriesOfExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MapToContainInAnyOrderKeyValueExpectationsSpec : Spek({
}
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class MapToContainInAnyOrderKeyValuePairsExpectationsSpec : Spek({
else expect.toContain.inAnyOrder.entries(a, *aX)
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class MapToContainInAnyOrderOnlyEntriesOfExpectationsSpec : Spek({



@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class MapToContainInAnyOrderOnlyKeyValueExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class MapToContainInAnyOrderOnlyKeyValuePairsExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MapToContainInOrderOnlyEntriesOfExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MapToContainInOrderOnlyKeyValueExpectationsSpec : Spek({
}
}

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MapToContainInOrderOnlyKeyValuePairsExpectationsSpec : Spek({
}


@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var map: Expect<Map<Number, CharSequence>> = notImplemented()
var subMap: Expect<LinkedHashMap<out Number, String>> = notImplemented()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PairExpectationsSpec : ch.tutteli.atrium.specs.integration.PairExpectation
fun1<Pair<String?, Int?>, Expect<Int?>.() -> Unit>(Expect<Pair<String?, Int?>>::second)
) {

@Suppress("unused", "UNUSED_VALUE")
@Suppress("unused")
private fun ambiguityTest() {
var a1: Expect<Pair<String, Int>> = notImplemented()
var a2: Expect<Pair<String?, Int>> = notImplemented()
Expand Down
Loading

0 comments on commit 8b385b7

Please sign in to comment.