hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r803193 - in /hadoop/mapreduce/trunk: ./ src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/
Date Tue, 11 Aug 2009 16:30:15 GMT
Author: johan
Date: Tue Aug 11 16:30:14 2009
New Revision: 803193

URL: http://svn.apache.org/viewvc?rev=803193&view=rev
Log:
MAPREDUCE-799. Fixes so all of the MRUnit self-tests run. Contributed by Aaron Kimball.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapDriver.java
    hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapReduceDriver.java
    hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestReduceDriver.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=803193&r1=803192&r2=803193&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Tue Aug 11 16:30:14 2009
@@ -351,3 +351,6 @@
     MAPREDUCE-805. Fixes some deadlocks in the JobTracker due to the fact
     the JobTracker lock hierarchy wasn't maintained in some JobInProgress
     method calls. (Amar Kamat via ddas)
+    
+    MAPREDUCE-799. Fixes so all of the MRUnit self-tests run.
+    (Aaron Kimball via johan)    

Modified: hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapDriver.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapDriver.java?rev=803193&r1=803192&r2=803193&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapDriver.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapDriver.java
Tue Aug 11 16:30:14 2009
@@ -60,14 +60,14 @@
   }
 
   @Test
-  public void TesttestRun1() {
+  public void testTestRun1() {
     driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("foo"), new Text("bar"))
             .runTest();
   }
 
   @Test
-  public void TesttestRun2() {
+  public void testTestRun2() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
             .runTest();
@@ -78,7 +78,7 @@
   }
 
   @Test
-  public void TesttestRun3() {
+  public void testTestRun3() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("foo"), new Text("bar"))
@@ -91,7 +91,7 @@
   }
 
   @Test
-  public void TesttestRun4() {
+  public void testTestRun4() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("foo"), new Text("bar"))
@@ -104,7 +104,7 @@
 
   }
   @Test
-  public void TesttestRun5() {
+  public void testTestRun5() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("foo"), new Text("somethingelse"))
@@ -116,7 +116,7 @@
   }
 
   @Test
-  public void TesttestRun6() {
+  public void testTestRun6() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
               .withOutput(new Text("someotherkey"), new Text("bar"))
@@ -128,7 +128,7 @@
   }
 
   @Test
-  public void TesttestRun7() {
+  public void testTestRun7() {
     try {
       driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("someotherkey"), new Text("bar"))

Modified: hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapReduceDriver.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapReduceDriver.java?rev=803193&r1=803192&r2=803193&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapReduceDriver.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestMapReduceDriver.java
Tue Aug 11 16:30:14 2009
@@ -88,7 +88,7 @@
   }
 
   @Test
-  public void TesttestRun1() {
+  public void testTestRun1() {
     driver
             .withInput(new Text("foo"), new LongWritable(FOO_IN_A))
             .withInput(new Text("foo"), new LongWritable(FOO_IN_B))
@@ -99,7 +99,7 @@
   }
 
   @Test
-  public void TesttestRun2() {
+  public void testTestRun2() {
     driver
             .withInput(new Text("foo"), new LongWritable(FOO_IN_A))
             .withInput(new Text("bar"), new LongWritable(BAR_IN))
@@ -110,7 +110,7 @@
   }
 
   @Test
-  public void TesttestRun3() {
+  public void testTestRun3() {
     try {
       driver
             .withInput(new Text("foo"), new LongWritable(FOO_IN_A))

Modified: hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestReduceDriver.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestReduceDriver.java?rev=803193&r1=803192&r2=803193&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestReduceDriver.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/mrunit/src/test/org/apache/hadoop/mrunit/TestReduceDriver.java
Tue Aug 11 16:30:14 2009
@@ -75,7 +75,7 @@
   }
 
   @Test
-  public void TesttestRun1() {
+  public void testTestRun1() {
     driver
             .withInputKey(new Text("foo"))
             .withOutput(new Text("foo"), new LongWritable(0))
@@ -83,7 +83,7 @@
   }
 
   @Test
-  public void TesttestRun2() {
+  public void testTestRun2() {
     driver
             .withInputKey(new Text("foo"))
             .withInputValue(new LongWritable(IN_A))
@@ -93,7 +93,7 @@
   }
 
   @Test
-  public void TesttestRun3() {
+  public void testTestRun3() {
     try {
       driver
             .withInputKey(new Text("foo"))
@@ -109,7 +109,7 @@
   }
 
   @Test
-  public void TesttestRun4() {
+  public void testTestRun4() {
     try {
       driver
             .withInputKey(new Text("foo"))
@@ -124,7 +124,7 @@
   }
 
   @Test
-  public void TesttestRun5() {
+  public void testTestRun5() {
     try {
       driver
             .withInputKey(new Text("foo"))
@@ -139,7 +139,7 @@
   }
 
   @Test
-  public void TesttestRun6() {
+  public void testTestRun6() {
     try {
       driver
             .withInputKey(new Text("foo"))
@@ -155,7 +155,7 @@
   }
 
   @Test
-  public void TesttestRun7() {
+  public void testTestRun7() {
     try {
       driver
               .withInputKey(new Text("foo"))
@@ -171,7 +171,7 @@
   }
 
   @Test
-  public void TesttestRun8() {
+  public void testTestRun8() {
     try {
       driver
             .withInputKey(new Text("foo"))
@@ -187,7 +187,7 @@
   }
 
   @Test
-  public void TesttestRun9() {
+  public void testTestRun9() {
     try {
       driver
             .withInputKey(new Text("foo"))



Mime
View raw message