You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mrunit.apache.org by br...@apache.org on 2012/02/16 03:55:09 UTC

svn commit: r1244829 - /incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html

Author: brock
Date: Thu Feb 16 02:55:09 2012
New Revision: 1244829

URL: http://svn.apache.org/viewvc?rev=1244829&view=rev
Log:
MRUNIT-58: Javadoc for org.apache.hadoop.mrunit Package Ends Prematurely

Modified:
    incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html

Modified: incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html
URL: http://svn.apache.org/viewvc/incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html?rev=1244829&r1=1244828&r2=1244829&view=diff
==============================================================================
--- incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html (original)
+++ incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html Thu Feb 16 02:55:09 2012
@@ -65,13 +65,13 @@ public class TestExample extends TestCas
   private Mapper mapper;
   private MapDriver driver;
 
-  @Before
+  {@literal @Before}
   public void setUp() {
     mapper = new IdentityMapper();
     driver = new MapDriver(mapper);
   }
 
-  @Test
+  {@literal @Test}
   public void testIdentityMapper() {
     driver.withInput(new Text("foo"), new Text("bar"))
             .withOutput(new Text("foo"), new Text("bar"))
@@ -82,7 +82,7 @@ public class TestExample extends TestCas
 <div class="paragraph"><p>In this example, we see an existing <tt>Mapper</tt> implementation (<tt>IdentityMapper</tt>)
 being tested. We made a class named <tt>TestExample</tt> designed to test this mapper
 implementation. In JUnit, each particular test is created in a separate method
-whose name begins with test, and is marked with the <tt>@Test</tt> annotation. All of
+whose name begins with test, and is marked with the <tt>{@literal @Test}</tt> annotation. All of
 the <tt>test*()</tt> methods are run in succession. Before each test method, the
 <tt>setUp()</tt> method (if one is present) is executed. After each test, a
 <tt>tearDown()</tt> method, if one exists, is executed. (In this example, no