From b92b02e76bc8018eb5a3a5cc0e6c1285a5d7779f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 17 Nov 2024 17:37:45 +0100 Subject: [PATCH] comment out some stuff to get back jenkins statistics --- .../java/org/htmlunit/WebRequest2Test.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/test/java/org/htmlunit/WebRequest2Test.java b/src/test/java/org/htmlunit/WebRequest2Test.java index 0f7ea93b34..3e3dc03d89 100644 --- a/src/test/java/org/htmlunit/WebRequest2Test.java +++ b/src/test/java/org/htmlunit/WebRequest2Test.java @@ -38,15 +38,15 @@ import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.commons.fileupload.servlet.ServletRequestContext; import org.apache.commons.lang3.StringUtils; -import org.htmlunit.junit.BrowserParameterizedRunner; +//import org.htmlunit.junit.BrowserParameterizedRunner; import org.htmlunit.junit.BrowserParameterizedRunner.Default; import org.htmlunit.util.NameValuePair; -import org.junit.Before; -import org.junit.Ignore; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized.Parameter; -import org.junit.runners.Parameterized.Parameters; +//import org.junit.Before; +//import org.junit.Ignore; +//import org.junit.Test; +//import org.junit.runner.RunWith; +//import org.junit.runners.Parameterized.Parameter; +//import org.junit.runners.Parameterized.Parameters; /** * Tests for {@link WebRequest#getParameters()}. @@ -60,7 +60,7 @@ * @author Ronald Brill * @author Kristof Neirynck */ -@RunWith(BrowserParameterizedRunner.class) +//@RunWith(BrowserParameterizedRunner.class) public class WebRequest2Test extends WebServerTestCase { public static class TestParameters { @@ -86,7 +86,7 @@ public List getPairs() { * Performs pre-test construction. * @throws Exception if an error occurs */ - @Before +// @Before public void setup() throws Exception { // we have to stop all servers running already to free the port WebDriverTestCase.stopWebServers(); @@ -101,7 +101,7 @@ public void setup() throws Exception { * @return the parameterized data * @throws Exception if an error occurs */ - @Parameters +// @Parameters public static Collection data() throws Exception { final List data = new ArrayList<>(); @@ -160,40 +160,40 @@ public static Collection data() throws Exception { /** * The HttpMethod. */ - @Parameter +// @Parameter public HttpMethod httpMethod_; /** * The query. */ - @Parameter(1) +// @Parameter(1) public String query_; /** * The FormEncodingType. */ - @Parameter(2) +// @Parameter(2) public FormEncodingType encoding_; /** * The FormEncodingType. */ - @Parameter(3) +// @Parameter(3) public TestParameters parameter_; /** * The body. */ - @Parameter(4) +// @Parameter(4) public String body_; /** * The default test. * @throws Exception if an error occurs */ - @Test +// @Test @Default - @Ignore +// @Ignore public void test() throws Exception { final URL url = new URL(URL_FIRST, query_); final WebRequest request = new WebRequest(url);