Guava Testing Library.
Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself..
Here is the list of declaration for guava-testlib. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId> <version>14.0.1</version> </dependency>
If you think this Maven repository POM file listing for guava-testlib is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The guava-testlib-14.0.1 has 3 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Testing Coding Style | jsr305 1.3.9 JSR305 Annotations for Findbugs | 150 |
JUnit | junit 4.8.2 JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java. | 919 |
The following plugins are used in the guava-testlib-14.0.1.jar
The following packages are defined in the guava-testlib-14.0.1.jar
com.google.common.collect.testing com.google.common.collect.testing.features com.google.common.collect.testing.google com.google.common.collect.testing.testers com.google.common.testing com.google.common.util.concurrent.testing
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.guava</groupId> <artifactId>guava-parent</artifactId> <version>14.0.1</version> </parent> <artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>1.3.9</version> <scope>provided</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>guava</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> </dependency> <dependency> <groupId>org.truth0</groupId> <artifactId>truth</artifactId> <version>0.10</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <phase>post-integration-test</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <executions> <execution> <id>attach-docs</id> <phase>post-integration-test</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> </plugins> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>test</testSourceDirectory> </build> </project>