3838import org .apache .commons .fileupload .servlet .ServletFileUpload ;
3939import org .apache .commons .fileupload .servlet .ServletRequestContext ;
4040import org .apache .commons .lang3 .StringUtils ;
41- import org .htmlunit .junit .BrowserParameterizedRunner ;
41+ // import org.htmlunit.junit.BrowserParameterizedRunner;
4242import org .htmlunit .junit .BrowserParameterizedRunner .Default ;
4343import org .htmlunit .util .NameValuePair ;
44- import org .junit .Before ;
45- import org .junit .Ignore ;
46- import org .junit .Test ;
47- import org .junit .runner .RunWith ;
48- import org .junit .runners .Parameterized .Parameter ;
49- import org .junit .runners .Parameterized .Parameters ;
44+ // import org.junit.Before;
45+ // import org.junit.Ignore;
46+ // import org.junit.Test;
47+ // import org.junit.runner.RunWith;
48+ // import org.junit.runners.Parameterized.Parameter;
49+ // import org.junit.runners.Parameterized.Parameters;
5050
5151/**
5252 * Tests for {@link WebRequest#getParameters()}.
6060 * @author Ronald Brill
6161 * @author Kristof Neirynck
6262 */
63- @ RunWith (BrowserParameterizedRunner .class )
63+ // @RunWith(BrowserParameterizedRunner.class)
6464public class WebRequest2Test extends WebServerTestCase {
6565
6666 public static class TestParameters {
@@ -86,7 +86,7 @@ public List<NameValuePair> getPairs() {
8686 * Performs pre-test construction.
8787 * @throws Exception if an error occurs
8888 */
89- @ Before
89+ // @Before
9090 public void setup () throws Exception {
9191 // we have to stop all servers running already to free the port
9292 WebDriverTestCase .stopWebServers ();
@@ -101,7 +101,7 @@ public void setup() throws Exception {
101101 * @return the parameterized data
102102 * @throws Exception if an error occurs
103103 */
104- @ Parameters
104+ // @Parameters
105105 public static Collection <Object []> data () throws Exception {
106106 final List <Object []> data = new ArrayList <>();
107107
@@ -160,40 +160,40 @@ public static Collection<Object[]> data() throws Exception {
160160 /**
161161 * The HttpMethod.
162162 */
163- @ Parameter
163+ // @Parameter
164164 public HttpMethod httpMethod_ ;
165165
166166 /**
167167 * The query.
168168 */
169- @ Parameter (1 )
169+ // @Parameter(1)
170170 public String query_ ;
171171
172172 /**
173173 * The FormEncodingType.
174174 */
175- @ Parameter (2 )
175+ // @Parameter(2)
176176 public FormEncodingType encoding_ ;
177177
178178 /**
179179 * The FormEncodingType.
180180 */
181- @ Parameter (3 )
181+ // @Parameter(3)
182182 public TestParameters parameter_ ;
183183
184184 /**
185185 * The body.
186186 */
187- @ Parameter (4 )
187+ // @Parameter(4)
188188 public String body_ ;
189189
190190 /**
191191 * The default test.
192192 * @throws Exception if an error occurs
193193 */
194- @ Test
194+ // @Test
195195 @ Default
196- @ Ignore
196+ // @Ignore
197197 public void test () throws Exception {
198198 final URL url = new URL (URL_FIRST , query_ );
199199 final WebRequest request = new WebRequest (url );
0 commit comments