EqualsVerifier.
EqualsVerifier can be used in JUnit 4 unit tests to verify whether the contract for the equals and hashCode methods is met..
Here is the list of declaration for equalsverifier. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>nl.jqno.equalsverifier</groupId> <artifactId>equalsverifier</artifactId> <version>1.3.1</version> </dependency>
If you think this Maven repository POM file listing for equalsverifier is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The equalsverifier-1.3.1 has 2 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 |
---|---|---|
Development | objenesis 1.1 A library for instantiating Java objects | 18 |
Byte Code | cglib-nodep 2.2 Code generation library with shaded ASM dependecies | 283 |
The following packages are defined in the equalsverifier-1.3.1.jar
nl.jqno.equalsverifier nl.jqno.equalsverifier.util nl.jqno.equalsverifier.util.exceptions
Here is the content of the POM file.
<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> <groupId>nl.jqno.equalsverifier</groupId> <artifactId>equalsverifier</artifactId> <name>EqualsVerifier</name> <version>1.3.1</version> <description>EqualsVerifier can be used in JUnit 4 unit tests to verify whether the contract for the equals and hashCode methods is met.</description> <packaging>jar</packaging> <url>http://code.google.com/p/equalsverifier/</url> <scm> <url>http://equalsverifier.googlecode.com/svn/</url> <connection>scm:svn:http://equalsverifier.googlecode.com/svn/</connection> </scm> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <dependencies> <dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2</version> </dependency> </dependencies> </project>