aosp12/external/guava/guava-testlib
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
src/com/google/common init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
test/com/google/common init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
pom.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

Guava Testlib: Google Testing Libraries for Java

Guava testlib is a set of Java classes for more convenient unit testing.

Adding Guava Testlib to your build

Guava testlib's Maven group ID is com.google.guava and its artifact ID is guava-testlib.

To add a dependency on Guava testlib using Maven, use the following:

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava-testlib</artifactId>
  <version>30.0-jre</version>
  <scope>test</scope>
</dependency>

To add a dependency using Gradle:

dependencies {
  test 'com.google.guava:guava-testlib:30.0-jre'
}

IMPORTANT WARNINGS

  1. APIs marked with the @Beta annotation at the class or method level are subject to change. They can be modified in any way, or even removed, at any time. If your code is a library itself (i.e. it is used on the CLASSPATH of users outside your own control), you should not use beta APIs, unless you repackage them. If your code is a library, we strongly recommend using the Guava Beta Checker to ensure that you do not use any @Beta APIs!