Skip to content

Commit

Permalink
comment out some stuff to get back jenkins statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 17, 2024
1 parent 189bfe5 commit b92b02e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/test/java/org/htmlunit/WebRequest2Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()}.
Expand All @@ -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 {
Expand All @@ -86,7 +86,7 @@ public List<NameValuePair> 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();
Expand All @@ -101,7 +101,7 @@ public void setup() throws Exception {
* @return the parameterized data
* @throws Exception if an error occurs
*/
@Parameters
// @Parameters
public static Collection<Object[]> data() throws Exception {
final List<Object[]> data = new ArrayList<>();

Expand Down Expand Up @@ -160,40 +160,40 @@ public static Collection<Object[]> 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);
Expand Down

0 comments on commit b92b02e

Please sign in to comment.