EasyMock.
EasyMock provides an easy way to create Mock Objects for interfaces by generating them on the fly using Java's proxy mechanism.
Here is the list of declaration for easymock. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>2.4</version> </dependency>
If you think this Maven repository POM file listing for easymock is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:MIT License
URL: http://www.easymock.org/License.html.
The easymock-2.4 has 1 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 |
---|---|---|
JUnit | junit 4.4 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 301 |
The following table lists the most popular artifacts which are depending on easymock-2.4. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Database | jdbi 2.27 jDBI is designed to provide convenient tabular data access in Java(tm). It uses the Java collections framework for query results, provides a convenient means of externalizing sql statements, and provides named parameter support for any database being used. | 13 |
Testing Mock | fest-mocks 1.1 Utilities that simplify usage of Mock Objects | 6 |
Development | tiles-api 2.1.2 Tiles APIs, containing interfaces and classes to interact with Tiles. | 29 |
Network | netty 3.1.5.GA The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enab... | 6 |
Log | logback-core 1.0.0 Logback: the generic, reliable, fast and flexible logging library for Java. | 12 |
Servlet | tiles-servlet 2.1.2 Tiles servlet support, to enable use of Tiles inside a Servlet environment. | 30 |
Testing | hudson-test-harness 1.318 Unit test harness (src/main) and Unit tests for Hudson core (src/test) | 8 |
OSGi | org.apache.felix.bundlerepository 1.6.0 Bundle repository service. | 13 |
Testing Mock | easymockclassextension 2.4 The EasyMock Class Extension allows to generate Mock Objects for classes | 60 |
Database | jdbi 2.39.1 jDBI is designed to provide convenient tabular data access in Java(tm). It uses the Java collections framework for query results, provides a convenient means of externalizing sql statements, and provides named parameter support for any database being used. | 5 |
Log | logback-core 1.0.7 logback-core module | 37 |
Development | tiles-core 2.1.2 Tiles Core Library, including basic implementation of the APIs. | 30 |
Log | logback-core 0.9.29 Logback: the generic, reliable, fast and flexible logging library for Java. | 15 |
The following plugins are used in the easymock-2.4.jar
The following packages are defined in the easymock-2.4.jar
org.easymock org.easymock.internal org.easymock.internal.matchers
Here is the content of the POM file.
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>2.4</version>
<packaging>jar</packaging>
<name>EasyMock</name>
<url>http://www.easymock.org</url>
<description>EasyMock provides an easy way to create Mock Objects for interfaces by generating them on the fly using Java's proxy mechanism</description>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.easymock.org/License.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<system>SourceForge</system>
<url>http://sourceforge.net/tracker/?group_id=82958</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>User List</name>
<subscribe>From Yahoo groups</subscribe>
<unsubscribe>easymock-unsubscribe@yahoogroups.com</unsubscribe>
<post>easymock@yahoogroups.com</post>
<archive>http://tech.groups.yahoo.com/group/easymock/</archive>
</mailingList>
</mailingLists>
<scm>
<url>http://easymock.cvs.sourceforge.net/easymock/</url>
<developerConnection>scm:cvs:ext:username@easymock.cvs.sourceforge.net:/cvsroot/easymock:easymock</developerConnection>
<connection>scm:cvs:pserver:anonymous@easymock.cvs.sourceforge.net:/cvsroot/easymock:easymock</connection>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
<testSourceDirectory>${basedir}/src-tests</testSourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<index>true</index>
<manifestEntries>
<EasyMock-Version>${pom.version}</EasyMock-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- plugin>
<artifactId>maven-clover-plugin</artifactId>
<version>2.4</version>
<configuration>
<licenseLocation>${basedir}/lib/clover.license</licenseLocation>
<jdk>1.5</jdk>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<configuration>
<targetPercentage>100%</targetPercentage>
</configuration>
<goals>
<goal>instrument</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin-->
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>*.internal</excludePackageNames>
<bottom><![CDATA[<i>Copyright © 2001-2008 OFFIS, Tammo Freese. This documentation is provided under the terms of the MIT licence.</i>]]></bottom>
</configuration>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>easymock-release</id>
<name>EasyMock Repository</name>
<url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository</url>
</repository>
<snapshotRepository>
<id>easymock-snapshot</id>
<name>EasyMock Snapshot Repository</name>
<url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository-snapshot</url>
</snapshotRepository>
</distributionManagement>
</project>