Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up dependencies versions #413

Merged
merged 3 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ subprojects {

ext {
JUNIT_ENGINE_VERSION = "1.8.1"
JUNIT_JUPITER_VERSION = "5.8.1"
JQWIK_VERSION = "1.6.4"
JUNIT_JUPITER_VERSION = "5.8.2"
JQWIK_VERSION = "1.6.5"
}

dependencies {
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ dependencies {
testImplementation("net.jqwik:jqwik-api:${JQWIK_VERSION}")
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.24")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("net.jqwik:jqwik-time:${JQWIK_VERSION}")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey-autoparams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ dependencies {
testImplementation(project(":fixture-monkey-engine"))
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ dependencies {
implementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
api("net.jqwik:jqwik-engine:${JQWIK_VERSION}")

testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
12 changes: 6 additions & 6 deletions fixture-monkey-jackson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ plugins {

dependencies {
api(project(":fixture-monkey"))
api("com.fasterxml.jackson.core:jackson-databind:2.12.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.12.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.3")
api("com.fasterxml.jackson.core:jackson-databind:2.13.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.13.3")
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.3")

testRuntimeOnly(project(":fixture-monkey-engine"))
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void giveMeJsonNodeReturnsNull() {
// when
JsonNodeWrapperClass actual = sut.giveMeOne(JsonNodeWrapperClass.class);

then(actual.getValue().isNull()).isTrue();
then(actual.getValue()).isNull();
}

@Data
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey-javax-validation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ dependencies {
testImplementation("org.glassfish:jakarta.el:3.0.3")
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
8 changes: 4 additions & 4 deletions fixture-monkey-junit-jupiter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ plugins {

dependencies {
api(project(":fixture-monkey"))
api("org.junit.jupiter:junit-jupiter-api:5.8.2")
api("org.junit.jupiter:junit-jupiter-api:${JUNIT_JUPITER_VERSION}")

testImplementation(project(":fixture-monkey-engine"))
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
2 changes: 1 addition & 1 deletion fixture-monkey-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {

testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.assertj:assertj-core:3.22.0")
}

test {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package com.navercorp.fixturemonkey.kotlin

import org.assertj.core.api.BDDAssertions.then
import org.junit.jupiter.api.Test
import java.util.function.Consumer

class FixtureMonkeyBuilderExtensionsTest {

Expand All @@ -35,12 +36,14 @@ class FixtureMonkeyBuilderExtensionsTest {
}.build()
val actual = sut.giveMeOne<IntegerStringWrapperClass>()

then(actual).satisfies {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
then(actual).satisfies(
Consumer {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
}
}
}
)
}

data class IntegerStringWrapperClass(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import com.navercorp.fixturemonkey.kotlin.customizer.KArbitraryCustomizer
import net.jqwik.api.Arbitraries
import net.jqwik.api.Property
import org.assertj.core.api.BDDAssertions.then
import java.util.function.Consumer
import kotlin.reflect.KClass

class FixtureMonkeyExtensionsTest {
Expand All @@ -35,12 +36,14 @@ class FixtureMonkeyExtensionsTest {
// when
val actual = sut.giveMe<IntegerStringWrapperClass>().take(10).toList()

then(actual).hasSize(10).allSatisfy {
with(it) {
then(intValue).isBetween(Int.MIN_VALUE, Int.MAX_VALUE)
then(stringValue).isNotNull()
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(intValue).isBetween(Int.MIN_VALUE, Int.MAX_VALUE)
then(stringValue).isNotNull()
}
}
}
)
}

@Property
Expand All @@ -63,12 +66,14 @@ class FixtureMonkeyExtensionsTest {
}
).take(10).toList()

then(actual).hasSize(10).allSatisfy {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
}
}
}
)
}

@Property
Expand All @@ -78,24 +83,28 @@ class FixtureMonkeyExtensionsTest {
it?.copy(stringValue = "test_value")
}.take(10).toList()

then(actual).hasSize(10).allSatisfy {
with(it) {
then(stringValue).isEqualTo("test_value")
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(stringValue).isEqualTo("test_value")
}
}
}
)
}

@Property
fun giveMeList() {
// when
val actual = sut.giveMe<IntegerStringWrapperClass>(10)

then(actual).hasSize(10).allSatisfy {
with(it) {
then(intValue).isBetween(Int.MIN_VALUE, Int.MAX_VALUE)
then(stringValue).isNotNull()
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(intValue).isBetween(Int.MIN_VALUE, Int.MAX_VALUE)
then(stringValue).isNotNull()
}
}
}
)
}

@Property
Expand All @@ -119,12 +128,14 @@ class FixtureMonkeyExtensionsTest {
}
)

then(actual).hasSize(10).allSatisfy {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(intValue).isEqualTo(-1)
then(stringValue).isEqualTo("test_value")
}
}
}
)
}

@Property
Expand All @@ -134,11 +145,13 @@ class FixtureMonkeyExtensionsTest {
it?.copy(stringValue = "test_value")
}

then(actual).hasSize(10).allSatisfy {
with(it) {
then(stringValue).isEqualTo("test_value")
then(actual).hasSize(10).allSatisfy(
Consumer {
with(it) {
then(stringValue).isEqualTo("test_value")
}
}
}
)
}

@Property
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey-mockito/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ dependencies {
api(project(":fixture-monkey"))
api("org.mockito:mockito-core:3.9.0")

testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
10 changes: 5 additions & 5 deletions fixture-monkey-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ dependencies {
api("org.hibernate.validator:hibernate-validator:6.2.0.Final")
api("org.glassfish:jakarta.el:3.0.3")

testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.7.0")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("org.junit.jupiter:junit-jupiter-api:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down
6 changes: 3 additions & 3 deletions fixture-monkey/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ dependencies {
testRuntimeOnly(project(":fixture-monkey-engine"))
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}")
testImplementation("org.junit.platform:junit-platform-engine:${JUNIT_ENGINE_VERSION}")
testImplementation("org.assertj:assertj-core:3.18.1")
testImplementation("org.projectlombok:lombok:1.18.20")
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.projectlombok:lombok:1.18.24")
testImplementation("org.hibernate.validator:hibernate-validator:6.2.0.Final")
testImplementation("org.glassfish:jakarta.el:3.0.3")
testAnnotationProcessor("org.projectlombok:lombok:1.18.20")
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
}

editorconfig {
Expand Down