Registry / testing / truth-java8-extension

truth-java8-extension

JSON →
library1.4.5javamavenunverified

Obsolete artifact that pulls in the main Truth library; assertions for Java 8 types are now part of the main artifact.

<dependency> <groupId>com.google.truth.extensions</groupId> <artifactId>truth-java8-extension</artifactId> <version>1.4.5</version> </dependency>
INSTALL
IMPORT
SIG · TRUTH-JAVA8-EXTENS
T
truth-java8-extension
testingjavav1.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Truth8
✓ com.google.common.truth.Truth8

Using Truth8 assertions for Java 8 Optional types.

import static com.google.common.truth.Truth8.assertThat; import java.util.Optional; public class Example { public void test() { assertThat(Optional.of("hello")).isPresent(); } }
Debug
Known issues
gotchaThis artifact is obsolete; use the main 'truth' artifact directly.
fix
Replace dependency with com.google.truth:truth:1.4.5.
affects: >=1.4.0
Upgrade
Version history
1.4.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
truth-java8-extension — mvn dependency:get truth-java8-extension · libregistry