diff --git a/cloud-annotations/src/test/java/cloud/commandframework/annotations/feature/StringProcessingTest.java b/cloud-annotations/src/test/java/cloud/commandframework/annotations/feature/StringProcessingTest.java index db54276ef..b8a40c7b5 100644 --- a/cloud-annotations/src/test/java/cloud/commandframework/annotations/feature/StringProcessingTest.java +++ b/cloud-annotations/src/test/java/cloud/commandframework/annotations/feature/StringProcessingTest.java @@ -46,7 +46,6 @@ import org.junit.jupiter.api.Test; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth8.assertThat; class StringProcessingTest { diff --git a/cloud-core/src/test/java/cloud/commandframework/CommandTreeTest.java b/cloud-core/src/test/java/cloud/commandframework/CommandTreeTest.java index 6c5faa76e..1e73b0d4a 100644 --- a/cloud-core/src/test/java/cloud/commandframework/CommandTreeTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/CommandTreeTest.java @@ -53,7 +53,6 @@ import static cloud.commandframework.arguments.standard.StringParser.stringParser; import static cloud.commandframework.util.TestUtils.createManager; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth8.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.notNull; diff --git a/cloud-core/src/test/java/cloud/commandframework/ParameterInjectorRegistryTest.java b/cloud-core/src/test/java/cloud/commandframework/ParameterInjectorRegistryTest.java index d6fe682d9..e50cb84f5 100644 --- a/cloud-core/src/test/java/cloud/commandframework/ParameterInjectorRegistryTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/ParameterInjectorRegistryTest.java @@ -44,7 +44,7 @@ import org.junit.jupiter.api.Test; import static cloud.commandframework.util.TestUtils.createManager; -import static com.google.common.truth.Truth8.assertThat; +import static com.google.common.truth.Truth.assertThat; class ParameterInjectorRegistryTest { diff --git a/cloud-core/src/test/java/cloud/commandframework/ParserRegistryTest.java b/cloud-core/src/test/java/cloud/commandframework/ParserRegistryTest.java index 85edf5a91..f731666fb 100644 --- a/cloud-core/src/test/java/cloud/commandframework/ParserRegistryTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/ParserRegistryTest.java @@ -40,7 +40,6 @@ import org.junit.jupiter.api.Test; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth8.assertThat; public class ParserRegistryTest { diff --git a/cloud-core/src/test/java/cloud/commandframework/help/StandardHelpHandlerTest.java b/cloud-core/src/test/java/cloud/commandframework/help/StandardHelpHandlerTest.java index ed6aeaec4..cbf548bd3 100644 --- a/cloud-core/src/test/java/cloud/commandframework/help/StandardHelpHandlerTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/help/StandardHelpHandlerTest.java @@ -41,7 +41,6 @@ import static cloud.commandframework.arguments.standard.StringParser.stringParser; import static cloud.commandframework.util.TestUtils.createManager; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth8.assertThat; class StandardHelpHandlerTest { diff --git a/cloud-core/src/test/java/cloud/commandframework/issue/Issue321.java b/cloud-core/src/test/java/cloud/commandframework/issue/Issue321.java index e530393df..23c1468fb 100644 --- a/cloud-core/src/test/java/cloud/commandframework/issue/Issue321.java +++ b/cloud-core/src/test/java/cloud/commandframework/issue/Issue321.java @@ -32,7 +32,7 @@ import static cloud.commandframework.arguments.standard.StringArrayParser.flagYieldingStringArrayParser; import static cloud.commandframework.util.TestUtils.createManager; -import static com.google.common.truth.Truth8.assertThat; +import static com.google.common.truth.Truth.assertThat; /** * Test for https://github.com/Incendo/cloud/issues/321. diff --git a/cloud-core/src/test/java/cloud/commandframework/keys/CloudKeyContainerTest.java b/cloud-core/src/test/java/cloud/commandframework/keys/CloudKeyContainerTest.java index 7b1141729..52a82afb2 100644 --- a/cloud-core/src/test/java/cloud/commandframework/keys/CloudKeyContainerTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/keys/CloudKeyContainerTest.java @@ -32,7 +32,6 @@ import static cloud.commandframework.keys.CloudKey.cloudKey; import static cloud.commandframework.util.TestUtils.createManager; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth8.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; /** diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cb7280dcb..7ba62bb31 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -32,7 +32,7 @@ jupiterEngine = "5.10.1" mockitoCore = "4.11.0" mockitoKotlin = "4.1.0" mockitoJupiter = "4.11.0" -truth = "1.2.0" +truth = "1.3.0" compileTesting = "0.21.0" # build-logic @@ -67,7 +67,6 @@ mockitoCore = { group = "org.mockito", name = "mockito-core", version.ref = "moc mockitoKotlin = { group = "org.mockito.kotlin", name = "mockito-kotlin", version.ref = "mockitoKotlin" } mockitoJupiter = { group = "org.mockito", name = "mockito-junit-jupiter", version.ref = "mockitoJupiter" } truth = { group = "com.google.truth", name = "truth", version.ref = "truth" } -truthJava8 = { group = "com.google.truth.extensions", name = "truth-java8-extension", version.ref = "truth" } compileTesting = { group = "com.google.testing.compile", name = "compile-testing", version.ref = "compileTesting" } # build-logic @@ -88,5 +87,4 @@ baseTestingDependencies = [ "mockitoKotlin", "mockitoJupiter", "truth", - "truthJava8", ]