EasyMock.
EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly.
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>3.1</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.
The easymock-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 |
---|---|---|
Byte Code | cglib-nodep 2.2.2 Code generation library with shaded ASM dependecies | 60 |
Development | objenesis 1.2 A library for instantiating Java objects | 72 |
The following table lists the most popular artifacts which are depending on easymock-3.1. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Web Service | restli-client 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-server 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Android | ddmlib 22.2.0 Library providing APIs to talk to Android devices | 5 |
Web Service | restli-server 1.10.6 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Network | netty 3.6.6.Final 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... | 36 |
Web Service | restli-server 1.9.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Network | netty 3.9.0.Final 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... | 26 |
Web Service | restli-client 1.9.1 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Network | netty 3.6.3.Final 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... | 17 |
Network | netty 3.2.7.Final 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... | 8 |
Web Service | restli-server 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | d2 1.15.2 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Web Service | d2 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Business | camel-core 2.11.0 The Core Camel Java DSL based router | 13 |
Web Service | restli-client 1.20.0 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-client 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Network | netty 3.7.0.Final 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... | 9 |
Network | netty 3.6.4.Final 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... | 5 |
Network | netty 3.6.2.Final 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... | 12 |
Network | netty 3.5.1.Final 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... | 5 |
Network | netty 3.5.0.Final 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 |
Web Service | restli-server 1.9.40 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Network | netty 3.5.9.Final 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... | 8 |
Network | ribbon-httpclient 0.3.12 ribbon-httpclient developed by Netflix | 15 |
Network | netty 3.8.0.Final 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... | 24 |
Data Structure | commons-email 1.3 Commons-Email aims to provide an API for sending email. It is built on top of the JavaMail API, which it aims to simplify. | 10 |
Business | camel-core 2.11.1 The Core Camel Java DSL based router | 7 |
Network | ribbon-core 0.3.11 ribbon-core developed by Netflix | 5 |
Network | netty 3.4.6.Final 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... | 9 |
Network | netty 3.5.7.Final 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... | 8 |
Web Service | restli-server 1.15.7 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Network | netty 3.9.4.Final 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... | 14 |
Web Service | restli-client 1.15.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Inversion of Control | ness-lifecycle 1.0.1 Guice based lifecycle. | 6 |
Network | netty 3.5.8.Final 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... | 12 |
Network | netty 3.6.5.Final 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... | 9 |
Network | ribbon-core 0.3.10 ribbon-core developed by Netflix | 5 |
Web Service | restli-server 1.15.9 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 8 |
Web Service | restli-server 1.9.5 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 6 |
Web Service | restli-server 1.9.23 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
Data Structure | commons-configuration 1.8 Tools to assist in the reading of configuration/preferences files in various formats | 72 |
Data Structure | commons-configuration 1.9 Tools to assist in the reading of configuration/preferences files in various formats | 15 |
The following plugins are used in the easymock-3.1.jar
The following packages are defined in the easymock-3.1.jar
org.easymock org.easymock.internal org.easymock.internal.matchers
Here is the content of the POM file.
<?xml version="1.0" encoding="ISO-8859-1"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.easymock</groupId> <artifactId>easymock-parent</artifactId> <version>3.1</version> <relativePath>..</relativePath> </parent> <artifactId>easymock</artifactId> <packaging>jar</packaging> <name>EasyMock</name> <description>EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly</description> <inceptionYear>2001</inceptionYear> <organization> <name>OFFIS, Tammo Freese, Henri Tremblay</name> </organization> <dependencies> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>1.2</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>${basedir}/src/samples/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Export-Package>org.easymock.internal.*;poweruser=true;mandatory:=poweruser, org.easymock</Export-Package> <Import-Package>net.sf.cglib.core;resolution:=optional,net.sf.cglib.proxy;resolution:=optional,net.sf.cglib.reflect;resolution:=optional,org.easymock,org.easymock.internal;poweruser=true,org.objenesis;resolution:=optional</Import-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>prepare-package</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>fullBuild</id> <build> <plugins> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-clover2-plugin</artifactId> <configuration> <licenseLocation>${basedir}/clover.license</licenseLocation> <targetPercentage>100.00%</targetPercentage> <generateHtml>true</generateHtml> <generateXml>false</generateXml> <jdk>1.5</jdk> <excludes> <exclude>**/org/easymock/tests/IMethods.java</exclude> <exclude>**/org/easymock/tests/IVarArgs.java</exclude> <exclude>**/org/easymock/tests/Util.java</exclude> <exclude>**/org/easymock/samples/*.java</exclude> </excludes> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>instrument</goal> <goal>clover</goal> <goal>check</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-resources</artifactId> <version>1.0-alpha-7</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Run the tests with JDK 1.5 to be sure EasyMock is compliant --> <jvm>${jdk1_5.jvm}</jvm> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> </plugin> </plugins> </build> </profile> </profiles> </project>