Author: rdonkin
Date: Sat Dec  7 11:08:02 2013
New Revision: 1548857

URL: http://svn.apache.org/r1548857
Log:
Apply PMD Rules.

Modified:
    
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java

Modified: 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java
URL: 
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java?rev=1548857&r1=1548856&r2=1548857&view=diff
==============================================================================
--- 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java
 (original)
+++ 
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/util/MatcherMultiplexerTest.java
 Sat Dec  7 11:08:02 2013
@@ -24,6 +24,9 @@ import org.apache.rat.analysis.IHeaderMa
 import org.apache.rat.analysis.MockLicenseMatcher;
 import org.apache.rat.api.Document;
 import org.apache.rat.document.MockLocation;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
 
 /**
  * The Class MatcherMultiplexerTest.
@@ -37,20 +40,20 @@ public class MatcherMultiplexerTest exte
        private static final String LINE_TWO = "Line Two";
 
        /** The matcher one. */
-       MockLicenseMatcher matcherOne;
+       private MockLicenseMatcher matcherOne;
 
        /** The matcher two. */
-       MockLicenseMatcher matcherTwo;
+       private MockLicenseMatcher matcherTwo;
 
        /** The multiplexer. */
-       HeaderMatcherMultiplexer multiplexer;
+       private HeaderMatcherMultiplexer multiplexer;
 
        /*
         * (non-Javadoc)
         * 
         * @see junit.framework.TestCase#setUp()
         */
-       @Override
+       @Before
        protected void setUp() throws Exception {
                super.setUp();
                matcherOne = new MockLicenseMatcher();
@@ -64,7 +67,7 @@ public class MatcherMultiplexerTest exte
         * 
         * @see junit.framework.TestCase#tearDown()
         */
-       @Override
+       @After
        protected void tearDown() throws Exception {
                super.tearDown();
        }
@@ -75,6 +78,7 @@ public class MatcherMultiplexerTest exte
         * @throws Exception
         *             the exception
         */
+       @Test
        public void testMatcherLine() throws Exception {
                matcherOne.result = false;
                matcherTwo.result = false;
@@ -94,6 +98,7 @@ public class MatcherMultiplexerTest exte
        /**
         * Test reset.
         */
+       @Test
        public void testReset() {
                multiplexer.reset();
                assertEquals("Reset once", 1, matcherOne.resets);


Reply via email to