diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-02-13 09:53:57 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-02-13 09:55:42 -0800 |
commit | cc9eec1a076624628d3d582e7c679f0861ecb39c (patch) | |
tree | e73a66f9a22e790080cd67fb91fdf6da3f26285c /core/pom.xml | |
parent | e5690a502f04ab948cc8f8f7fd04be55498ea0cc (diff) | |
download | spark-cc9eec1a076624628d3d582e7c679f0861ecb39c.tar.gz spark-cc9eec1a076624628d3d582e7c679f0861ecb39c.tar.bz2 spark-cc9eec1a076624628d3d582e7c679f0861ecb39c.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
(cherry picked from commit 077eec2d9dba197f51004ee4a322d0fa71424ea0)
Signed-off-by: Andrew Or <andrew@databricks.com>
Diffstat (limited to 'core/pom.xml')
-rw-r--r-- | core/pom.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/pom.xml b/core/pom.xml index c86d118c1c..aca0f58865 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -330,16 +330,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.easymock</groupId> - <artifactId>easymockclassextension</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> |