aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2015-02-13 09:53:57 -0800
committerAndrew Or <andrew@databricks.com>2015-02-13 09:55:36 -0800
commit077eec2d9dba197f51004ee4a322d0fa71424ea0 (patch)
treeaad94c050180d590c93e85cd6d691f78a27f9dd3 /pom.xml
parentfc6d3e796a3c600e2f7827562455d555e59775ae (diff)
downloadspark-077eec2d9dba197f51004ee4a322d0fa71424ea0.tar.gz
spark-077eec2d9dba197f51004ee4a322d0fa71424ea0.tar.bz2
spark-077eec2d9dba197f51004ee4a322d0fa71424ea0.zip
[SPARK-5735] Replace uses of EasyMock with Mockito
This patch replaces all uses of EasyMock with Mockito. There are two motivations for this: 1. We should use a single mocking framework in our tests in order to keep things consistent. 2. EasyMock may be responsible for non-deterministic unit test failures due to its Objensis dependency (see SPARK-5626 for more details). Most of these changes are fairly mechanical translations of Mockito code to EasyMock, although I made a small change that strengthens the assertions in one test in KinesisReceiverSuite. Author: Josh Rosen <joshrosen@databricks.com> Closes #4578 from JoshRosen/SPARK-5735-remove-easymock and squashes the following commits: 0ab192b [Josh Rosen] Import sorting plus two minor changes to more closely match old semantics. 977565b [Josh Rosen] Remove EasyMock from build. fae1d8f [Josh Rosen] Remove EasyMock usage in KinesisReceiverSuite. 7cca486 [Josh Rosen] Remove EasyMock usage in MesosSchedulerBackendSuite fc5e94d [Josh Rosen] Remove EasyMock in CacheManagerSuite
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml13
1 files changed, 0 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index 56e37d4226..53372d5cfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -620,19 +620,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymockclassextension</artifactId>
- <version>3.1</version>
- <scope>test</scope>
- </dependency>
- <!-- Needed by cglib which is needed by easymock. -->
- <dependency>
- <groupId>asm</groupId>
- <artifactId>asm</artifactId>
- <version>3.3.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.0</version>