diff --git a/README.md b/README.md index 34a29ed..1fbc954 100644 --- a/README.md +++ b/README.md @@ -659,6 +659,10 @@ Contributors: Timon Kanters, Jeroen Erik Jensen, Krzysztof Karczewski ## Release notes +### 1.8.4 + +* Dependency updates in `pom.xml`. No code changes. + ### 1.8.3 * Introduce caching of trace event method annotations in the `Tracer.invoke()` function. diff --git a/extensions/pom.xml b/extensions/pom.xml index 28aa5db..39754bf 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -24,7 +24,7 @@ com.tomtom.kotlin kotlin-tools - 1.8.3 + 1.8.4 extensions diff --git a/extensions/src/test/java/com/tomtom/kotlin/extensions/IfExtensionsTest.kt b/extensions/src/test/java/com/tomtom/kotlin/extensions/IfExtensionsTest.kt index bcb69d7..fadaf26 100644 --- a/extensions/src/test/java/com/tomtom/kotlin/extensions/IfExtensionsTest.kt +++ b/extensions/src/test/java/com/tomtom/kotlin/extensions/IfExtensionsTest.kt @@ -29,10 +29,7 @@ internal class IfExtensionsTest { fun `ifTrue on true`() { // GIVEN val sut = true - // TODO: replace with `spyk({ 1 })` when https://github.com/mockk/mockk/issues/1033 is fixed. - val ifTrueBlock: () -> Int = spyk { - every { this@spyk.invoke() } answers { 1 } - } + val ifTrueBlock = spyk({ 1 }) // WHEN val result = sut.ifTrue(ifTrueBlock) @@ -46,10 +43,7 @@ internal class IfExtensionsTest { fun `ifTrue on false`() { // GIVEN val sut = false - // TODO: replace with `spyk({ 1 })` when https://github.com/mockk/mockk/issues/1033 is fixed. - val ifTrueBlock: () -> Int = spyk { - every { this@spyk.invoke() } answers { 1 } - } + val ifTrueBlock = spyk({ 1 }) // WHEN val result = sut.ifTrue(ifTrueBlock) @@ -63,10 +57,7 @@ internal class IfExtensionsTest { fun `ifTrue on null`() { // GIVEN val sut: Boolean? = null - // TODO: replace with `spyk({ 1 })` when https://github.com/mockk/mockk/issues/1033 is fixed. - val ifTrueBlock: () -> Int = spyk { - every { this@spyk.invoke() } answers { 1 } - } + val ifTrueBlock = spyk({ 1 }) // WHEN val result = sut.ifTrue(ifTrueBlock) @@ -100,10 +91,7 @@ internal class IfExtensionsTest { fun `ifNull on null`() { // GIVEN val sut: Int? = null - // TODO: replace with `spyk({ 1 })` when https://github.com/mockk/mockk/issues/1033 is fixed. - val ifNullBlock: () -> Int = spyk { - every { this@spyk.invoke() } answers { 1 } - } + val ifNullBlock = spyk({ 1 }) // WHEN val result = sut.ifNull(ifNullBlock) @@ -121,10 +109,7 @@ internal class IfExtensionsTest { fun `ifNull with different types`() { // GIVEN val sut = A - // TODO: replace with `spyk({ B })` when https://github.com/mockk/mockk/issues/1033 is fixed. - val ifNullBlock: () -> Base = spyk { - every { this@spyk.invoke() } answers { B } - } + val ifNullBlock = spyk({ B }) // WHEN val result: Base = sut.ifNull(ifNullBlock) diff --git a/memoization/pom.xml b/memoization/pom.xml index 4248866..f009ac2 100644 --- a/memoization/pom.xml +++ b/memoization/pom.xml @@ -24,7 +24,7 @@ com.tomtom.kotlin kotlin-tools - 1.8.3 + 1.8.4 memoization diff --git a/pom.xml b/pom.xml index 5474e7c..cb5e0b6 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ com.tomtom.kotlin kotlin-tools - 1.8.3 + 1.8.4 pom Kotlin Tools @@ -95,25 +95,26 @@ UTF-8 - 1.8.10 + 1.9.10 2.8.2 3.0.1 - 3.4.2 + 3.4.5 3.2.1 - 3.1.2 + 3.2.1 1.6.8 - 3.14 + 3.15.2 4.13.2 - 5.9.2 - 1.8.10 - 1.8.10 - 1.8.10 + 5.10.0 + 1.9.10 + 1.9.10 + 1.9.10 0.7.3 - 1.6.3-native-mt - 5.2.0 - 1.13.4 + 1.7.3 + 5.6.0 + 1.13.7 + 3.2.1 @@ -188,7 +189,7 @@ org.apache.maven.surefire surefire-junit4 - 3.1.2 + ${surefire-junit4-plugin.version} diff --git a/traceevents/pom.xml b/traceevents/pom.xml index 015f951..3b41120 100644 --- a/traceevents/pom.xml +++ b/traceevents/pom.xml @@ -24,7 +24,7 @@ com.tomtom.kotlin kotlin-tools - 1.8.3 + 1.8.4 traceevents diff --git a/uid/pom.xml b/uid/pom.xml index f394920..84e8815 100644 --- a/uid/pom.xml +++ b/uid/pom.xml @@ -24,7 +24,7 @@ com.tomtom.kotlin kotlin-tools - 1.8.3 + 1.8.4 uid