Skip to content

Commit 7c0776e

Browse files
committed
disabled for new, will work on this for the next version
1 parent 249cda2 commit 7c0776e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/test/java/org/htmlunit/javascript/host/fetch/FetchTest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.htmlunit.junit.annotation.Alerts;
2424
import org.htmlunit.util.MimeType;
2525
import org.htmlunit.util.NameValuePair;
26+
import org.junit.jupiter.api.Disabled;
2627
import org.junit.jupiter.api.Test;
2728
import org.openqa.selenium.WebDriver;
2829

@@ -37,6 +38,7 @@ public class FetchTest extends WebDriverTestCase {
3738
* @throws Exception if the test fails
3839
*/
3940
@Test
41+
@Disabled
4042
@Alerts({"200", "OK", "true", "text/xml;charset=iso-8859-1",
4143
"<xml><content>blah</content></xml>"})
4244
public void fetchGet() throws Exception {
@@ -72,6 +74,7 @@ public void fetchGet() throws Exception {
7274
* @throws Exception if the test fails
7375
*/
7476
@Test
77+
@Disabled
7578
@Alerts("TypeError")
7679
public void fetchGetWithBody() throws Exception {
7780
final String html = DOCTYPE_HTML
@@ -108,6 +111,7 @@ public void fetchGetWithBody() throws Exception {
108111
* @throws Exception if the test fails
109112
*/
110113
@Test
114+
@Disabled
111115
@Alerts("TypeError")
112116
public void fetchGetWrongUrl() throws Exception {
113117
final String html = DOCTYPE_HTML
@@ -142,6 +146,7 @@ public void fetchGetWrongUrl() throws Exception {
142146
* @throws Exception if the test fails
143147
*/
144148
@Test
149+
@Disabled
145150
@Alerts({"200", "OK", "true", "text/xml;charset=iso-8859-1", "<response/>"})
146151
public void fetchPost() throws Exception {
147152
final String html = DOCTYPE_HTML
@@ -179,6 +184,7 @@ public void fetchPost() throws Exception {
179184
* @throws Exception if the test fails
180185
*/
181186
@Test
187+
@Disabled
182188
@Alerts({"200", "OK", "true",
183189
"text/plain;charset=iso-8859-1", "bla\\sbla"})
184190
public void fetchGetText() throws Exception {
@@ -213,6 +219,7 @@ public void fetchGetText() throws Exception {
213219
* @throws Exception if the test fails
214220
*/
215221
@Test
222+
@Disabled
216223
@Alerts({"200", "OK", "true",
217224
"application/json;charset=iso-8859-1", "{\\s'Html':\\s'Unit'\\s}"})
218225
public void fetchGetJsonText() throws Exception {
@@ -248,6 +255,7 @@ public void fetchGetJsonText() throws Exception {
248255
* @throws Exception if the test fails
249256
*/
250257
@Test
258+
@Disabled
251259
@Alerts({"200", "OK", "true",
252260
"application/json;charset=iso-8859-1",
253261
"[object\\sObject]", "Unit", "{\"Html\":\"Unit\"}"})
@@ -288,6 +296,7 @@ public void fetchGetJson() throws Exception {
288296
* @throws Exception if the test fails
289297
*/
290298
@Test
299+
@Disabled
291300
@Alerts(DEFAULT = {"200", "OK", "true", "text/plain;charset=iso-8859-1",
292301
"[object\\sBlob]", "4", "text/plain"},
293302
FF = {"200", "OK", "true", "text/plain;charset=iso-8859-1",
@@ -330,6 +339,7 @@ public void fetchGetBlob() throws Exception {
330339
* @throws Exception if the test fails
331340
*/
332341
@Test
342+
@Disabled
333343
@Alerts({"200", "OK", "true", "text/plain;charset=iso-8859-1",
334344
"[object\\sArrayBuffer]", "4"})
335345
public void fetchGetArrayBuffer() throws Exception {
@@ -367,6 +377,7 @@ public void fetchGetArrayBuffer() throws Exception {
367377
* @throws Exception if the test fails
368378
*/
369379
@Test
380+
@Disabled
370381
@Alerts({"200", "OK", "true"})
371382
public void fetchGetCustomHeader() throws Exception {
372383
final String html = DOCTYPE_HTML
@@ -407,6 +418,7 @@ public void fetchGetCustomHeader() throws Exception {
407418
* @throws Exception if the test fails
408419
*/
409420
@Test
421+
@Disabled
410422
@Alerts({"200", "OK", "true", "text/plain;charset=iso-8859-1", "x-tEsT"})
411423
public void fetchGetCustomResponseHeader() throws Exception {
412424
final String html = DOCTYPE_HTML
@@ -450,6 +462,7 @@ public void fetchGetCustomResponseHeader() throws Exception {
450462
* @throws Exception if the test fails
451463
*/
452464
@Test
465+
@Disabled
453466
@Alerts({"200", "OK", "true"})
454467
public void fetchPostFormData() throws Exception {
455468
final String html = DOCTYPE_HTML
@@ -496,6 +509,7 @@ public void fetchPostFormData() throws Exception {
496509
* @throws Exception if the test fails
497510
*/
498511
@Test
512+
@Disabled
499513
@Alerts({"200", "OK", "true"})
500514
public void fetchPostURLSearchParams() throws Exception {
501515
final String html = DOCTYPE_HTML
@@ -544,6 +558,7 @@ public void fetchPostURLSearchParams() throws Exception {
544558
* @throws Exception if the test fails
545559
*/
546560
@Test
561+
@Disabled
547562
@Alerts({"200", "OK", "true"})
548563
public void fetchPostJSON() throws Exception {
549564
final String html = DOCTYPE_HTML

0 commit comments

Comments
 (0)