You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2014/08/24 14:48:51 UTC

svn commit: r1620133 - /jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java

Author: pmouawad
Date: Sun Aug 24 12:48:50 2014
New Revision: 1620133

URL: http://svn.apache.org/r1620133
Log:
Add javadocs and rename constructor parameters to make it clearer

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java?rev=1620133&r1=1620132&r2=1620133&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java Sun Aug 24 12:48:50 2014
@@ -83,11 +83,18 @@ public class TestHTMLParser extends JMet
 
             private String expectedList;
 
-            private TestData(String f, String b, String s, String l) {
-                fileName = f;
-                baseURL = b;
-                expectedSet = s;
-                expectedList = l;
+            /**
+             * 
+             * @param htmlFileName HTML File with content
+             * @param baseUrl Base URL
+             * @param expectedSet Set of expected URLs
+             * @param expectedList List of expected URLs
+             */
+            private TestData(String htmlFileName, String baseUrl, String expectedSet, String expectedList) {
+                this.fileName = htmlFileName;
+                this.baseURL = baseUrl;
+                this.expectedSet = expectedSet;
+                this.expectedList = expectedList;
             }
 
 //            private TestData(String f, String b, String s) {
@@ -141,7 +148,7 @@ public class TestHTMLParser extends JMet
                 new TestData("testfiles/HTMLParserTestFile_2.html",
                         "file:HTMLParserTestFile_2.html",
                         "testfiles/HTMLParserTestFile_2.all",
-                        "testfiles/HTMLParserTestFile_2.all"), 
+                        "testfiles/HTMLParserTestFile_2.all"),
                          };
 
         public static junit.framework.Test suite() {