Author: jwills
Date: Mon Jan 20 20:09:56 2014
New Revision: 1559822
URL: http://svn.apache.org/r1559822
Log:
Fix classname typo
Modified:
crunch/site/trunk/content/user-guide.mdtext
Modified: crunch/site/trunk/content/user-guide.mdtext
URL:
http://svn.apache.org/viewvc/crunch/site/trunk/content/user-guide.mdtext?rev=1559822&r1=1559821&r2=1559822&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Mon Jan 20 20:09:56 2014
@@ -1547,7 +1547,7 @@ those Counters between test runs by call
@Test
public void testToUpperCase_WithPipeline() {
PCollection<String> inputStrings = MemPipeline.collectionOf("a", "B",
"c");
- PCollection<String> upperCaseStrings = inputStrings.parallelDo(new
ToUpperCaseFn(), Writables.strings());
+ PCollection<String> upperCaseStrings = inputStrings.parallelDo(new
UpperCaseWithCounterFn(), Writables.strings());
assertEquals(ImmutableList.of("A", "B", "C"),
Lists.newArrayList(upperCaseStrings.materialize()));
assertEquals(2L, MemPipeline.getCounters().findCounter("UpperCase",
"modified").getValue());
}