mrunit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbe...@apache.org
Subject svn commit: r1370032 - in /mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce: TestReducerInputValueResuse.java TestReducerInputValueReuse.java
Date Mon, 06 Aug 2012 21:44:42 GMT
Author: dbeech
Date: Mon Aug  6 21:44:42 2012
New Revision: 1370032

URL: http://svn.apache.org/viewvc?rev=1370032&view=rev
Log:
MRUNIT-132: Spelling mistakes in TestReducerInputValueReuse

Added:
    mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueReuse.java
      - copied, changed from r1370006, mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueResuse.java
Removed:
    mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueResuse.java

Copied: mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueReuse.java
(from r1370006, mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueResuse.java)
URL: http://svn.apache.org/viewvc/mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueReuse.java?p2=mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueReuse.java&p1=mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueResuse.java&r1=1370006&r2=1370032&rev=1370032&view=diff
==============================================================================
--- mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueResuse.java
(original)
+++ mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReducerInputValueReuse.java
Mon Aug  6 21:44:42 2012
@@ -30,12 +30,12 @@ import org.apache.hadoop.io.Text;
 import org.apache.hadoop.mapreduce.Reducer;
 import org.junit.Test;
 
-public class TestReducerInputValueResuse {
+public class TestReducerInputValueReuse {
 
   private class TestReducer extends
       Reducer<Text, LongWritable, Text, LongWritable> {
     public LongWritable outputValue = new LongWritable();
-    protected boolean instanceCheckOccured = false;
+    protected boolean instanceCheckOccurred = false;
     protected boolean instanceCheckFailed = false;
 
     @Override
@@ -45,7 +45,7 @@ public class TestReducerInputValueResuse
       LongWritable inputValue = null;
       for (final LongWritable val : vals) {
         if (inputValue != null) {
-          instanceCheckOccured = true;
+          instanceCheckOccurred = true;
           if (inputValue != val) {
             instanceCheckFailed = true;
           }
@@ -74,7 +74,7 @@ public class TestReducerInputValueResuse
     driver.withInput(new Text("foo"), values);
     driver.withOutput(new Text("foo"), new LongWritable(4));
     driver.runTest();
-    assertTrue(reducer.instanceCheckOccured);
+    assertTrue(reducer.instanceCheckOccurred);
     assertFalse(reducer.instanceCheckFailed);
   }
 



Mime
View raw message