From 4f3ebc131bbbe17d441be7d8de9c0cc1bdb19aa5 Mon Sep 17 00:00:00 2001
From: Todd Lipcon <todd@cloudera.com>
Date: Thu, 21 Jan 2010 12:53:04 -0800
Subject: [PATCH] Add mockito to 0.20 branch for easier unit testing of HDFS stability patches.

---
 .eclipse.templates/.classpath |    1 +
 ivy.xml                       |    7 ++++++-
 ivy/libraries.properties      |    2 ++
 3 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/.eclipse.templates/.classpath b/.eclipse.templates/.classpath
index aad1e04..cd51c79 100644
--- a/.eclipse.templates/.classpath
+++ b/.eclipse.templates/.classpath
@@ -29,6 +29,7 @@
 	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/jets3t-0.6.1.jar"/>
 	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/junit-3.8.1.jar"/>
 	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/log4j-1.2.15.jar"/>
+	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/mockito-all-1.8.0.jar"/>
 	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/oro-2.0.8.jar"/>
   	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/jetty-6.1.14.jar"/>
   	<classpathentry kind="lib" path="build/ivy/lib/Hadoop/common/jetty-util-6.1.14.jar"/>
diff --git a/ivy.xml b/ivy.xml
index 29c32fe..33e7550 100644
--- a/ivy.xml
+++ b/ivy.xml
@@ -260,6 +260,11 @@
       name="jackson-mapper-asl"
       rev="1.0.1"
       conf="common->default"/>
+    <dependency org="org.mockito"
+      name="mockito-all"
+      rev="${mockito-all.version}"
+      conf="common->master"/>
+
     </dependencies>
-  
+
 </ivy-module>
diff --git a/ivy/libraries.properties b/ivy/libraries.properties
index 241aab6..7a33c58 100644
--- a/ivy/libraries.properties
+++ b/ivy/libraries.properties
@@ -58,6 +58,8 @@ kfs.version=0.1
 log4j.version=1.2.15
 lucene-core.version=2.3.1
 
+mockito-all.version=1.8.0
+
 oro.version=2.0.8
 
 rats-lib.version=0.5.1
-- 
1.6.0.4

