1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.htmlunit.libraries;
16
17 import static org.htmlunit.junit.annotation.TestedBrowser.CHROME;
18 import static org.htmlunit.junit.annotation.TestedBrowser.EDGE;
19 import static org.htmlunit.junit.annotation.TestedBrowser.FF;
20 import static org.htmlunit.junit.annotation.TestedBrowser.FF_ESR;
21
22 import org.htmlunit.junit.BrowserRunner;
23 import org.htmlunit.junit.annotation.Alerts;
24 import org.htmlunit.junit.annotation.NotYetImplemented;
25 import org.junit.Test;
26 import org.junit.runner.RunWith;
27 import org.openqa.selenium.By;
28 import org.openqa.selenium.WebDriver;
29 import org.openqa.selenium.WebElement;
30
31
32
33
34
35
36
37
38
39
40 @RunWith(BrowserRunner.class)
41 public class JQuery3x3x1Test extends JQueryTestBase {
42
43
44
45
46 @Override
47 public String getVersion() {
48 return "3.3.1";
49 }
50
51
52
53
54 @Override
55 protected String readTestNumber(final String testName) throws Exception {
56 final String testResults = loadExpectation("/libraries/jQuery/"
57 + getVersion() + "/expectations/results", ".txt");
58 final String[] lines = testResults.split("\n");
59 for (int i = 0; i < lines.length; i++) {
60 final String line = lines[i];
61 final int pos = line.indexOf(testName);
62 if (pos != -1 && line.indexOf("skipped") == -1) {
63 final int start = line.lastIndexOf('[') + 1;
64 return line.substring(start, start + 8);
65 }
66 }
67
68 return null;
69 }
70
71
72
73
74 @Override
75 protected String buildUrl(final String testNumber) {
76 return URL_FIRST + "jquery/test/index.html?dev&testId=" + testNumber;
77 }
78
79
80
81
82 @Override
83 protected String getResultDetailElementText(final WebDriver webdriver, final String testNumber) {
84 final WebElement output = webdriver.findElement(By.id("qunit-test-output-" + testNumber));
85 String result = output.getText();
86 result = result.substring(0, result.indexOf("Rerun")).trim();
87 if (result.startsWith("skipped")) {
88 result = result.substring(7);
89 }
90 return result;
91 }
92
93
94
95
96
97 @Test
98 @Alerts("2")
99 public void ready__jQuery_isReady() throws Exception {
100 runTest("ready: jQuery.isReady");
101 }
102
103
104
105
106
107 @Test
108 @Alerts("10")
109 public void ready__jQuery_ready() throws Exception {
110 runTest("ready: jQuery ready");
111 }
112
113
114
115
116
117 @Test
118 @Alerts("2")
119 public void ready__jQuery_when_jQuery_ready_() throws Exception {
120 runTest("ready: jQuery.when(jQuery.ready)");
121 }
122
123
124
125
126
127 @Test
128 @Alerts("2")
129 public void ready__Promise_resolve_jQuery_ready_() throws Exception {
130 runTest("ready: Promise.resolve(jQuery.ready)");
131 }
132
133
134
135
136
137 @Test
138 @Alerts("1")
139 public void ready__Error_in_ready_callback_does_not_halt_all_future_executions__gh_1823_() throws Exception {
140 runTest("ready: Error in ready callback does not halt all future executions (gh-1823)");
141 }
142
143
144
145
146
147 @Test
148 @Alerts("2")
149 public void ready__holdReady_test_needs_to_be_a_standalone_test_since_it_deals_with_DOM_ready() throws Exception {
150 runTest("ready: holdReady test needs to be a standalone test since it deals with DOM ready");
151 }
152
153
154
155
156
157 @Test
158 @Alerts("4")
159 public void basic__ajax() throws Exception {
160 runTest("basic: ajax");
161 }
162
163
164
165
166
167 @Test
168 @Alerts("6")
169 public void basic__attributes() throws Exception {
170 runTest("basic: attributes");
171 }
172
173
174
175
176
177 @Test
178 @Alerts("1")
179 public void basic__css() throws Exception {
180 runTest("basic: css");
181 }
182
183
184
185
186
187 @Test
188 @Alerts("2")
189 public void basic__show_hide() throws Exception {
190 runTest("basic: show/hide");
191 }
192
193
194
195
196
197 @Test
198 @Alerts("18")
199 public void basic__core() throws Exception {
200 runTest("basic: core");
201 }
202
203
204
205
206
207 @Test
208 @Alerts("4")
209 public void basic__data() throws Exception {
210 runTest("basic: data");
211 }
212
213
214
215
216
217 @Test
218 @Alerts("3")
219 public void basic__dimensions() throws Exception {
220 runTest("basic: dimensions");
221 }
222
223
224
225
226
227 @Test
228 @Alerts("1")
229 public void basic__event() throws Exception {
230 runTest("basic: event");
231 }
232
233
234
235
236
237 @Test
238 @Alerts("5")
239 public void basic__manipulation() throws Exception {
240 runTest("basic: manipulation");
241 }
242
243
244
245
246
247 @Test
248 @Alerts("3")
249 @NotYetImplemented
250 public void basic__offset() throws Exception {
251 runTest("basic: offset");
252 }
253
254
255
256
257
258 @Test
259 @Alerts("2")
260 public void basic__selector() throws Exception {
261 runTest("basic: selector");
262 }
263
264
265
266
267
268 @Test
269 @Alerts("2")
270 public void basic__serialize() throws Exception {
271 runTest("basic: serialize");
272 }
273
274
275
276
277
278 @Test
279 @Alerts("12")
280 public void basic__traversing() throws Exception {
281 runTest("basic: traversing");
282 }
283
284
285
286
287
288 @Test
289 @Alerts("3")
290 public void basic__wrap() throws Exception {
291 runTest("basic: wrap");
292 }
293
294
295
296
297
298 @Test
299 @Alerts("7")
300 public void core__Basic_requirements() throws Exception {
301 runTest("core: Basic requirements");
302 }
303
304
305
306
307
308 @Test
309 @Alerts("29")
310 public void core__jQuery__() throws Exception {
311 runTest("core: jQuery()");
312 }
313
314
315
316
317
318 @Test
319 @Alerts("3")
320 public void core__jQuery_selector__context_() throws Exception {
321 runTest("core: jQuery(selector, context)");
322 }
323
324
325
326
327
328 @Test
329 @Alerts("3")
330 public void core__globalEval() throws Exception {
331 runTest("core: globalEval");
332 }
333
334
335
336
337
338 @Test
339 @Alerts("1")
340 public void core__globalEval_with__use_strict_() throws Exception {
341 runTest("core: globalEval with 'use strict'");
342 }
343
344
345
346
347
348 @Test
349 @Alerts("1")
350 public void core__globalEval_execution_after_script_injection___7862_() throws Exception {
351 runTest("core: globalEval execution after script injection (#7862)");
352 }
353
354
355
356
357
358 @Test
359 @Alerts("7")
360 public void core__noConflict() throws Exception {
361 runTest("core: noConflict");
362 }
363
364
365
366
367
368 @Test
369 @Alerts("13")
370 public void core__trim() throws Exception {
371 runTest("core: trim");
372 }
373
374
375
376
377
378 @Test
379 @Alerts("23")
380 public void core__isPlainObject() throws Exception {
381 runTest("core: isPlainObject");
382 }
383
384
385
386
387
388 @Test
389 @Alerts("2")
390 public void core__isPlainObject_Symbol_() throws Exception {
391 runTest("core: isPlainObject(Symbol)");
392 }
393
394
395
396
397
398 @Test
399 @Alerts("1")
400 public void core__isPlainObject_localStorage_() throws Exception {
401 runTest("core: isPlainObject(localStorage)");
402 }
403
404
405
406
407
408 @Test
409 @Alerts("1")
410 public void core__isPlainObject_Object_assign______() throws Exception {
411 runTest("core: isPlainObject(Object.assign(...))");
412 }
413
414
415
416
417
418 @Test
419 @Alerts("4")
420 public void core__isXMLDoc___HTML() throws Exception {
421 runTest("core: isXMLDoc - HTML");
422 }
423
424
425
426
427
428 @Test
429 @Alerts("1")
430 public void core__XSS_via_location_hash() throws Exception {
431 runTest("core: XSS via location.hash");
432 }
433
434
435
436
437
438 @Test
439 @Alerts("3")
440 public void core__isXMLDoc___XML() throws Exception {
441 runTest("core: isXMLDoc - XML");
442 }
443
444
445
446
447
448 @Test
449 @Alerts("18")
450 public void core__jQuery__html__() throws Exception {
451 runTest("core: jQuery('html')");
452 }
453
454
455
456
457
458 @Test
459 @Alerts("36")
460 public void core__jQuery_element_with_non_alphanumeric_name_() throws Exception {
461 runTest("core: jQuery(element with non-alphanumeric name)");
462 }
463
464
465
466
467
468 @Test
469 @Alerts("3")
470 public void core__jQuery__massive_html__7990__() throws Exception {
471 runTest("core: jQuery('massive html #7990')");
472 }
473
474
475
476
477
478 @Test
479 @Alerts("1")
480 public void core__jQuery__html___context_() throws Exception {
481 runTest("core: jQuery('html', context)");
482 }
483
484
485
486
487
488 @Test
489 @Alerts("2")
490 public void core__jQuery_selector__xml__text_str____loaded_via_xml_document() throws Exception {
491 runTest("core: jQuery(selector, xml).text(str) - loaded via xml document");
492 }
493
494
495
496
497
498 @Test
499 @Alerts("3")
500 public void core__end__() throws Exception {
501 runTest("core: end()");
502 }
503
504
505
506
507
508 @Test
509 @Alerts("1")
510 public void core__length() throws Exception {
511 runTest("core: length");
512 }
513
514
515
516
517
518 @Test
519 @Alerts("1")
520 public void core__get__() throws Exception {
521 runTest("core: get()");
522 }
523
524
525
526
527
528 @Test
529 @Alerts("1")
530 public void core__toArray__() throws Exception {
531 runTest("core: toArray()");
532 }
533
534
535
536
537
538 @Test
539 @Alerts("19")
540 public void core__inArray__() throws Exception {
541 runTest("core: inArray()");
542 }
543
544
545
546
547
548 @Test
549 @Alerts("2")
550 public void core__get_Number_() throws Exception {
551 runTest("core: get(Number)");
552 }
553
554
555
556
557
558 @Test
559 @Alerts("2")
560 public void core__get__Number_() throws Exception {
561 runTest("core: get(-Number)");
562 }
563
564
565
566
567
568 @Test
569 @Alerts("1")
570 public void core__each_Function_() throws Exception {
571 runTest("core: each(Function)");
572 }
573
574
575
576
577
578 @Test
579 @Alerts("7")
580 public void core__slice__() throws Exception {
581 runTest("core: slice()");
582 }
583
584
585
586
587
588 @Test
589 @Alerts("4")
590 public void core__first___last__() throws Exception {
591 runTest("core: first()/last()");
592 }
593
594
595
596
597
598 @Test
599 @Alerts("2")
600 public void core__map__() throws Exception {
601 runTest("core: map()");
602 }
603
604
605
606
607
608 @Test
609 @Alerts("25")
610 public void core__jQuery_map() throws Exception {
611 runTest("core: jQuery.map");
612 }
613
614
615
616
617
618 @Test
619 @Alerts("10")
620 public void core__jQuery_merge__() throws Exception {
621 runTest("core: jQuery.merge()");
622 }
623
624
625
626
627
628 @Test
629 @Alerts("8")
630 public void core__jQuery_grep__() throws Exception {
631 runTest("core: jQuery.grep()");
632 }
633
634
635
636
637
638 @Test
639 @Alerts("7")
640 public void core__jQuery_grep_Array_like_() throws Exception {
641 runTest("core: jQuery.grep(Array-like)");
642 }
643
644
645
646
647
648 @Test
649 @Alerts("28")
650 public void core__jQuery_extend_Object__Object_() throws Exception {
651 runTest("core: jQuery.extend(Object, Object)");
652 }
653
654
655
656
657
658 @Test
659 @Alerts("2")
660 public void core__jQuery_extend_Object__Object__created_with__defineProperties___() throws Exception {
661 runTest("core: jQuery.extend(Object, Object {created with \"defineProperties\"})");
662 }
663
664
665
666
667
668 @Test
669 @Alerts("2")
670 public void core__jQuery_extend_true_____a_____o_______deep_copy_with_array__followed_by_object() throws Exception {
671 runTest("core: jQuery.extend(true,{},{a:[], o:{}}); deep copy with array, followed by object");
672 }
673
674
675
676
677
678 @Test
679 @Alerts("23")
680 public void core__jQuery_each_Object_Function_() throws Exception {
681 runTest("core: jQuery.each(Object,Function)");
682 }
683
684
685
686
687
688 @Test
689 @Alerts("1")
690 public void core__jQuery_each_map_undefined_null_Function_() throws Exception {
691 runTest("core: jQuery.each/map(undefined/null,Function)");
692 }
693
694
695
696
697
698 @Test
699 @Alerts("4")
700 public void core__JIT_compilation_does_not_interfere_with_length_retrieval__gh_2145_() throws Exception {
701 runTest("core: JIT compilation does not interfere with length retrieval (gh-2145)");
702 }
703
704
705
706
707
708 @Test
709 @Alerts("15")
710 public void core__jQuery_makeArray() throws Exception {
711 runTest("core: jQuery.makeArray");
712 }
713
714
715
716
717
718 @Test
719 @Alerts("3")
720 public void core__jQuery_inArray() throws Exception {
721 runTest("core: jQuery.inArray");
722 }
723
724
725
726
727
728 @Test
729 @Alerts("2")
730 public void core__jQuery_isEmptyObject() throws Exception {
731 runTest("core: jQuery.isEmptyObject");
732 }
733
734
735
736
737
738 @Test
739 @Alerts("1")
740 public void core__jQuery_parseHTML__a_href_____gh_2965() throws Exception {
741 runTest("core: jQuery.parseHTML(<a href>) - gh-2965");
742 }
743
744
745
746
747
748 @Test
749 @Alerts("1")
750 @NotYetImplemented
751 public void core__jQuery_parseHTML() throws Exception {
752 runTest("core: jQuery.parseHTML");
753 }
754
755
756
757
758
759 @Test
760 @Alerts("8")
761 public void core__jQuery_parseXML() throws Exception {
762 runTest("core: jQuery.parseXML");
763 }
764
765
766
767
768
769 @Test
770 @Alerts("3")
771 public void core__Conditional_compilation_compatibility___13274_() throws Exception {
772 runTest("core: Conditional compilation compatibility (#13274)");
773 }
774
775
776
777
778
779 @Test
780 @Alerts("1")
781 @NotYetImplemented
782 public void core__document_ready_when_jQuery_loaded_asynchronously___13655_() throws Exception {
783 runTest("core: document ready when jQuery loaded asynchronously (#13655)");
784 }
785
786
787
788
789
790 @Test
791 @Alerts("1")
792 public void core__Tolerating_alias_masked_DOM_properties___14074_() throws Exception {
793 runTest("core: Tolerating alias-masked DOM properties (#14074)");
794 }
795
796
797
798
799
800 @Test
801 @Alerts("1")
802 public void core__Don_t_call_window_onready___14802_() throws Exception {
803 runTest("core: Don't call window.onready (#14802)");
804 }
805
806
807
808
809
810 @Test
811 @Alerts("1")
812 public void core__Iterability_of_jQuery_objects__gh_1693_() throws Exception {
813 runTest("core: Iterability of jQuery objects (gh-1693)");
814 }
815
816
817
818
819
820 @Test
821 @Alerts("1")
822 public void core__jQuery_readyException__original_() throws Exception {
823 runTest("core: jQuery.readyException (original)");
824 }
825
826
827
828
829
830 @Test
831 @Alerts("1")
832 public void core__jQuery_readyException__custom_() throws Exception {
833 runTest("core: jQuery.readyException (custom)");
834 }
835
836
837
838
839
840 @Test
841 @Alerts("29")
842 public void callbacks__jQuery_Callbacks_________no_filter() throws Exception {
843 runTest("callbacks: jQuery.Callbacks( '' ) - no filter");
844 }
845
846
847
848
849
850 @Test
851 @Alerts("29")
852 public void callbacks__jQuery_Callbacks__________no_filter() throws Exception {
853 runTest("callbacks: jQuery.Callbacks( { } ) - no filter");
854 }
855
856
857
858
859
860 @Test
861 @Alerts("29")
862 public void callbacks__jQuery_Callbacks_________filter() throws Exception {
863 runTest("callbacks: jQuery.Callbacks( '' ) - filter");
864 }
865
866
867
868
869
870 @Test
871 @Alerts("29")
872 public void callbacks__jQuery_Callbacks__________filter() throws Exception {
873 runTest("callbacks: jQuery.Callbacks( { } ) - filter");
874 }
875
876
877
878
879
880 @Test
881 @Alerts("29")
882 public void callbacks__jQuery_Callbacks___once______no_filter() throws Exception {
883 runTest("callbacks: jQuery.Callbacks( 'once' ) - no filter");
884 }
885
886
887
888
889
890 @Test
891 @Alerts("29")
892 public void callbacks__jQuery_Callbacks_____once___true_______no_filter() throws Exception {
893 runTest("callbacks: jQuery.Callbacks( { 'once': true } ) - no filter");
894 }
895
896
897
898
899
900 @Test
901 @Alerts("29")
902 public void callbacks__jQuery_Callbacks___once______filter() throws Exception {
903 runTest("callbacks: jQuery.Callbacks( 'once' ) - filter");
904 }
905
906
907
908
909
910 @Test
911 @Alerts("29")
912 public void callbacks__jQuery_Callbacks_____once___true_______filter() throws Exception {
913 runTest("callbacks: jQuery.Callbacks( { 'once': true } ) - filter");
914 }
915
916
917
918
919
920 @Test
921 @Alerts("29")
922 public void callbacks__jQuery_Callbacks___memory______no_filter() throws Exception {
923 runTest("callbacks: jQuery.Callbacks( 'memory' ) - no filter");
924 }
925
926
927
928
929
930 @Test
931 @Alerts("29")
932 public void callbacks__jQuery_Callbacks_____memory___true_______no_filter() throws Exception {
933 runTest("callbacks: jQuery.Callbacks( { 'memory': true } ) - no filter");
934 }
935
936
937
938
939
940 @Test
941 @Alerts("29")
942 public void callbacks__jQuery_Callbacks___memory______filter() throws Exception {
943 runTest("callbacks: jQuery.Callbacks( 'memory' ) - filter");
944 }
945
946
947
948
949
950 @Test
951 @Alerts("29")
952 public void callbacks__jQuery_Callbacks_____memory___true_______filter() throws Exception {
953 runTest("callbacks: jQuery.Callbacks( { 'memory': true } ) - filter");
954 }
955
956
957
958
959
960 @Test
961 @Alerts("29")
962 public void callbacks__jQuery_Callbacks___unique______no_filter() throws Exception {
963 runTest("callbacks: jQuery.Callbacks( 'unique' ) - no filter");
964 }
965
966
967
968
969
970 @Test
971 @Alerts("29")
972 public void callbacks__jQuery_Callbacks_____unique___true_______no_filter() throws Exception {
973 runTest("callbacks: jQuery.Callbacks( { 'unique': true } ) - no filter");
974 }
975
976
977
978
979
980 @Test
981 @Alerts("29")
982 public void callbacks__jQuery_Callbacks___unique______filter() throws Exception {
983 runTest("callbacks: jQuery.Callbacks( 'unique' ) - filter");
984 }
985
986
987
988
989
990 @Test
991 @Alerts("29")
992 public void callbacks__jQuery_Callbacks_____unique___true_______filter() throws Exception {
993 runTest("callbacks: jQuery.Callbacks( { 'unique': true } ) - filter");
994 }
995
996
997
998
999
1000 @Test
1001 @Alerts("29")
1002 public void callbacks__jQuery_Callbacks___stopOnFalse______no_filter() throws Exception {
1003 runTest("callbacks: jQuery.Callbacks( 'stopOnFalse' ) - no filter");
1004 }
1005
1006
1007
1008
1009
1010 @Test
1011 @Alerts("29")
1012 public void callbacks__jQuery_Callbacks_____stopOnFalse___true_______no_filter() throws Exception {
1013 runTest("callbacks: jQuery.Callbacks( { 'stopOnFalse': true } ) - no filter");
1014 }
1015
1016
1017
1018
1019
1020 @Test
1021 @Alerts("29")
1022 public void callbacks__jQuery_Callbacks___stopOnFalse______filter() throws Exception {
1023 runTest("callbacks: jQuery.Callbacks( 'stopOnFalse' ) - filter");
1024 }
1025
1026
1027
1028
1029
1030 @Test
1031 @Alerts("29")
1032 public void callbacks__jQuery_Callbacks_____stopOnFalse___true_______filter() throws Exception {
1033 runTest("callbacks: jQuery.Callbacks( { 'stopOnFalse': true } ) - filter");
1034 }
1035
1036
1037
1038
1039
1040 @Test
1041 @Alerts("29")
1042 public void callbacks__jQuery_Callbacks___once_memory______no_filter() throws Exception {
1043 runTest("callbacks: jQuery.Callbacks( 'once memory' ) - no filter");
1044 }
1045
1046
1047
1048
1049
1050 @Test
1051 @Alerts("29")
1052 public void callbacks__jQuery_Callbacks_____once___true___memory___true_______no_filter() throws Exception {
1053 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'memory': true } ) - no filter");
1054 }
1055
1056
1057
1058
1059
1060 @Test
1061 @Alerts("29")
1062 public void callbacks__jQuery_Callbacks___once_memory______filter() throws Exception {
1063 runTest("callbacks: jQuery.Callbacks( 'once memory' ) - filter");
1064 }
1065
1066
1067
1068
1069
1070 @Test
1071 @Alerts("29")
1072 public void callbacks__jQuery_Callbacks_____once___true___memory___true_______filter() throws Exception {
1073 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'memory': true } ) - filter");
1074 }
1075
1076
1077
1078
1079
1080 @Test
1081 @Alerts("29")
1082 public void callbacks__jQuery_Callbacks___once_unique______no_filter() throws Exception {
1083 runTest("callbacks: jQuery.Callbacks( 'once unique' ) - no filter");
1084 }
1085
1086
1087
1088
1089
1090 @Test
1091 @Alerts("29")
1092 public void callbacks__jQuery_Callbacks_____once___true___unique___true_______no_filter() throws Exception {
1093 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'unique': true } ) - no filter");
1094 }
1095
1096
1097
1098
1099
1100 @Test
1101 @Alerts("29")
1102 public void callbacks__jQuery_Callbacks___once_unique______filter() throws Exception {
1103 runTest("callbacks: jQuery.Callbacks( 'once unique' ) - filter");
1104 }
1105
1106
1107
1108
1109
1110 @Test
1111 @Alerts("29")
1112 public void callbacks__jQuery_Callbacks_____once___true___unique___true_______filter() throws Exception {
1113 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'unique': true } ) - filter");
1114 }
1115
1116
1117
1118
1119
1120 @Test
1121 @Alerts("29")
1122 public void callbacks__jQuery_Callbacks___once_stopOnFalse______no_filter() throws Exception {
1123 runTest("callbacks: jQuery.Callbacks( 'once stopOnFalse' ) - no filter");
1124 }
1125
1126
1127
1128
1129
1130 @Test
1131 @Alerts("29")
1132 public void callbacks__jQuery_Callbacks_____once___true___stopOnFalse___true_______no_filter() throws Exception {
1133 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'stopOnFalse': true } ) - no filter");
1134 }
1135
1136
1137
1138
1139
1140 @Test
1141 @Alerts("29")
1142 public void callbacks__jQuery_Callbacks___once_stopOnFalse______filter() throws Exception {
1143 runTest("callbacks: jQuery.Callbacks( 'once stopOnFalse' ) - filter");
1144 }
1145
1146
1147
1148
1149
1150 @Test
1151 @Alerts("29")
1152 public void callbacks__jQuery_Callbacks_____once___true___stopOnFalse___true_______filter() throws Exception {
1153 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'stopOnFalse': true } ) - filter");
1154 }
1155
1156
1157
1158
1159
1160 @Test
1161 @Alerts("29")
1162 public void callbacks__jQuery_Callbacks___memory_unique______no_filter() throws Exception {
1163 runTest("callbacks: jQuery.Callbacks( 'memory unique' ) - no filter");
1164 }
1165
1166
1167
1168
1169
1170 @Test
1171 @Alerts("29")
1172 public void callbacks__jQuery_Callbacks_____memory___true___unique___true_______no_filter() throws Exception {
1173 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'unique': true } ) - no filter");
1174 }
1175
1176
1177
1178
1179
1180 @Test
1181 @Alerts("29")
1182 public void callbacks__jQuery_Callbacks___memory_unique______filter() throws Exception {
1183 runTest("callbacks: jQuery.Callbacks( 'memory unique' ) - filter");
1184 }
1185
1186
1187
1188
1189
1190 @Test
1191 @Alerts("29")
1192 public void callbacks__jQuery_Callbacks_____memory___true___unique___true_______filter() throws Exception {
1193 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'unique': true } ) - filter");
1194 }
1195
1196
1197
1198
1199
1200 @Test
1201 @Alerts("29")
1202 public void callbacks__jQuery_Callbacks___memory_stopOnFalse______no_filter() throws Exception {
1203 runTest("callbacks: jQuery.Callbacks( 'memory stopOnFalse' ) - no filter");
1204 }
1205
1206
1207
1208
1209
1210 @Test
1211 @Alerts("29")
1212 public void callbacks__jQuery_Callbacks_____memory___true___stopOnFalse___true_______no_filter() throws Exception {
1213 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'stopOnFalse': true } ) - no filter");
1214 }
1215
1216
1217
1218
1219
1220 @Test
1221 @Alerts("29")
1222 public void callbacks__jQuery_Callbacks___memory_stopOnFalse______filter() throws Exception {
1223 runTest("callbacks: jQuery.Callbacks( 'memory stopOnFalse' ) - filter");
1224 }
1225
1226
1227
1228
1229
1230 @Test
1231 @Alerts("29")
1232 public void callbacks__jQuery_Callbacks_____memory___true___stopOnFalse___true_______filter() throws Exception {
1233 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'stopOnFalse': true } ) - filter");
1234 }
1235
1236
1237
1238
1239
1240 @Test
1241 @Alerts("29")
1242 public void callbacks__jQuery_Callbacks___unique_stopOnFalse______no_filter() throws Exception {
1243 runTest("callbacks: jQuery.Callbacks( 'unique stopOnFalse' ) - no filter");
1244 }
1245
1246
1247
1248
1249
1250 @Test
1251 @Alerts("29")
1252 public void callbacks__jQuery_Callbacks_____unique___true___stopOnFalse___true_______no_filter() throws Exception {
1253 runTest("callbacks: jQuery.Callbacks( { 'unique': true, 'stopOnFalse': true } ) - no filter");
1254 }
1255
1256
1257
1258
1259
1260 @Test
1261 @Alerts("29")
1262 public void callbacks__jQuery_Callbacks___unique_stopOnFalse______filter() throws Exception {
1263 runTest("callbacks: jQuery.Callbacks( 'unique stopOnFalse' ) - filter");
1264 }
1265
1266
1267
1268
1269
1270 @Test
1271 @Alerts("29")
1272 public void callbacks__jQuery_Callbacks_____unique___true___stopOnFalse___true_______filter() throws Exception {
1273 runTest("callbacks: jQuery.Callbacks( { 'unique': true, 'stopOnFalse': true } ) - filter");
1274 }
1275
1276
1277
1278
1279
1280 @Test
1281 @Alerts("1")
1282 public void callbacks__jQuery_Callbacks__options_____options_are_copied() throws Exception {
1283 runTest("callbacks: jQuery.Callbacks( options ) - options are copied");
1284 }
1285
1286
1287
1288
1289
1290 @Test
1291 @Alerts("1")
1292 public void callbacks__jQuery_Callbacks_fireWith___arguments_are_copied() throws Exception {
1293 runTest("callbacks: jQuery.Callbacks.fireWith - arguments are copied");
1294 }
1295
1296
1297
1298
1299
1300 @Test
1301 @Alerts("1")
1302 public void callbacks__jQuery_Callbacks_remove___should_remove_all_instances() throws Exception {
1303 runTest("callbacks: jQuery.Callbacks.remove - should remove all instances");
1304 }
1305
1306
1307
1308
1309
1310 @Test
1311 @Alerts("13")
1312 public void callbacks__jQuery_Callbacks_has() throws Exception {
1313 runTest("callbacks: jQuery.Callbacks.has");
1314 }
1315
1316
1317
1318
1319
1320 @Test
1321 @Alerts("1")
1322 public void callbacks__jQuery_Callbacks_____adding_a_string_doesn_t_cause_a_stack_overflow() throws Exception {
1323 runTest("callbacks: jQuery.Callbacks() - adding a string doesn't cause a stack overflow");
1324 }
1325
1326
1327
1328
1329
1330 @Test
1331 @Alerts("1")
1332 public void callbacks__jQuery_Callbacks_____disabled_callback_doesn_t_fire__gh_1790_() throws Exception {
1333 runTest("callbacks: jQuery.Callbacks() - disabled callback doesn't fire (gh-1790)");
1334 }
1335
1336
1337
1338
1339
1340 @Test
1341 @Alerts("3")
1342 public void callbacks__jQuery_Callbacks_____list_with_memory_stays_locked__gh_3469_() throws Exception {
1343 runTest("callbacks: jQuery.Callbacks() - list with memory stays locked (gh-3469)");
1344 }
1345
1346
1347
1348
1349
1350 @Test
1351 @Alerts("23")
1352 public void deferred__jQuery_Deferred() throws Exception {
1353 runTest("deferred: jQuery.Deferred");
1354 }
1355
1356
1357
1358
1359
1360 @Test
1361 @Alerts("23")
1362 public void deferred__jQuery_Deferred___new_operator() throws Exception {
1363 runTest("deferred: jQuery.Deferred - new operator");
1364 }
1365
1366
1367
1368
1369
1370 @Test
1371 @Alerts("10")
1372 public void deferred__jQuery_Deferred___chainability() throws Exception {
1373 runTest("deferred: jQuery.Deferred - chainability");
1374 }
1375
1376
1377
1378
1379
1380 @Test
1381 @Alerts("4")
1382 public void deferred__jQuery_Deferred_then___filtering__done_() throws Exception {
1383 runTest("deferred: jQuery.Deferred.then - filtering (done)");
1384 }
1385
1386
1387
1388
1389
1390 @Test
1391 @Alerts("4")
1392 public void deferred__jQuery_Deferred_then___filtering__fail_() throws Exception {
1393 runTest("deferred: jQuery.Deferred.then - filtering (fail)");
1394 }
1395
1396
1397
1398
1399
1400 @Test
1401 @Alerts("4")
1402 public void deferred__jQuery_Deferred_catch() throws Exception {
1403 runTest("deferred: jQuery.Deferred.catch");
1404 }
1405
1406
1407
1408
1409
1410 @Test
1411 @Alerts("4")
1412 public void deferred___PIPE_ONLY__jQuery_Deferred_pipe___filtering__fail_() throws Exception {
1413 runTest("deferred: [PIPE ONLY] jQuery.Deferred.pipe - filtering (fail)");
1414 }
1415
1416
1417
1418
1419
1420 @Test
1421 @Alerts("3")
1422 public void deferred__jQuery_Deferred_then___filtering__progress_() throws Exception {
1423 runTest("deferred: jQuery.Deferred.then - filtering (progress)");
1424 }
1425
1426
1427
1428
1429
1430 @Test
1431 @Alerts("3")
1432 public void deferred__jQuery_Deferred_then___deferred__done_() throws Exception {
1433 runTest("deferred: jQuery.Deferred.then - deferred (done)");
1434 }
1435
1436
1437
1438
1439
1440 @Test
1441 @Alerts("3")
1442 public void deferred__jQuery_Deferred_then___deferred__fail_() throws Exception {
1443 runTest("deferred: jQuery.Deferred.then - deferred (fail)");
1444 }
1445
1446
1447
1448
1449
1450 @Test
1451 @Alerts("3")
1452 public void deferred__jQuery_Deferred_then___deferred__progress_() throws Exception {
1453 runTest("deferred: jQuery.Deferred.then - deferred (progress)");
1454 }
1455
1456
1457
1458
1459
1460 @Test
1461 @Alerts("3")
1462 public void deferred___PIPE_ONLY__jQuery_Deferred_pipe___deferred__progress_() throws Exception {
1463 runTest("deferred: [PIPE ONLY] jQuery.Deferred.pipe - deferred (progress)");
1464 }
1465
1466
1467
1468
1469
1470 @Test
1471 @Alerts("11")
1472 public void deferred__jQuery_Deferred_then___context() throws Exception {
1473 runTest("deferred: jQuery.Deferred.then - context");
1474 }
1475
1476
1477
1478
1479
1480 @Test
1481 @Alerts("11")
1482 public void deferred___PIPE_ONLY__jQuery_Deferred_pipe___context() throws Exception {
1483 runTest("deferred: [PIPE ONLY] jQuery.Deferred.pipe - context");
1484 }
1485
1486
1487
1488
1489
1490 @Test
1491 @Alerts("1")
1492 public void deferred__jQuery_Deferred_then___spec_compatibility() throws Exception {
1493 runTest("deferred: jQuery.Deferred.then - spec compatibility");
1494 }
1495
1496
1497
1498
1499
1500 @Test
1501 @Alerts("1")
1502 public void deferred__jQuery_Deferred_then___IsCallable_determination__gh_3596_() throws Exception {
1503 runTest("deferred: jQuery.Deferred.then - IsCallable determination (gh-3596)");
1504 }
1505
1506
1507
1508
1509
1510 @Test
1511 @Alerts("2")
1512 public void deferred__jQuery_Deferred_exceptionHook() throws Exception {
1513 runTest("deferred: jQuery.Deferred.exceptionHook");
1514 }
1515
1516
1517
1518
1519
1520 @Test
1521 @Alerts("2")
1522 public void deferred__jQuery_Deferred_exceptionHook_with_stack_hooks() throws Exception {
1523 runTest("deferred: jQuery.Deferred.exceptionHook with stack hooks");
1524 }
1525
1526
1527
1528
1529
1530 @Test
1531 @Alerts("8")
1532 public void deferred__jQuery_Deferred___1_x_2_x_compatibility() throws Exception {
1533 runTest("deferred: jQuery.Deferred - 1.x/2.x compatibility");
1534 }
1535
1536
1537
1538
1539
1540 @Test
1541 @Alerts("2")
1542 public void deferred__jQuery_Deferred_then___progress_and_thenables() throws Exception {
1543 runTest("deferred: jQuery.Deferred.then - progress and thenables");
1544 }
1545
1546
1547
1548
1549
1550 @Test
1551 @Alerts("7")
1552 public void deferred__jQuery_Deferred___notify_and_resolve() throws Exception {
1553 runTest("deferred: jQuery.Deferred - notify and resolve");
1554 }
1555
1556
1557
1558
1559
1560 @Test
1561 @Alerts("2")
1562 public void deferred__jQuery_Deferred___resolved_to_a_notifying_deferred() throws Exception {
1563 runTest("deferred: jQuery.Deferred - resolved to a notifying deferred");
1564 }
1565
1566
1567
1568
1569
1570 @Test
1571 @Alerts("44")
1572 public void deferred__jQuery_when_nonThenable____like_Promise_resolve() throws Exception {
1573 runTest("deferred: jQuery.when(nonThenable) - like Promise.resolve");
1574 }
1575
1576
1577
1578
1579
1580 @Test
1581 @Alerts("68")
1582 @NotYetImplemented({ CHROME, FF, FF_ESR })
1583 public void deferred__jQuery_when_thenable____like_Promise_resolve() throws Exception {
1584 runTest("deferred: jQuery.when(thenable) - like Promise.resolve");
1585 }
1586
1587
1588
1589
1590
1591 @Test
1592 @Alerts("196")
1593 @NotYetImplemented({ CHROME, FF, FF_ESR })
1594 public void deferred__jQuery_when_a__b____like_Promise_all() throws Exception {
1595 runTest("deferred: jQuery.when(a, b) - like Promise.all");
1596 }
1597
1598
1599
1600
1601
1602 @Test
1603 @Alerts("42")
1604 public void deferred__jQuery_when___always_returns_a_new_promise() throws Exception {
1605 runTest("deferred: jQuery.when - always returns a new promise");
1606 }
1607
1608
1609
1610
1611
1612 @Test
1613 @Alerts("3")
1614 public void deferred__jQuery_when___notify_does_not_affect_resolved() throws Exception {
1615 runTest("deferred: jQuery.when - notify does not affect resolved");
1616 }
1617
1618
1619
1620
1621
1622 @Test
1623 @Alerts("5")
1624 public void deferred__jQuery_when________opportunistically_synchronous() throws Exception {
1625 runTest("deferred: jQuery.when(...) - opportunistically synchronous");
1626 }
1627
1628
1629
1630
1631
1632 @Test
1633 @Alerts("4")
1634 public void deprecated__bind_unbind() throws Exception {
1635 runTest("deprecated: bind/unbind");
1636 }
1637
1638
1639
1640
1641
1642 @Test
1643 @Alerts("2")
1644 public void deprecated__delegate_undelegate() throws Exception {
1645 runTest("deprecated: delegate/undelegate");
1646 }
1647
1648
1649
1650
1651
1652 @Test
1653 @Alerts("1")
1654 public void deprecated__hover___mouseenter_mouseleave() throws Exception {
1655 runTest("deprecated: hover() mouseenter mouseleave");
1656 }
1657
1658
1659
1660
1661
1662 @Test
1663 @Alerts("5")
1664 public void deprecated__trigger___shortcuts() throws Exception {
1665 runTest("deprecated: trigger() shortcuts");
1666 }
1667
1668
1669
1670
1671
1672 @Test
1673 @Alerts("18")
1674 public void deprecated__Event_aliases() throws Exception {
1675 runTest("deprecated: Event aliases");
1676 }
1677
1678
1679
1680
1681
1682 @Test
1683 @Alerts("20")
1684 public void deprecated__jQuery_parseJSON() throws Exception {
1685 runTest("deprecated: jQuery.parseJSON");
1686 }
1687
1688
1689
1690
1691
1692 @Test
1693 @Alerts("1")
1694 public void deprecated__jQuery_isArray() throws Exception {
1695 runTest("deprecated: jQuery.isArray");
1696 }
1697
1698
1699
1700
1701
1702 @Test
1703 @Alerts("8")
1704 public void deprecated__jQuery_nodeName() throws Exception {
1705 runTest("deprecated: jQuery.nodeName");
1706 }
1707
1708
1709
1710
1711
1712 @Test
1713 @Alerts("28")
1714 public void deprecated__type() throws Exception {
1715 runTest("deprecated: type");
1716 }
1717
1718
1719
1720
1721
1722 @Test
1723 @Alerts("2")
1724 public void deprecated__type_for__Symbol_() throws Exception {
1725 runTest("deprecated: type for `Symbol`");
1726 }
1727
1728
1729
1730
1731
1732 @Test
1733 @Alerts("20")
1734 public void deprecated__isFunction() throws Exception {
1735 runTest("deprecated: isFunction");
1736 }
1737
1738
1739
1740
1741
1742 @Test
1743 @Alerts("1")
1744 public void deprecated__isFunction_cross_realm_function_() throws Exception {
1745 runTest("deprecated: isFunction(cross-realm function)");
1746 }
1747
1748
1749
1750
1751
1752 @Test
1753 @Alerts("1")
1754 public void deprecated__isFunction_GeneratorFunction_() throws Exception {
1755 runTest("deprecated: isFunction(GeneratorFunction)");
1756 }
1757
1758
1759
1760
1761
1762 @Test
1763 @Alerts("1")
1764 @NotYetImplemented({ CHROME, FF, FF_ESR })
1765 public void deprecated__isFunction_AsyncFunction_() throws Exception {
1766 runTest("deprecated: isFunction(AsyncFunction)");
1767 }
1768
1769
1770
1771
1772
1773 @Test
1774 @Alerts("2")
1775 public void deprecated__isFunction_custom___toStringTag_() throws Exception {
1776 runTest("deprecated: isFunction(custom @@toStringTag)");
1777 }
1778
1779
1780
1781
1782
1783 @Test
1784 @Alerts("14")
1785 public void deprecated__jQuery_isWindow() throws Exception {
1786 runTest("deprecated: jQuery.isWindow");
1787 }
1788
1789
1790
1791
1792
1793 @Test
1794 @Alerts("7")
1795 public void deprecated__jQuery_camelCase__() throws Exception {
1796 runTest("deprecated: jQuery.camelCase()");
1797 }
1798
1799
1800
1801
1802
1803 @Test
1804 @Alerts("1")
1805 public void deprecated__jQuery_now() throws Exception {
1806 runTest("deprecated: jQuery.now");
1807 }
1808
1809
1810
1811
1812
1813 @Test
1814 @Alerts("9")
1815 public void deprecated__jQuery_proxy() throws Exception {
1816 runTest("deprecated: jQuery.proxy");
1817 }
1818
1819
1820
1821
1822
1823 @Test
1824 @Alerts("43")
1825 public void deprecated__isNumeric() throws Exception {
1826 runTest("deprecated: isNumeric");
1827 }
1828
1829
1830
1831
1832
1833 @Test
1834 @Alerts("2")
1835 public void deprecated__isNumeric_Symbol_() throws Exception {
1836 runTest("deprecated: isNumeric(Symbol)");
1837 }
1838
1839
1840
1841
1842
1843 @Test
1844 @Alerts("2")
1845 public void support__body_background_is_not_lost_if_set_prior_to_loading_jQuery___9239_() throws Exception {
1846 runTest("support: body background is not lost if set prior to loading jQuery (#9239)");
1847 }
1848
1849
1850
1851
1852
1853 @Test
1854 @Alerts("1, 1, 2")
1855 @NotYetImplemented
1856 public void support__Check_CSP__https___developer_mozilla_org_en_US_docs_Security_CSP__restrictions() throws Exception {
1857 runTest("support: Check CSP (https://developer.mozilla.org/en-US/docs/Security/CSP) restrictions");
1858 }
1859
1860
1861
1862
1863
1864 @Test
1865 @Alerts(DEFAULT = "15",
1866 FF = "1, 14, 15",
1867 FF_ESR = "1, 14, 15")
1868 @NotYetImplemented({ CHROME, EDGE})
1869 public void support__Verify_that_support_tests_resolve_as_expected_per_browser() throws Exception {
1870 runTest("support: Verify that support tests resolve as expected per browser");
1871 }
1872
1873
1874
1875
1876
1877 @Test
1878 @Alerts("1")
1879 public void data__expando() throws Exception {
1880 runTest("data: expando");
1881 }
1882
1883
1884
1885
1886
1887 @Test
1888 @Alerts("4")
1889 public void data__jQuery_data___removeData__expected_returns() throws Exception {
1890 runTest("data: jQuery.data & removeData, expected returns");
1891 }
1892
1893
1894
1895
1896
1897 @Test
1898 @Alerts("4")
1899 public void data__jQuery__data____removeData__expected_returns() throws Exception {
1900 runTest("data: jQuery._data & _removeData, expected returns");
1901 }
1902
1903
1904
1905
1906
1907 @Test
1908 @Alerts("1")
1909 public void data__jQuery_hasData_no_side_effects() throws Exception {
1910 runTest("data: jQuery.hasData no side effects");
1911 }
1912
1913
1914
1915
1916
1917 @Test
1918 @Alerts("25")
1919 public void data__jQuery_data_div_() throws Exception {
1920 runTest("data: jQuery.data(div)");
1921 }
1922
1923
1924
1925
1926
1927 @Test
1928 @Alerts("25")
1929 public void data__jQuery_data____() throws Exception {
1930 runTest("data: jQuery.data({})");
1931 }
1932
1933
1934
1935
1936
1937 @Test
1938 @Alerts("25")
1939 public void data__jQuery_data_window_() throws Exception {
1940 runTest("data: jQuery.data(window)");
1941 }
1942
1943
1944
1945
1946
1947 @Test
1948 @Alerts("25")
1949 public void data__jQuery_data_document_() throws Exception {
1950 runTest("data: jQuery.data(document)");
1951 }
1952
1953
1954
1955
1956
1957 @Test
1958 @Alerts("25")
1959 public void data__jQuery_data__embed__() throws Exception {
1960 runTest("data: jQuery.data(<embed>)");
1961 }
1962
1963
1964
1965
1966
1967 @Test
1968 @Alerts("25")
1969 public void data__jQuery_data_object_flash_() throws Exception {
1970 runTest("data: jQuery.data(object/flash)");
1971 }
1972
1973
1974
1975
1976
1977 @Test
1978 @Alerts("2")
1979 public void data__jQuery___data_______undefined___14101_() throws Exception {
1980 runTest("data: jQuery().data() === undefined (#14101)");
1981 }
1982
1983
1984
1985
1986
1987 @Test
1988 @Alerts("5")
1989 public void data___data__() throws Exception {
1990 runTest("data: .data()");
1991 }
1992
1993
1994
1995
1996
1997 @Test
1998 @Alerts("18")
1999 public void data__jQuery_Element__data_String__Object__data_String_() throws Exception {
2000 runTest("data: jQuery(Element).data(String, Object).data(String)");
2001 }
2002
2003
2004
2005
2006
2007 @Test
2008 @Alerts("16")
2009 public void data__jQuery_plain_Object__data_String__Object__data_String_() throws Exception {
2010 runTest("data: jQuery(plain Object).data(String, Object).data(String)");
2011 }
2012
2013
2014
2015
2016
2017 @Test
2018 @Alerts("2")
2019 public void data___data_object__does_not_retain_references___13815() throws Exception {
2020 runTest("data: .data(object) does not retain references. #13815");
2021 }
2022
2023
2024
2025
2026
2027 @Test
2028 @Alerts("46")
2029 public void data__data___attributes() throws Exception {
2030 runTest("data: data-* attributes");
2031 }
2032
2033
2034
2035
2036
2037 @Test
2038 @Alerts("4")
2039 public void data___data_Object_() throws Exception {
2040 runTest("data: .data(Object)");
2041 }
2042
2043
2044
2045
2046
2047 @Test
2048 @Alerts("10")
2049 public void data__jQuery_removeData() throws Exception {
2050 runTest("data: jQuery.removeData");
2051 }
2052
2053
2054
2055
2056
2057 @Test
2058 @Alerts("6")
2059 public void data___removeData__() throws Exception {
2060 runTest("data: .removeData()");
2061 }
2062
2063
2064
2065
2066
2067 @Test
2068 @Alerts("1")
2069 public void data__JSON_serialization___8108_() throws Exception {
2070 runTest("data: JSON serialization (#8108)");
2071 }
2072
2073
2074
2075
2076
2077 @Test
2078 @Alerts("12")
2079 public void data___data_should_follow_html5_specification_regarding_camel_casing() throws Exception {
2080 runTest("data: .data should follow html5 specification regarding camel casing");
2081 }
2082
2083
2084
2085
2086
2087 @Test
2088 @Alerts("2")
2089 public void data___data_should_not_miss_preset_data___w__hyphenated_property_names() throws Exception {
2090 runTest("data: .data should not miss preset data-* w/ hyphenated property names");
2091 }
2092
2093
2094
2095
2096
2097 @Test
2098 @Alerts("1")
2099 public void data__jQuery_data_should_not_miss_data___w__hyphenated_property_names__14047() throws Exception {
2100 runTest("data: jQuery.data should not miss data-* w/ hyphenated property names #14047");
2101 }
2102
2103
2104
2105
2106
2107 @Test
2108 @Alerts("2")
2109 public void data___data_should_not_miss_attr___set_data___with_hyphenated_property_names() throws Exception {
2110 runTest("data: .data should not miss attr() set data-* with hyphenated property names");
2111 }
2112
2113
2114
2115
2116
2117 @Test
2118 @Alerts("18")
2119 public void data___data_always_sets_data_with_the_camelCased_key__gh_2257_() throws Exception {
2120 runTest("data: .data always sets data with the camelCased key (gh-2257)");
2121 }
2122
2123
2124
2125
2126
2127 @Test
2128 @Alerts("3")
2129 public void data___data_should_not_strip_more_than_one_hyphen_when_camelCasing__gh_2070_() throws Exception {
2130 runTest("data: .data should not strip more than one hyphen when camelCasing (gh-2070)");
2131 }
2132
2133
2134
2135
2136
2137 @Test
2138 @Alerts("24")
2139 public void data___data_supports_interoperable_hyphenated_camelCase_get_set_of_properties_with_arbitrary_non_null_NaN_undefined_values() throws Exception {
2140 runTest("data: .data supports interoperable hyphenated/camelCase get/set of properties with arbitrary non-null|NaN|undefined values");
2141 }
2142
2143
2144
2145
2146
2147 @Test
2148 @Alerts("27")
2149 public void data___data_supports_interoperable_removal_of_hyphenated_camelCase_properties() throws Exception {
2150 runTest("data: .data supports interoperable removal of hyphenated/camelCase properties");
2151 }
2152
2153
2154
2155
2156
2157 @Test
2158 @Alerts("9")
2159 public void data___data_supports_interoperable_removal_of_properties_SET_TWICE__13850() throws Exception {
2160 runTest("data: .data supports interoperable removal of properties SET TWICE #13850");
2161 }
2162
2163
2164
2165
2166
2167 @Test
2168 @Alerts("4")
2169 public void data___removeData_supports_removal_of_hyphenated_properties_via_array___12786__gh_2257_() throws Exception {
2170 runTest("data: .removeData supports removal of hyphenated properties via array (#12786, gh-2257)");
2171 }
2172
2173
2174
2175
2176
2177 @Test
2178 @Alerts("1")
2179 public void data___removeData_should_not_throw_exceptions____10080_() throws Exception {
2180 runTest("data: .removeData should not throw exceptions. (#10080)");
2181 }
2182
2183
2184
2185
2186
2187 @Test
2188 @Alerts("2")
2189 public void data___data_only_checks_element_attributes_once___8909() throws Exception {
2190 runTest("data: .data only checks element attributes once. #8909");
2191 }
2192
2193
2194
2195
2196
2197 @Test
2198 @Alerts("1")
2199 public void data__data___with_JSON_value_can_have_newlines() throws Exception {
2200 runTest("data: data-* with JSON value can have newlines");
2201 }
2202
2203
2204
2205
2206
2207 @Test
2208 @Alerts("1")
2209 public void data___data_doesn_t_throw_when_calling_selection_is_empty___13551() throws Exception {
2210 runTest("data: .data doesn't throw when calling selection is empty. #13551");
2211 }
2212
2213
2214
2215
2216
2217 @Test
2218 @Alerts("10")
2219 public void data__acceptData() throws Exception {
2220 runTest("data: acceptData");
2221 }
2222
2223
2224
2225
2226
2227 @Test
2228 @Alerts("1")
2229 public void data__Check_proper_data_removal_of_non_element_descendants_nodes___8335_() throws Exception {
2230 runTest("data: Check proper data removal of non-element descendants nodes (#8335)");
2231 }
2232
2233
2234
2235
2236
2237 @Test
2238 @Alerts("1")
2239 public void data__enumerate_data_attrs_on_body___14894_() throws Exception {
2240 runTest("data: enumerate data attrs on body (#14894)");
2241 }
2242
2243
2244
2245
2246
2247 @Test
2248 @Alerts("2")
2249 public void data__Check_that_the_expando_is_removed_when_there_s_no_more_data() throws Exception {
2250 runTest("data: Check that the expando is removed when there's no more data");
2251 }
2252
2253
2254
2255
2256
2257 @Test
2258 @Alerts("1")
2259 public void data__Check_that_the_expando_is_removed_when_there_s_no_more_data_on_non_nodes() throws Exception {
2260 runTest("data: Check that the expando is removed when there's no more data on non-nodes");
2261 }
2262
2263
2264
2265
2266
2267 @Test
2268 @Alerts("1")
2269 public void data___data_prop__does_not_create_expando() throws Exception {
2270 runTest("data: .data(prop) does not create expando");
2271 }
2272
2273
2274
2275
2276
2277 @Test
2278 @Alerts("14")
2279 public void queue__queue___with_other_types() throws Exception {
2280 runTest("queue: queue() with other types");
2281 }
2282
2283
2284
2285
2286
2287 @Test
2288 @Alerts("2")
2289 public void queue__queue_name__passes_in_the_next_item_in_the_queue_as_a_parameter() throws Exception {
2290 runTest("queue: queue(name) passes in the next item in the queue as a parameter");
2291 }
2292
2293
2294
2295
2296
2297 @Test
2298 @Alerts("3")
2299 public void queue__queue___passes_in_the_next_item_in_the_queue_as_a_parameter_to_fx_queues() throws Exception {
2300 runTest("queue: queue() passes in the next item in the queue as a parameter to fx queues");
2301 }
2302
2303
2304
2305
2306
2307 @Test
2308 @Alerts("5")
2309 public void queue__callbacks_keep_their_place_in_the_queue() throws Exception {
2310 runTest("queue: callbacks keep their place in the queue");
2311 }
2312
2313
2314
2315
2316
2317 @Test
2318 @Alerts("1")
2319 public void queue__jQuery_queue_should_return_array_while_manipulating_the_queue() throws Exception {
2320 runTest("queue: jQuery.queue should return array while manipulating the queue");
2321 }
2322
2323
2324
2325
2326
2327 @Test
2328 @Alerts("2")
2329 public void queue__delay__() throws Exception {
2330 runTest("queue: delay()");
2331 }
2332
2333
2334
2335
2336
2337 @Test
2338 @Alerts("2")
2339 public void queue__clearQueue_name__clears_the_queue() throws Exception {
2340 runTest("queue: clearQueue(name) clears the queue");
2341 }
2342
2343
2344
2345
2346
2347 @Test
2348 @Alerts("1")
2349 public void queue__clearQueue___clears_the_fx_queue() throws Exception {
2350 runTest("queue: clearQueue() clears the fx queue");
2351 }
2352
2353
2354
2355
2356
2357 @Test
2358 @Alerts("3")
2359 public void queue__fn_promise_____called_when_fx_queue_is_empty() throws Exception {
2360 runTest("queue: fn.promise() - called when fx queue is empty");
2361 }
2362
2363
2364
2365
2366
2367 @Test
2368 @Alerts("5")
2369 public void queue__fn_promise___queue______called_whenever_last_queue_function_is_dequeued() throws Exception {
2370 runTest("queue: fn.promise( \"queue\" ) - called whenever last queue function is dequeued");
2371 }
2372
2373
2374
2375
2376
2377 @Test
2378 @Alerts("2")
2379 public void queue__fn_promise___queue______waits_for_animation_to_complete_before_resolving() throws Exception {
2380 runTest("queue: fn.promise( \"queue\" ) - waits for animation to complete before resolving");
2381 }
2382
2383
2384
2385
2386
2387 @Test
2388 @Alerts("2")
2389 public void queue___promise_obj_() throws Exception {
2390 runTest("queue: .promise(obj)");
2391 }
2392
2393
2394
2395
2396
2397 @Test
2398 @Alerts("3")
2399 public void queue__delay___can_be_stopped() throws Exception {
2400 runTest("queue: delay() can be stopped");
2401 }
2402
2403
2404
2405
2406
2407 @Test
2408 @Alerts("2")
2409 public void queue__queue_stop_hooks() throws Exception {
2410 runTest("queue: queue stop hooks");
2411 }
2412
2413
2414
2415
2416
2417 @Test
2418 @Alerts("1")
2419 public void attributes__jQuery_propFix_integrity_test() throws Exception {
2420 runTest("attributes: jQuery.propFix integrity test");
2421 }
2422
2423
2424
2425
2426
2427 @Test
2428 @Alerts("50")
2429 public void attributes__attr_String_() throws Exception {
2430 runTest("attributes: attr(String)");
2431 }
2432
2433
2434
2435
2436
2437 @Test
2438 @Alerts("4")
2439 public void attributes__attr_String__on_cloned_elements___9646() throws Exception {
2440 runTest("attributes: attr(String) on cloned elements, #9646");
2441 }
2442
2443
2444
2445
2446
2447 @Test
2448 @Alerts("3")
2449 public void attributes__attr_String__in_XML_Files() throws Exception {
2450 runTest("attributes: attr(String) in XML Files");
2451 }
2452
2453
2454
2455
2456
2457 @Test
2458 @Alerts("2")
2459 public void attributes__attr_String__Function_() throws Exception {
2460 runTest("attributes: attr(String, Function)");
2461 }
2462
2463
2464
2465
2466
2467 @Test
2468 @Alerts("3")
2469 public void attributes__attr_Hash_() throws Exception {
2470 runTest("attributes: attr(Hash)");
2471 }
2472
2473
2474
2475
2476
2477 @Test
2478 @Alerts("71")
2479 public void attributes__attr_String__Object_() throws Exception {
2480 runTest("attributes: attr(String, Object)");
2481 }
2482
2483
2484
2485
2486
2487 @Test
2488 @Alerts("2")
2489 public void attributes__attr_non_ASCII_() throws Exception {
2490 runTest("attributes: attr(non-ASCII)");
2491 }
2492
2493
2494
2495
2496
2497 @Test
2498 @Alerts("1")
2499 public void attributes__attr___extending_the_boolean_attrHandle() throws Exception {
2500 runTest("attributes: attr - extending the boolean attrHandle");
2501 }
2502
2503
2504
2505
2506
2507 @Test
2508 @Alerts("2")
2509 public void attributes__attr_String__Object____Loaded_via_XML_document() throws Exception {
2510 runTest("attributes: attr(String, Object) - Loaded via XML document");
2511 }
2512
2513
2514
2515
2516
2517 @Test
2518 @Alerts("2")
2519 public void attributes__attr_String__Object____Loaded_via_XML_fragment() throws Exception {
2520 runTest("attributes: attr(String, Object) - Loaded via XML fragment");
2521 }
2522
2523
2524
2525
2526
2527 @Test
2528 @Alerts("8")
2529 public void attributes__attr__tabindex__() throws Exception {
2530 runTest("attributes: attr('tabindex')");
2531 }
2532
2533
2534
2535
2536
2537 @Test
2538 @Alerts("9")
2539 public void attributes__attr__tabindex___value_() throws Exception {
2540 runTest("attributes: attr('tabindex', value)");
2541 }
2542
2543
2544
2545
2546
2547 @Test
2548 @Alerts("12")
2549 public void attributes__removeAttr_String_() throws Exception {
2550 runTest("attributes: removeAttr(String)");
2551 }
2552
2553
2554
2555
2556
2557 @Test
2558 @Alerts("7")
2559 public void attributes__removeAttr_String__in_XML() throws Exception {
2560 runTest("attributes: removeAttr(String) in XML");
2561 }
2562
2563
2564
2565
2566
2567 @Test
2568 @Alerts("8")
2569 public void attributes__removeAttr_Multi_String__variable_space_width_() throws Exception {
2570 runTest("attributes: removeAttr(Multi String, variable space width)");
2571 }
2572
2573
2574
2575
2576
2577 @Test
2578 @Alerts("8")
2579 public void attributes__removeAttr_Multi_String__non_HTML_whitespace_is_valid_in_attribute_names__gh_3003_() throws Exception {
2580 runTest("attributes: removeAttr(Multi String, non-HTML whitespace is valid in attribute names (gh-3003)");
2581 }
2582
2583
2584
2585
2586
2587 @Test
2588 @Alerts("17")
2589 public void attributes__prop_String__Object_() throws Exception {
2590 runTest("attributes: prop(String, Object)");
2591 }
2592
2593
2594
2595
2596
2597 @Test
2598 @Alerts("14")
2599 public void attributes__prop_String__Object__on_null_undefined() throws Exception {
2600 runTest("attributes: prop(String, Object) on null/undefined");
2601 }
2602
2603
2604
2605
2606
2607 @Test
2608 @Alerts("11")
2609 public void attributes__prop__tabindex__() throws Exception {
2610 runTest("attributes: prop('tabindex')");
2611 }
2612
2613
2614
2615
2616
2617 @Test
2618 @Alerts("1")
2619 public void attributes__image_prop___tabIndex___() throws Exception {
2620 runTest("attributes: image.prop( 'tabIndex' )");
2621 }
2622
2623
2624
2625
2626
2627 @Test
2628 @Alerts("10")
2629 public void attributes__prop__tabindex___value_() throws Exception {
2630 runTest("attributes: prop('tabindex', value)");
2631 }
2632
2633
2634
2635
2636
2637 @Test
2638 @Alerts("2")
2639 public void attributes__option_prop__selected___true__affects_select_selectedIndex__gh_2732_() throws Exception {
2640 runTest("attributes: option.prop('selected', true) affects select.selectedIndex (gh-2732)");
2641 }
2642
2643
2644
2645
2646
2647 @Test
2648 @Alerts("6")
2649 public void attributes__removeProp_String_() throws Exception {
2650 runTest("attributes: removeProp(String)");
2651 }
2652
2653
2654
2655
2656
2657 @Test
2658 @Alerts("1")
2659 public void attributes__val___after_modification() throws Exception {
2660 runTest("attributes: val() after modification");
2661 }
2662
2663
2664
2665
2666
2667 @Test
2668 @Alerts("26")
2669 @NotYetImplemented
2670 public void attributes__val__() throws Exception {
2671 runTest("attributes: val()");
2672 }
2673
2674
2675
2676
2677
2678 @Test
2679 @Alerts("3")
2680 public void attributes__val___with_non_matching_values_on_dropdown_list() throws Exception {
2681 runTest("attributes: val() with non-matching values on dropdown list");
2682 }
2683
2684
2685
2686
2687
2688 @Test
2689 @Alerts(CHROME = "4",
2690 EDGE = "4",
2691 FF = "4",
2692 FF_ESR = "4")
2693 public void attributes__val___respects_numbers_without_exception__Bug__9319_() throws Exception {
2694 runTest("attributes: val() respects numbers without exception (Bug #9319)");
2695 }
2696
2697
2698
2699
2700
2701 @Test
2702 @Alerts("9")
2703 public void attributes__val_String_Number_() throws Exception {
2704 runTest("attributes: val(String/Number)");
2705 }
2706
2707
2708
2709
2710
2711 @Test
2712 @Alerts("9")
2713 public void attributes__val_Function_() throws Exception {
2714 runTest("attributes: val(Function)");
2715 }
2716
2717
2718
2719
2720
2721 @Test
2722 @Alerts("4")
2723 public void attributes__val_Array_of_Numbers___Bug__7123_() throws Exception {
2724 runTest("attributes: val(Array of Numbers) (Bug #7123)");
2725 }
2726
2727
2728
2729
2730
2731 @Test
2732 @Alerts("10")
2733 public void attributes__val_Function__with_incoming_value() throws Exception {
2734 runTest("attributes: val(Function) with incoming value");
2735 }
2736
2737
2738
2739
2740
2741 @Test
2742 @Alerts("3")
2743 public void attributes__val_select__after_form_reset____Bug__2551_() throws Exception {
2744 runTest("attributes: val(select) after form.reset() (Bug #2551)");
2745 }
2746
2747
2748
2749
2750
2751 @Test
2752 @Alerts("37")
2753 public void attributes__select_val_space_characters___gh_2978_() throws Exception {
2754 runTest("attributes: select.val(space characters) (gh-2978)");
2755 }
2756
2757
2758
2759
2760
2761 @Test
2762 @Alerts("9")
2763 public void attributes__addClass_String_() throws Exception {
2764 runTest("attributes: addClass(String)");
2765 }
2766
2767
2768
2769
2770
2771 @Test
2772 @Alerts("9")
2773 public void attributes__addClass_Function_() throws Exception {
2774 runTest("attributes: addClass(Function)");
2775 }
2776
2777
2778
2779
2780
2781 @Test
2782 @Alerts("9")
2783 public void attributes__addClass_Array_() throws Exception {
2784 runTest("attributes: addClass(Array)");
2785 }
2786
2787
2788
2789
2790
2791 @Test
2792 @Alerts("52")
2793 public void attributes__addClass_Function__with_incoming_value() throws Exception {
2794 runTest("attributes: addClass(Function) with incoming value");
2795 }
2796
2797
2798
2799
2800
2801 @Test
2802 @Alerts("8")
2803 public void attributes__removeClass_String____simple() throws Exception {
2804 runTest("attributes: removeClass(String) - simple");
2805 }
2806
2807
2808
2809
2810
2811 @Test
2812 @Alerts("8")
2813 public void attributes__removeClass_Function____simple() throws Exception {
2814 runTest("attributes: removeClass(Function) - simple");
2815 }
2816
2817
2818
2819
2820
2821 @Test
2822 @Alerts("8")
2823 public void attributes__removeClass_Array____simple() throws Exception {
2824 runTest("attributes: removeClass(Array) - simple");
2825 }
2826
2827
2828
2829
2830
2831 @Test
2832 @Alerts("52")
2833 public void attributes__removeClass_Function__with_incoming_value() throws Exception {
2834 runTest("attributes: removeClass(Function) with incoming value");
2835 }
2836
2837
2838
2839
2840
2841 @Test
2842 @Alerts("1")
2843 public void attributes__removeClass___removes_duplicates() throws Exception {
2844 runTest("attributes: removeClass() removes duplicates");
2845 }
2846
2847
2848
2849
2850
2851 @Test
2852 @Alerts("1")
2853 public void attributes__removeClass_undefined__is_a_no_op() throws Exception {
2854 runTest("attributes: removeClass(undefined) is a no-op");
2855 }
2856
2857
2858
2859
2860
2861 @Test
2862 @Alerts("19")
2863 public void attributes__toggleClass_String_boolean_undefined___boolean__() throws Exception {
2864 runTest("attributes: toggleClass(String|boolean|undefined[, boolean])");
2865 }
2866
2867
2868
2869
2870
2871 @Test
2872 @Alerts("19")
2873 public void attributes__toggleClass_Function___boolean__() throws Exception {
2874 runTest("attributes: toggleClass(Function[, boolean])");
2875 }
2876
2877
2878
2879
2880
2881 @Test
2882 @Alerts("19")
2883 public void attributes__toggleClass_Array___boolean__() throws Exception {
2884 runTest("attributes: toggleClass(Array[, boolean])");
2885 }
2886
2887
2888
2889
2890
2891 @Test
2892 @Alerts("14")
2893 public void attributes__toggleClass_Function___boolean___with_incoming_value() throws Exception {
2894 runTest("attributes: toggleClass(Function[, boolean]) with incoming value");
2895 }
2896
2897
2898
2899
2900
2901 @Test
2902 @Alerts("17")
2903 public void attributes__addClass__removeClass__hasClass() throws Exception {
2904 runTest("attributes: addClass, removeClass, hasClass");
2905 }
2906
2907
2908
2909
2910
2911 @Test
2912 @Alerts("19")
2913 public void attributes__addClass__removeClass__hasClass_on_many_elements() throws Exception {
2914 runTest("attributes: addClass, removeClass, hasClass on many elements");
2915 }
2916
2917
2918
2919
2920
2921 @Test
2922 @Alerts("16")
2923 public void attributes__addClass__removeClass__hasClass_on_many_elements___Array() throws Exception {
2924 runTest("attributes: addClass, removeClass, hasClass on many elements - Array");
2925 }
2926
2927
2928
2929
2930
2931 @Test
2932 @Alerts("9")
2933 public void attributes__addClass__removeClass__hasClass_on_elements_with_classes_with_non_HTML_whitespace__gh_3072__gh_3003_() throws Exception {
2934 runTest("attributes: addClass, removeClass, hasClass on elements with classes with non-HTML whitespace (gh-3072, gh-3003)");
2935 }
2936
2937
2938
2939
2940
2941 @Test
2942 @Alerts("2")
2943 public void attributes__contents___hasClass___returns_correct_values() throws Exception {
2944 runTest("attributes: contents().hasClass() returns correct values");
2945 }
2946
2947
2948
2949
2950
2951 @Test
2952 @Alerts("4")
2953 public void attributes__hasClass_correctly_interprets_non_space_separators___13835_() throws Exception {
2954 runTest("attributes: hasClass correctly interprets non-space separators (#13835)");
2955 }
2956
2957
2958
2959
2960
2961 @Test
2962 @Alerts("1")
2963 public void attributes__coords_returns_correct_values_in_IE6_IE7__see__10828() throws Exception {
2964 runTest("attributes: coords returns correct values in IE6/IE7, see #10828");
2965 }
2966
2967
2968
2969
2970
2971 @Test
2972 @Alerts("1")
2973 public void attributes__should_not_throw_at___option__val_____14686_() throws Exception {
2974 runTest("attributes: should not throw at $(option).val() (#14686)");
2975 }
2976
2977
2978
2979
2980
2981 @Test
2982 @Alerts("1")
2983 public void attributes__option_value_not_trimmed_when_setting_via_parent_select() throws Exception {
2984 runTest("attributes: option value not trimmed when setting via parent select");
2985 }
2986
2987
2988
2989
2990
2991 @Test
2992 @Alerts("16")
2993 public void attributes__Insignificant_white_space_returned_for___option__val_____14858__gh_2978_() throws Exception {
2994 runTest("attributes: Insignificant white space returned for $(option).val() (#14858, gh-2978)");
2995 }
2996
2997
2998
2999
3000
3001 @Test
3002 @Alerts("12")
3003 public void attributes__SVG_class_manipulation__gh_2199_() throws Exception {
3004 runTest("attributes: SVG class manipulation (gh-2199)");
3005 }
3006
3007
3008
3009
3010
3011 @Test
3012 @Alerts("3")
3013 public void attributes__non_lowercase_boolean_attribute_getters_should_not_crash() throws Exception {
3014 runTest("attributes: non-lowercase boolean attribute getters should not crash");
3015 }
3016
3017
3018
3019
3020
3021 @Test
3022 @Alerts("4")
3023 public void event__null_or_undefined_handler() throws Exception {
3024 runTest("event: null or undefined handler");
3025 }
3026
3027
3028
3029
3030
3031 @Test
3032 @Alerts("2")
3033 public void event__on___with_non_null_defined_data() throws Exception {
3034 runTest("event: on() with non-null,defined data");
3035 }
3036
3037
3038
3039
3040
3041 @Test
3042 @Alerts("1")
3043 public void event__Handler_changes_and__trigger___order() throws Exception {
3044 runTest("event: Handler changes and .trigger() order");
3045 }
3046
3047
3048
3049
3050
3051 @Test
3052 @Alerts("4")
3053 public void event__on____with_data() throws Exception {
3054 runTest("event: on(), with data");
3055 }
3056
3057
3058
3059
3060
3061 @Test
3062 @Alerts("3")
3063 public void event__click____with_data() throws Exception {
3064 runTest("event: click(), with data");
3065 }
3066
3067
3068
3069
3070
3071 @Test
3072 @Alerts("4")
3073 public void event__on____with_data__trigger_with_data() throws Exception {
3074 runTest("event: on(), with data, trigger with data");
3075 }
3076
3077
3078
3079
3080
3081 @Test
3082 @Alerts("2")
3083 public void event__on____multiple_events_at_once() throws Exception {
3084 runTest("event: on(), multiple events at once");
3085 }
3086
3087
3088
3089
3090
3091 @Test
3092 @Alerts("1")
3093 public void event__on____five_events_at_once() throws Exception {
3094 runTest("event: on(), five events at once");
3095 }
3096
3097
3098
3099
3100
3101 @Test
3102 @Alerts("7")
3103 public void event__on____multiple_events_at_once_and_namespaces() throws Exception {
3104 runTest("event: on(), multiple events at once and namespaces");
3105 }
3106
3107
3108
3109
3110
3111 @Test
3112 @Alerts("27")
3113 public void event__on____namespace_with_special_add() throws Exception {
3114 runTest("event: on(), namespace with special add");
3115 }
3116
3117
3118
3119
3120
3121 @Test
3122 @Alerts("1")
3123 public void event__on____no_data() throws Exception {
3124 runTest("event: on(), no data");
3125 }
3126
3127
3128
3129
3130
3131 @Test
3132 @Alerts("6")
3133 public void event__on_one_off_Object_() throws Exception {
3134 runTest("event: on/one/off(Object)");
3135 }
3136
3137
3138
3139
3140
3141 @Test
3142 @Alerts("6")
3143 public void event__on_off_Object___on_off_Object__String_() throws Exception {
3144 runTest("event: on/off(Object), on/off(Object, String)");
3145 }
3146
3147
3148
3149
3150
3151 @Test
3152 @Alerts("2")
3153 public void event__on_immediate_propagation() throws Exception {
3154 runTest("event: on immediate propagation");
3155 }
3156
3157
3158
3159
3160
3161 @Test
3162 @Alerts("3")
3163 public void event__on_bubbling__isDefaultPrevented__stopImmediatePropagation() throws Exception {
3164 runTest("event: on bubbling, isDefaultPrevented, stopImmediatePropagation");
3165 }
3166
3167
3168
3169
3170
3171 @Test
3172 @Alerts("1")
3173 public void event__triggered_events_stopPropagation___for_natively_bound_events() throws Exception {
3174 runTest("event: triggered events stopPropagation() for natively-bound events");
3175 }
3176
3177
3178
3179
3180
3181 @Test
3182 @Alerts("0")
3183 public void event__trigger___works_with_events_that_were_previously_stopped() throws Exception {
3184 runTest("event: trigger() works with events that were previously stopped");
3185 }
3186
3187
3188
3189
3190
3191 @Test
3192 @Alerts("1")
3193 public void event__on____iframes() throws Exception {
3194 runTest("event: on(), iframes");
3195 }
3196
3197
3198
3199
3200
3201 @Test
3202 @Alerts("5")
3203 public void event__on____trigger_change_on_select() throws Exception {
3204 runTest("event: on(), trigger change on select");
3205 }
3206
3207
3208
3209
3210
3211 @Test
3212 @Alerts("18")
3213 public void event__on____namespaced_events__cloned_events() throws Exception {
3214 runTest("event: on(), namespaced events, cloned events");
3215 }
3216
3217
3218
3219
3220
3221 @Test
3222 @Alerts("6")
3223 public void event__on____multi_namespaced_events() throws Exception {
3224 runTest("event: on(), multi-namespaced events");
3225 }
3226
3227
3228
3229
3230
3231 @Test
3232 @Alerts("2")
3233 public void event__namespace_only_event_binding_is_a_no_op() throws Exception {
3234 runTest("event: namespace-only event binding is a no-op");
3235 }
3236
3237
3238
3239
3240
3241 @Test
3242 @Alerts("1")
3243 public void event__Empty_namespace_is_ignored() throws Exception {
3244 runTest("event: Empty namespace is ignored");
3245 }
3246
3247
3248
3249
3250
3251 @Test
3252 @Alerts("2")
3253 public void event__on____with_same_function() throws Exception {
3254 runTest("event: on(), with same function");
3255 }
3256
3257
3258
3259
3260
3261 @Test
3262 @Alerts("1")
3263 public void event__on____make_sure_order_is_maintained() throws Exception {
3264 runTest("event: on(), make sure order is maintained");
3265 }
3266
3267
3268
3269
3270
3271 @Test
3272 @Alerts("4")
3273 public void event__on____with_different_this_object() throws Exception {
3274 runTest("event: on(), with different this object");
3275 }
3276
3277
3278
3279
3280
3281 @Test
3282 @Alerts("3")
3283 public void event__on_name__false___off_name__false_() throws Exception {
3284 runTest("event: on(name, false), off(name, false)");
3285 }
3286
3287
3288
3289
3290
3291 @Test
3292 @Alerts("3")
3293 public void event__on_name__selector__false___off_name__selector__false_() throws Exception {
3294 runTest("event: on(name, selector, false), off(name, selector, false)");
3295 }
3296
3297
3298
3299
3300
3301 @Test
3302 @Alerts("7")
3303 public void event__on___trigger___off___on_plain_object() throws Exception {
3304 runTest("event: on()/trigger()/off() on plain object");
3305 }
3306
3307
3308
3309
3310
3311 @Test
3312 @Alerts("1")
3313 public void event__off_type_() throws Exception {
3314 runTest("event: off(type)");
3315 }
3316
3317
3318
3319
3320
3321 @Test
3322 @Alerts("4")
3323 public void event__off_eventObject_() throws Exception {
3324 runTest("event: off(eventObject)");
3325 }
3326
3327
3328
3329
3330
3331 @Test
3332 @Alerts("1")
3333 public void event__mouseover_triggers_mouseenter() throws Exception {
3334 runTest("event: mouseover triggers mouseenter");
3335 }
3336
3337
3338
3339
3340
3341 @Test
3342 @Alerts("1")
3343 public void event__pointerover_triggers_pointerenter() throws Exception {
3344 runTest("event: pointerover triggers pointerenter");
3345 }
3346
3347
3348
3349
3350
3351 @Test
3352 @Alerts("1")
3353 public void event__withinElement_implemented_with_jQuery_contains__() throws Exception {
3354 runTest("event: withinElement implemented with jQuery.contains()");
3355 }
3356
3357
3358
3359
3360
3361 @Test
3362 @Alerts("2")
3363 public void event__mouseenter__mouseleave_don_t_catch_exceptions() throws Exception {
3364 runTest("event: mouseenter, mouseleave don't catch exceptions");
3365 }
3366
3367
3368
3369
3370
3371 @Test
3372 @Alerts("18")
3373 public void event__trigger___bubbling() throws Exception {
3374 runTest("event: trigger() bubbling");
3375 }
3376
3377
3378
3379
3380
3381 @Test
3382 @Alerts("16")
3383 public void event__trigger_type___data____fn__() throws Exception {
3384 runTest("event: trigger(type, [data], [fn])");
3385 }
3386
3387
3388
3389
3390
3391 @Test
3392 @Alerts("3")
3393 @NotYetImplemented
3394 public void event__submit_event_bubbles_on_copied_forms___11649_() throws Exception {
3395 runTest("event: submit event bubbles on copied forms (#11649)");
3396 }
3397
3398
3399
3400
3401
3402 @Test
3403 @Alerts("3")
3404 @NotYetImplemented
3405 public void event__change_event_bubbles_on_copied_forms___11796_() throws Exception {
3406 runTest("event: change event bubbles on copied forms (#11796)");
3407 }
3408
3409
3410
3411
3412
3413 @Test
3414 @Alerts("28")
3415 public void event__trigger_eventObject___data____fn__() throws Exception {
3416 runTest("event: trigger(eventObject, [data], [fn])");
3417 }
3418
3419
3420
3421
3422
3423 @Test
3424 @Alerts("2")
3425 public void event___trigger___bubbling_on_disconnected_elements___10489_() throws Exception {
3426 runTest("event: .trigger() bubbling on disconnected elements (#10489)");
3427 }
3428
3429
3430
3431
3432
3433 @Test
3434 @Alerts("1")
3435 public void event___trigger___doesn_t_bubble_load_event___10717_() throws Exception {
3436 runTest("event: .trigger() doesn't bubble load event (#10717)");
3437 }
3438
3439
3440
3441
3442
3443 @Test
3444 @Alerts("2")
3445 public void event__Delegated_events_in_SVG___10791___13180_() throws Exception {
3446 runTest("event: Delegated events in SVG (#10791; #13180)");
3447 }
3448
3449
3450
3451
3452
3453 @Test
3454 @Alerts("3")
3455 public void event__Delegated_events_with_malformed_selectors__gh_3071_() throws Exception {
3456 runTest("event: Delegated events with malformed selectors (gh-3071)");
3457 }
3458
3459
3460
3461
3462
3463 @Test
3464 @Alerts("5")
3465 public void event__Delegated_events_in_forms___10844___11145___8165___11382___11764_() throws Exception {
3466 runTest("event: Delegated events in forms (#10844; #11145; #8165; #11382, #11764)");
3467 }
3468
3469
3470
3471
3472
3473 @Test
3474 @Alerts("1")
3475 public void event__Submit_event_can_be_stopped___11049_() throws Exception {
3476 runTest("event: Submit event can be stopped (#11049)");
3477 }
3478
3479
3480
3481
3482
3483 @Test
3484 @Alerts("1")
3485 @NotYetImplemented
3486 public void event__on_beforeunload_() throws Exception {
3487 runTest("event: on(beforeunload)");
3488 }
3489
3490
3491
3492
3493
3494 @Test
3495 @Alerts("6")
3496 public void event__jQuery_Event__type__props__() throws Exception {
3497 runTest("event: jQuery.Event( type, props )");
3498 }
3499
3500
3501
3502
3503
3504 @Test
3505 @Alerts("12")
3506 public void event__jQuery_Event_properties() throws Exception {
3507 runTest("event: jQuery.Event properties");
3508 }
3509
3510
3511
3512
3513
3514 @Test
3515 @Alerts("65")
3516 public void event___on____off__() throws Exception {
3517 runTest("event: .on()/.off()");
3518 }
3519
3520
3521
3522
3523
3524 @Test
3525 @Alerts("1")
3526 public void event__jQuery_off_using_dispatched_jQuery_Event() throws Exception {
3527 runTest("event: jQuery.off using dispatched jQuery.Event");
3528 }
3529
3530
3531
3532
3533
3534 @Test
3535 @Alerts("3")
3536 public void event__delegated_event_with_delegateTarget_relative_selector() throws Exception {
3537 runTest("event: delegated event with delegateTarget-relative selector");
3538 }
3539
3540
3541
3542
3543
3544 @Test
3545 @Alerts("1")
3546 public void event__delegated_event_with_selector_matching_Object_prototype_property___13203_() throws Exception {
3547 runTest("event: delegated event with selector matching Object.prototype property (#13203)");
3548 }
3549
3550
3551
3552
3553
3554 @Test
3555 @Alerts("1")
3556 public void event__delegated_event_with_intermediate_DOM_manipulation___13208_() throws Exception {
3557 runTest("event: delegated event with intermediate DOM manipulation (#13208)");
3558 }
3559
3560
3561
3562
3563
3564 @Test
3565 @Alerts("1")
3566 @NotYetImplemented
3567 public void event__ignore_comment_nodes_in_event_delegation__gh_2055_() throws Exception {
3568 runTest("event: ignore comment nodes in event delegation (gh-2055)");
3569 }
3570
3571
3572
3573
3574
3575 @Test
3576 @Alerts("1")
3577 public void event__stopPropagation___stops_directly_bound_events_on_delegated_target() throws Exception {
3578 runTest("event: stopPropagation() stops directly-bound events on delegated target");
3579 }
3580
3581
3582
3583
3584
3585 @Test
3586 @Alerts("2")
3587 public void event__off_all_bound_delegated_events() throws Exception {
3588 runTest("event: off all bound delegated events");
3589 }
3590
3591
3592
3593
3594
3595 @Test
3596 @Alerts("1")
3597 public void event__on_with_multiple_delegated_events() throws Exception {
3598 runTest("event: on with multiple delegated events");
3599 }
3600
3601
3602
3603
3604
3605 @Test
3606 @Alerts("8")
3607 public void event__delegated_on_with_change() throws Exception {
3608 runTest("event: delegated on with change");
3609 }
3610
3611
3612
3613
3614
3615 @Test
3616 @Alerts("2")
3617 public void event__delegated_on_with_submit() throws Exception {
3618 runTest("event: delegated on with submit");
3619 }
3620
3621
3622
3623
3624
3625 @Test
3626 @Alerts("2")
3627 public void event__delegated_off___with_only_namespaces() throws Exception {
3628 runTest("event: delegated off() with only namespaces");
3629 }
3630
3631
3632
3633
3634
3635 @Test
3636 @Alerts("1")
3637 public void event__Non_DOM_element_events() throws Exception {
3638 runTest("event: Non DOM element events");
3639 }
3640
3641
3642
3643
3644
3645 @Test
3646 @Alerts("1")
3647 public void event__inline_handler_returning_false_stops_default() throws Exception {
3648 runTest("event: inline handler returning false stops default");
3649 }
3650
3651
3652
3653
3654
3655 @Test
3656 @Alerts("2")
3657 public void event__window_resize() throws Exception {
3658 runTest("event: window resize");
3659 }
3660
3661
3662
3663
3664
3665 @Test
3666 @Alerts("2")
3667 public void event__focusin_bubbles() throws Exception {
3668 runTest("event: focusin bubbles");
3669 }
3670
3671
3672
3673
3674
3675 @Test
3676 @Alerts("1")
3677 public void event__custom_events_with_colons___3533___8272_() throws Exception {
3678 runTest("event: custom events with colons (#3533, #8272)");
3679 }
3680
3681
3682
3683
3684
3685 @Test
3686 @Alerts("9")
3687 public void event___on_and__off() throws Exception {
3688 runTest("event: .on and .off");
3689 }
3690
3691
3692
3693
3694
3695 @Test
3696 @Alerts("7")
3697 public void event__special_on_name_mapping() throws Exception {
3698 runTest("event: special on name mapping");
3699 }
3700
3701
3702
3703
3704
3705 @Test
3706 @Alerts("7")
3707 public void event___on_and__off__selective_mixed_removal___10705_() throws Exception {
3708 runTest("event: .on and .off, selective mixed removal (#10705)");
3709 }
3710
3711
3712
3713
3714
3715 @Test
3716 @Alerts("1")
3717 public void event___on__event_map__null_selector__data____11130() throws Exception {
3718 runTest("event: .on( event-map, null-selector, data ) #11130");
3719 }
3720
3721
3722
3723
3724
3725 @Test
3726 @Alerts("3")
3727 public void event__clone___delegated_events___11076_() throws Exception {
3728 runTest("event: clone() delegated events (#11076)");
3729 }
3730
3731
3732
3733
3734
3735 @Test
3736 @Alerts("9")
3737 public void event__checkbox_state___3827_() throws Exception {
3738 runTest("event: checkbox state (#3827)");
3739 }
3740
3741
3742
3743
3744
3745 @Test
3746 @Alerts("3")
3747 public void event__event_object_properties_on_natively_triggered_event() throws Exception {
3748 runTest("event: event object properties on natively-triggered event");
3749 }
3750
3751
3752
3753
3754
3755 @Test
3756 @Alerts("2")
3757 public void event__addProp_extensions() throws Exception {
3758 runTest("event: addProp extensions");
3759 }
3760
3761
3762
3763
3764
3765 @Test
3766 @Alerts("4")
3767 public void event__drag_drop_events_copy_mouse_related_event_properties__gh_1925__gh_2009_() throws Exception {
3768 runTest("event: drag/drop events copy mouse-related event properties (gh-1925, gh-2009)");
3769 }
3770
3771
3772
3773
3774
3775 @Test
3776 @Alerts("2")
3777 public void event__focusin_using_non_element_targets() throws Exception {
3778 runTest("event: focusin using non-element targets");
3779 }
3780
3781
3782
3783
3784
3785 @Test
3786 @Alerts("1")
3787 public void event__focusin_from_an_iframe() throws Exception {
3788 runTest("event: focusin from an iframe");
3789 }
3790
3791
3792
3793
3794
3795 @Test
3796 @Alerts("1")
3797 public void event__jQuery_ready_promise() throws Exception {
3798 runTest("event: jQuery.ready promise");
3799 }
3800
3801
3802
3803
3804
3805 @Test
3806 @Alerts("1")
3807 @NotYetImplemented
3808 public void event__jQuery_ready_uses_interactive() throws Exception {
3809 runTest("event: jQuery.ready uses interactive");
3810 }
3811
3812
3813
3814
3815
3816 @Test
3817 @Alerts("1")
3818 public void event__Focusing_iframe_element() throws Exception {
3819 runTest("event: Focusing iframe element");
3820 }
3821
3822
3823
3824
3825
3826 @Test
3827 @Alerts("1")
3828 public void event__triggerHandler_onbeforeunload_() throws Exception {
3829 runTest("event: triggerHandler(onbeforeunload)");
3830 }
3831
3832
3833
3834
3835
3836 @Test
3837 @Alerts("1")
3838 @NotYetImplemented
3839 public void event__jQuery_ready_synchronous_load_with_long_loading_subresources() throws Exception {
3840 runTest("event: jQuery.ready synchronous load with long loading subresources");
3841 }
3842
3843
3844
3845
3846
3847 @Test
3848 @Alerts("2")
3849 public void event__change_handler_should_be_detached_from_element() throws Exception {
3850 runTest("event: change handler should be detached from element");
3851 }
3852
3853
3854
3855
3856
3857 @Test
3858 @Alerts("1")
3859 public void event__trigger_click_on_checkbox__fires_change_event() throws Exception {
3860 runTest("event: trigger click on checkbox, fires change event");
3861 }
3862
3863
3864
3865
3866
3867 @Test
3868 @Alerts("4")
3869 public void event__Namespace_preserved_when_passed_an_Event___12739_() throws Exception {
3870 runTest("event: Namespace preserved when passed an Event (#12739)");
3871 }
3872
3873
3874
3875
3876
3877 @Test
3878 @Alerts("18")
3879 public void event__make_sure_events_cloned_correctly() throws Exception {
3880 runTest("event: make sure events cloned correctly");
3881 }
3882
3883
3884
3885
3886
3887 @Test
3888 @Alerts("1")
3889 public void event__String_prototype_namespace_does_not_cause_trigger___to_throw___13360_() throws Exception {
3890 runTest("event: String.prototype.namespace does not cause trigger() to throw (#13360)");
3891 }
3892
3893
3894
3895
3896
3897 @Test
3898 @Alerts("1")
3899 public void event__Inline_event_result_is_returned___13993_() throws Exception {
3900 runTest("event: Inline event result is returned (#13993)");
3901 }
3902
3903
3904
3905
3906
3907 @Test
3908 @Alerts("2")
3909 public void event___off___removes_the_expando_when_there_s_no_more_data() throws Exception {
3910 runTest("event: .off() removes the expando when there's no more data");
3911 }
3912
3913
3914
3915
3916
3917 @Test
3918 @Alerts("2")
3919 public void event__jQuery_Event__src___does_not_require_a_target_property() throws Exception {
3920 runTest("event: jQuery.Event( src ) does not require a target property");
3921 }
3922
3923
3924
3925
3926
3927 @Test
3928 @Alerts("1")
3929 public void event__preventDefault___on_focusin_does_not_throw_exception() throws Exception {
3930 runTest("event: preventDefault() on focusin does not throw exception");
3931 }
3932
3933
3934
3935
3936
3937 @Test
3938 @Alerts("8")
3939 public void event__Donor_event_interference() throws Exception {
3940 runTest("event: Donor event interference");
3941 }
3942
3943
3944
3945
3946
3947 @Test
3948 @Alerts("3")
3949 public void event__simulated_events_shouldn_t_forward_stopPropagation_preventDefault_methods() throws Exception {
3950 runTest("event: simulated events shouldn't forward stopPropagation/preventDefault methods");
3951 }
3952
3953
3954
3955
3956
3957 @Test
3958 @Alerts("2")
3959 public void event__originalEvent_type_of_simulated_event() throws Exception {
3960 runTest("event: originalEvent type of simulated event");
3961 }
3962
3963
3964
3965
3966
3967 @Test
3968 @Alerts("1")
3969 public void event__trigger__click___on_radio_passes_extra_params() throws Exception {
3970 runTest("event: trigger('click') on radio passes extra params");
3971 }
3972
3973
3974
3975
3976
3977 @Test
3978 @Alerts("1")
3979 public void event__VML_with_special_event_handlers__trac_7071_() throws Exception {
3980 runTest("event: VML with special event handlers (trac-7071)");
3981 }
3982
3983
3984
3985
3986
3987 @Test
3988 @Alerts("2")
3989 public void event__Check_order_of_focusin_focusout_events() throws Exception {
3990 runTest("event: Check order of focusin/focusout events");
3991 }
3992
3993
3994
3995
3996
3997 @Test
3998 @Alerts("5")
3999 public void event__focus_blur_order___12868_() throws Exception {
4000 runTest("event: focus-blur order (#12868)");
4001 }
4002
4003
4004
4005
4006
4007 @Test
4008 @Alerts("7")
4009 public void selector__element() throws Exception {
4010 runTest("selector: element");
4011 }
4012
4013
4014
4015
4016
4017 @Test
4018 @Alerts("26")
4019 public void selector__id() throws Exception {
4020 runTest("selector: id");
4021 }
4022
4023
4024
4025
4026
4027 @Test
4028 @Alerts("4")
4029 public void selector__class() throws Exception {
4030 runTest("selector: class");
4031 }
4032
4033
4034
4035
4036
4037 @Test
4038 @Alerts("5")
4039 public void selector__name() throws Exception {
4040 runTest("selector: name");
4041 }
4042
4043
4044
4045
4046
4047 @Test
4048 @Alerts("4")
4049 public void selector__selectors_with_comma() throws Exception {
4050 runTest("selector: selectors with comma");
4051 }
4052
4053
4054
4055
4056
4057 @Test
4058 @Alerts("27")
4059 public void selector__child_and_adjacent() throws Exception {
4060 runTest("selector: child and adjacent");
4061 }
4062
4063
4064
4065
4066
4067 @Test
4068 @Alerts("54")
4069 public void selector__attributes() throws Exception {
4070 runTest("selector: attributes");
4071 }
4072
4073
4074
4075
4076
4077 @Test
4078 @Alerts("3")
4079 @NotYetImplemented
4080 public void selector__disconnected_nodes() throws Exception {
4081 runTest("selector: disconnected nodes");
4082 }
4083
4084
4085
4086
4087
4088 @Test
4089 @Alerts("38")
4090 public void selector__attributes___jQuery_attr() throws Exception {
4091 runTest("selector: attributes - jQuery.attr");
4092 }
4093
4094
4095
4096
4097
4098 @Test
4099 @Alerts("16")
4100 public void selector__jQuery_contains() throws Exception {
4101 runTest("selector: jQuery.contains");
4102 }
4103
4104
4105
4106
4107
4108 @Test
4109 @Alerts("15")
4110 @NotYetImplemented
4111 public void selector__jQuery_uniqueSort() throws Exception {
4112 runTest("selector: jQuery.uniqueSort");
4113 }
4114
4115
4116
4117
4118
4119 @Test
4120 @Alerts("4")
4121 public void selector__Sizzle_cache_collides_with_multiple_Sizzles_on_a_page() throws Exception {
4122 runTest("selector: Sizzle cache collides with multiple Sizzles on a page");
4123 }
4124
4125
4126
4127
4128
4129 @Test
4130 @Alerts("1")
4131 public void selector__Iframe_dispatch_should_not_affect_jQuery___13936_() throws Exception {
4132 runTest("selector: Iframe dispatch should not affect jQuery (#13936)");
4133 }
4134
4135
4136
4137
4138
4139 @Test
4140 @Alerts("1")
4141 public void selector__Ensure_escapeSelector_exists__escape_tests_in_Sizzle_() throws Exception {
4142 runTest("selector: Ensure escapeSelector exists (escape tests in Sizzle)");
4143 }
4144
4145
4146
4147
4148
4149 @Test
4150 @Alerts("1")
4151 public void traversing__find_String_() throws Exception {
4152 runTest("traversing: find(String)");
4153 }
4154
4155
4156
4157
4158
4159 @Test
4160 @Alerts("2")
4161 public void traversing__find_String__under_non_elements() throws Exception {
4162 runTest("traversing: find(String) under non-elements");
4163 }
4164
4165
4166
4167
4168
4169 @Test
4170 @Alerts("4")
4171 public void traversing__find_leading_combinator_() throws Exception {
4172 runTest("traversing: find(leading combinator)");
4173 }
4174
4175
4176
4177
4178
4179 @Test
4180 @Alerts("13")
4181 public void traversing__find_node_jQuery_object_() throws Exception {
4182 runTest("traversing: find(node|jQuery object)");
4183 }
4184
4185
4186
4187
4188
4189 @Test
4190 @Alerts("23")
4191 public void traversing__is_String_undefined_() throws Exception {
4192 runTest("traversing: is(String|undefined)");
4193 }
4194
4195
4196
4197
4198
4199 @Test
4200 @Alerts("14")
4201 public void traversing__is___against_non_elements___10178_() throws Exception {
4202 runTest("traversing: is() against non-elements (#10178)");
4203 }
4204
4205
4206
4207
4208
4209 @Test
4210 @Alerts("19")
4211 public void traversing__is_jQuery_() throws Exception {
4212 runTest("traversing: is(jQuery)");
4213 }
4214
4215
4216
4217
4218
4219 @Test
4220 @Alerts("6")
4221 public void traversing__is___with__has___selectors() throws Exception {
4222 runTest("traversing: is() with :has() selectors");
4223 }
4224
4225
4226
4227
4228
4229 @Test
4230 @Alerts("27")
4231 public void traversing__is___with_positional_selectors() throws Exception {
4232 runTest("traversing: is() with positional selectors");
4233 }
4234
4235
4236
4237
4238
4239 @Test
4240 @Alerts("2")
4241 public void traversing__index__() throws Exception {
4242 runTest("traversing: index()");
4243 }
4244
4245
4246
4247
4248
4249 @Test
4250 @Alerts("16")
4251 public void traversing__index_Object_String_undefined_() throws Exception {
4252 runTest("traversing: index(Object|String|undefined)");
4253 }
4254
4255
4256
4257
4258
4259 @Test
4260 @Alerts("9")
4261 public void traversing__filter_Selector_undefined_() throws Exception {
4262 runTest("traversing: filter(Selector|undefined)");
4263 }
4264
4265
4266
4267
4268
4269 @Test
4270 @Alerts("2")
4271 public void traversing__filter_Function_() throws Exception {
4272 runTest("traversing: filter(Function)");
4273 }
4274
4275
4276
4277
4278
4279 @Test
4280 @Alerts("1")
4281 public void traversing__filter_Element_() throws Exception {
4282 runTest("traversing: filter(Element)");
4283 }
4284
4285
4286
4287
4288
4289 @Test
4290 @Alerts("1")
4291 public void traversing__filter_Array_() throws Exception {
4292 runTest("traversing: filter(Array)");
4293 }
4294
4295
4296
4297
4298
4299 @Test
4300 @Alerts("1")
4301 public void traversing__filter_jQuery_() throws Exception {
4302 runTest("traversing: filter(jQuery)");
4303 }
4304
4305
4306
4307
4308
4309 @Test
4310 @Alerts("19")
4311 public void traversing__filter___with_positional_selectors() throws Exception {
4312 runTest("traversing: filter() with positional selectors");
4313 }
4314
4315
4316
4317
4318
4319 @Test
4320 @Alerts("14")
4321 public void traversing__closest__() throws Exception {
4322 runTest("traversing: closest()");
4323 }
4324
4325
4326
4327
4328
4329 @Test
4330 @Alerts("3")
4331 public void traversing__closest___with_positional_selectors() throws Exception {
4332 runTest("traversing: closest() with positional selectors");
4333 }
4334
4335
4336
4337
4338
4339 @Test
4340 @Alerts("8")
4341 public void traversing__closest_jQuery_() throws Exception {
4342 runTest("traversing: closest(jQuery)");
4343 }
4344
4345
4346
4347
4348
4349 @Test
4350 @Alerts("7")
4351 public void traversing__not_Selector_() throws Exception {
4352 runTest("traversing: not(Selector)");
4353 }
4354
4355
4356
4357
4358
4359 @Test
4360 @Alerts("4")
4361 public void traversing__not_undefined_() throws Exception {
4362 runTest("traversing: not(undefined)");
4363 }
4364
4365
4366
4367
4368
4369 @Test
4370 @Alerts("1")
4371 public void traversing__not_Element_() throws Exception {
4372 runTest("traversing: not(Element)");
4373 }
4374
4375
4376
4377
4378
4379 @Test
4380 @Alerts("1")
4381 public void traversing__not_Function_() throws Exception {
4382 runTest("traversing: not(Function)");
4383 }
4384
4385
4386
4387
4388
4389 @Test
4390 @Alerts("2")
4391 public void traversing__not_Array_() throws Exception {
4392 runTest("traversing: not(Array)");
4393 }
4394
4395
4396
4397
4398
4399 @Test
4400 @Alerts("1")
4401 public void traversing__not_jQuery_() throws Exception {
4402 runTest("traversing: not(jQuery)");
4403 }
4404
4405
4406
4407
4408
4409 @Test
4410 @Alerts("3")
4411 public void traversing__not_Selector__excludes_non_element_nodes__gh_2808_() throws Exception {
4412 runTest("traversing: not(Selector) excludes non-element nodes (gh-2808)");
4413 }
4414
4415
4416
4417
4418
4419 @Test
4420 @Alerts("5")
4421 public void traversing__not_arraylike__passes_non_element_nodes__gh_3226_() throws Exception {
4422 runTest("traversing: not(arraylike) passes non-element nodes (gh-3226)");
4423 }
4424
4425
4426
4427
4428
4429 @Test
4430 @Alerts("3")
4431 public void traversing__has_Element_() throws Exception {
4432 runTest("traversing: has(Element)");
4433 }
4434
4435
4436
4437
4438
4439 @Test
4440 @Alerts("5")
4441 public void traversing__has_Selector_() throws Exception {
4442 runTest("traversing: has(Selector)");
4443 }
4444
4445
4446
4447
4448
4449 @Test
4450 @Alerts("4")
4451 public void traversing__has_Arrayish_() throws Exception {
4452 runTest("traversing: has(Arrayish)");
4453 }
4454
4455
4456
4457
4458
4459 @Test
4460 @Alerts("5")
4461 public void traversing__addBack__() throws Exception {
4462 runTest("traversing: addBack()");
4463 }
4464
4465
4466
4467
4468
4469 @Test
4470 @Alerts("2")
4471 @NotYetImplemented
4472 public void traversing__siblings__String__() throws Exception {
4473 runTest("traversing: siblings([String])");
4474 }
4475
4476
4477
4478
4479
4480 @Test
4481 @Alerts("1")
4482 @NotYetImplemented
4483 public void traversing__children__String__() throws Exception {
4484 runTest("traversing: children([String])");
4485 }
4486
4487
4488
4489
4490
4491 @Test
4492 @Alerts("6")
4493 public void traversing__parent__String__() throws Exception {
4494 runTest("traversing: parent([String])");
4495 }
4496
4497
4498
4499
4500
4501 @Test
4502 @Alerts("6")
4503 public void traversing__parents__String__() throws Exception {
4504 runTest("traversing: parents([String])");
4505 }
4506
4507
4508
4509
4510
4511 @Test
4512 @Alerts("10")
4513 public void traversing__parentsUntil__String__() throws Exception {
4514 runTest("traversing: parentsUntil([String])");
4515 }
4516
4517
4518
4519
4520
4521 @Test
4522 @Alerts("6")
4523 public void traversing__next__String__() throws Exception {
4524 runTest("traversing: next([String])");
4525 }
4526
4527
4528
4529
4530
4531 @Test
4532 @Alerts("5")
4533 public void traversing__prev__String__() throws Exception {
4534 runTest("traversing: prev([String])");
4535 }
4536
4537
4538
4539
4540
4541 @Test
4542 @Alerts("5")
4543 public void traversing__nextAll__String__() throws Exception {
4544 runTest("traversing: nextAll([String])");
4545 }
4546
4547
4548
4549
4550
4551 @Test
4552 @Alerts("5")
4553 public void traversing__prevAll__String__() throws Exception {
4554 runTest("traversing: prevAll([String])");
4555 }
4556
4557
4558
4559
4560
4561 @Test
4562 @Alerts("12")
4563 public void traversing__nextUntil__String__() throws Exception {
4564 runTest("traversing: nextUntil([String])");
4565 }
4566
4567
4568
4569
4570
4571 @Test
4572 @Alerts("11")
4573 public void traversing__prevUntil__String__() throws Exception {
4574 runTest("traversing: prevUntil([String])");
4575 }
4576
4577
4578
4579
4580
4581 @Test
4582 @Alerts("12")
4583 public void traversing__contents__() throws Exception {
4584 runTest("traversing: contents()");
4585 }
4586
4587
4588
4589
4590
4591 @Test
4592 @Alerts("4")
4593 public void traversing__contents___for__template___() throws Exception {
4594 runTest("traversing: contents() for <template />");
4595 }
4596
4597
4598
4599
4600
4601 @Test
4602 @Alerts("2")
4603 public void traversing__contents___for__template____remains_inert() throws Exception {
4604 runTest("traversing: contents() for <template /> remains inert");
4605 }
4606
4607
4608
4609
4610
4611 @Test
4612 @Alerts("12")
4613 public void traversing__sort_direction() throws Exception {
4614 runTest("traversing: sort direction");
4615 }
4616
4617
4618
4619
4620
4621 @Test
4622 @Alerts("2")
4623 public void traversing__add_String_selector_() throws Exception {
4624 runTest("traversing: add(String selector)");
4625 }
4626
4627
4628
4629
4630
4631 @Test
4632 @Alerts("1")
4633 public void traversing__add_String_selector__String_context_() throws Exception {
4634 runTest("traversing: add(String selector, String context)");
4635 }
4636
4637
4638
4639
4640
4641 @Test
4642 @Alerts("3")
4643 public void traversing__add_String_html_() throws Exception {
4644 runTest("traversing: add(String html)");
4645 }
4646
4647
4648
4649
4650
4651 @Test
4652 @Alerts("4")
4653 public void traversing__add_jQuery_() throws Exception {
4654 runTest("traversing: add(jQuery)");
4655 }
4656
4657
4658
4659
4660
4661 @Test
4662 @Alerts("2")
4663 public void traversing__add_Element_() throws Exception {
4664 runTest("traversing: add(Element)");
4665 }
4666
4667
4668
4669
4670
4671 @Test
4672 @Alerts("1")
4673 public void traversing__add_Array_elements_() throws Exception {
4674 runTest("traversing: add(Array elements)");
4675 }
4676
4677
4678
4679
4680
4681 @Test
4682 @Alerts("1")
4683 public void traversing__add_Window_() throws Exception {
4684 runTest("traversing: add(Window)");
4685 }
4686
4687
4688
4689
4690
4691 @Test
4692 @Alerts("4")
4693 public void traversing__add_NodeList_undefined_HTMLFormElement_HTMLSelectElement_() throws Exception {
4694 runTest("traversing: add(NodeList|undefined|HTMLFormElement|HTMLSelectElement)");
4695 }
4696
4697
4698
4699
4700
4701 @Test
4702 @Alerts("6")
4703 public void traversing__add_String__Context_() throws Exception {
4704 runTest("traversing: add(String, Context)");
4705 }
4706
4707
4708
4709
4710
4711 @Test
4712 @Alerts("3")
4713 public void traversing__eq___1____10616() throws Exception {
4714 runTest("traversing: eq('-1') #10616");
4715 }
4716
4717
4718
4719
4720
4721 @Test
4722 @Alerts("2")
4723 public void traversing__index_no_arg___10977() throws Exception {
4724 runTest("traversing: index(no arg) #10977");
4725 }
4726
4727
4728
4729
4730
4731 @Test
4732 @Alerts("5")
4733 public void traversing__traversing_non_elements_with_attribute_filters___12523_() throws Exception {
4734 runTest("traversing: traversing non-elements with attribute filters (#12523)");
4735 }
4736
4737
4738
4739
4740
4741 @Test
4742 @Alerts("5")
4743 public void manipulation__text__() throws Exception {
4744 runTest("manipulation: text()");
4745 }
4746
4747
4748
4749
4750
4751 @Test
4752 @Alerts("1")
4753 public void manipulation__text_undefined_() throws Exception {
4754 runTest("manipulation: text(undefined)");
4755 }
4756
4757
4758
4759
4760
4761 @Test
4762 @Alerts("6")
4763 public void manipulation__text_String_() throws Exception {
4764 runTest("manipulation: text(String)");
4765 }
4766
4767
4768
4769
4770
4771 @Test
4772 @Alerts("6")
4773 public void manipulation__text_Function_() throws Exception {
4774 runTest("manipulation: text(Function)");
4775 }
4776
4777
4778
4779
4780
4781 @Test
4782 @Alerts("2")
4783 public void manipulation__text_Function__with_incoming_value() throws Exception {
4784 runTest("manipulation: text(Function) with incoming value");
4785 }
4786
4787
4788
4789
4790
4791 @Test
4792 @Alerts("78")
4793 public void manipulation__append_String_Element_Array_Element__jQuery_() throws Exception {
4794 runTest("manipulation: append(String|Element|Array<Element>|jQuery)");
4795 }
4796
4797
4798
4799
4800
4801 @Test
4802 @Alerts("78")
4803 public void manipulation__append_Function_() throws Exception {
4804 runTest("manipulation: append(Function)");
4805 }
4806
4807
4808
4809
4810
4811 @Test
4812 @Alerts("5")
4813 public void manipulation__append_param__to_object__see__11280() throws Exception {
4814 runTest("manipulation: append(param) to object, see #11280");
4815 }
4816
4817
4818
4819
4820
4821 @Test
4822 @Alerts("4")
4823 public void manipulation__append_Function__returns_String() throws Exception {
4824 runTest("manipulation: append(Function) returns String");
4825 }
4826
4827
4828
4829
4830
4831 @Test
4832 @Alerts("2")
4833 public void manipulation__append_Function__returns_Element() throws Exception {
4834 runTest("manipulation: append(Function) returns Element");
4835 }
4836
4837
4838
4839
4840
4841 @Test
4842 @Alerts("2")
4843 public void manipulation__append_Function__returns_Array_Element_() throws Exception {
4844 runTest("manipulation: append(Function) returns Array<Element>");
4845 }
4846
4847
4848
4849
4850
4851 @Test
4852 @Alerts("2")
4853 public void manipulation__append_Function__returns_jQuery() throws Exception {
4854 runTest("manipulation: append(Function) returns jQuery");
4855 }
4856
4857
4858
4859
4860
4861 @Test
4862 @Alerts("2")
4863 public void manipulation__append_Function__returns_Number() throws Exception {
4864 runTest("manipulation: append(Function) returns Number");
4865 }
4866
4867
4868
4869
4870
4871 @Test
4872 @Alerts("5")
4873 public void manipulation__XML_DOM_manipulation___9960_() throws Exception {
4874 runTest("manipulation: XML DOM manipulation (#9960)");
4875 }
4876
4877
4878
4879
4880
4881 @Test
4882 @Alerts("2")
4883 public void manipulation__append_HTML5_sectioning_elements__Bug__6485_() throws Exception {
4884 runTest("manipulation: append HTML5 sectioning elements (Bug #6485)");
4885 }
4886
4887
4888
4889
4890
4891 @Test
4892 @Alerts("1")
4893 public void manipulation__HTML5_Elements_inherit_styles_from_style_rules__Bug__10501_() throws Exception {
4894 runTest("manipulation: HTML5 Elements inherit styles from style rules (Bug #10501)");
4895 }
4896
4897
4898
4899
4900
4901 @Test
4902 @Alerts("2")
4903 public void manipulation__html_String__with_HTML5__Bug__6485_() throws Exception {
4904 runTest("manipulation: html(String) with HTML5 (Bug #6485)");
4905 }
4906
4907
4908
4909
4910
4911 @Test
4912 @Alerts("27")
4913 public void manipulation__html_String__tag_hyphenated_elements__Bug__1987_() throws Exception {
4914 runTest("manipulation: html(String) tag-hyphenated elements (Bug #1987)");
4915 }
4916
4917
4918
4919
4920
4921 @Test
4922 @Alerts("240")
4923 @NotYetImplemented
4924 public void manipulation__Tag_name_processing_respects_the_HTML_Standard__gh_2005_() throws Exception {
4925 runTest("manipulation: Tag name processing respects the HTML Standard (gh-2005)");
4926 }
4927
4928
4929
4930
4931
4932 @Test
4933 @Alerts("2")
4934 public void manipulation__IE8_serialization_bug() throws Exception {
4935 runTest("manipulation: IE8 serialization bug");
4936 }
4937
4938
4939
4940
4941
4942 @Test
4943 @Alerts("1")
4944 public void manipulation__html___object_element__10324() throws Exception {
4945 runTest("manipulation: html() object element #10324");
4946 }
4947
4948
4949
4950
4951
4952 @Test
4953 @Alerts("1")
4954 public void manipulation__append_xml_() throws Exception {
4955 runTest("manipulation: append(xml)");
4956 }
4957
4958
4959
4960
4961
4962 @Test
4963 @Alerts("4")
4964 public void manipulation__appendTo_String_() throws Exception {
4965 runTest("manipulation: appendTo(String)");
4966 }
4967
4968
4969
4970
4971
4972 @Test
4973 @Alerts("2")
4974 public void manipulation__appendTo_Element_Array_Element__() throws Exception {
4975 runTest("manipulation: appendTo(Element|Array<Element>)");
4976 }
4977
4978
4979
4980
4981
4982 @Test
4983 @Alerts("10")
4984 public void manipulation__appendTo_jQuery_() throws Exception {
4985 runTest("manipulation: appendTo(jQuery)");
4986 }
4987
4988
4989
4990
4991
4992 @Test
4993 @Alerts("2")
4994 public void manipulation__prepend_String_() throws Exception {
4995 runTest("manipulation: prepend(String)");
4996 }
4997
4998
4999
5000
5001
5002 @Test
5003 @Alerts("1")
5004 public void manipulation__prepend_Element_() throws Exception {
5005 runTest("manipulation: prepend(Element)");
5006 }
5007
5008
5009
5010
5011
5012 @Test
5013 @Alerts("1")
5014 public void manipulation__prepend_Array_Element__() throws Exception {
5015 runTest("manipulation: prepend(Array<Element>)");
5016 }
5017
5018
5019
5020
5021
5022 @Test
5023 @Alerts("1")
5024 public void manipulation__prepend_jQuery_() throws Exception {
5025 runTest("manipulation: prepend(jQuery)");
5026 }
5027
5028
5029
5030
5031
5032 @Test
5033 @Alerts("1")
5034 public void manipulation__prepend_Array_jQuery__() throws Exception {
5035 runTest("manipulation: prepend(Array<jQuery>)");
5036 }
5037
5038
5039
5040
5041
5042 @Test
5043 @Alerts("4")
5044 public void manipulation__prepend_Function__with_incoming_value____String() throws Exception {
5045 runTest("manipulation: prepend(Function) with incoming value -- String");
5046 }
5047
5048
5049
5050
5051
5052 @Test
5053 @Alerts("2")
5054 public void manipulation__prepend_Function__with_incoming_value____Element() throws Exception {
5055 runTest("manipulation: prepend(Function) with incoming value -- Element");
5056 }
5057
5058
5059
5060
5061
5062 @Test
5063 @Alerts("2")
5064 public void manipulation__prepend_Function__with_incoming_value____Array_Element_() throws Exception {
5065 runTest("manipulation: prepend(Function) with incoming value -- Array<Element>");
5066 }
5067
5068
5069
5070
5071
5072 @Test
5073 @Alerts("2")
5074 public void manipulation__prepend_Function__with_incoming_value____jQuery() throws Exception {
5075 runTest("manipulation: prepend(Function) with incoming value -- jQuery");
5076 }
5077
5078
5079
5080
5081
5082 @Test
5083 @Alerts("2")
5084 public void manipulation__prependTo_String_() throws Exception {
5085 runTest("manipulation: prependTo(String)");
5086 }
5087
5088
5089
5090
5091
5092 @Test
5093 @Alerts("1")
5094 public void manipulation__prependTo_Element_() throws Exception {
5095 runTest("manipulation: prependTo(Element)");
5096 }
5097
5098
5099
5100
5101
5102 @Test
5103 @Alerts("1")
5104 public void manipulation__prependTo_Array_Element__() throws Exception {
5105 runTest("manipulation: prependTo(Array<Element>)");
5106 }
5107
5108
5109
5110
5111
5112 @Test
5113 @Alerts("1")
5114 public void manipulation__prependTo_jQuery_() throws Exception {
5115 runTest("manipulation: prependTo(jQuery)");
5116 }
5117
5118
5119
5120
5121
5122 @Test
5123 @Alerts("1")
5124 public void manipulation__prependTo_Array_jQuery__() throws Exception {
5125 runTest("manipulation: prependTo(Array<jQuery>)");
5126 }
5127
5128
5129
5130
5131
5132 @Test
5133 @Alerts("1")
5134 public void manipulation__before_String_() throws Exception {
5135 runTest("manipulation: before(String)");
5136 }
5137
5138
5139
5140
5141
5142 @Test
5143 @Alerts("1")
5144 public void manipulation__before_Element_() throws Exception {
5145 runTest("manipulation: before(Element)");
5146 }
5147
5148
5149
5150
5151
5152 @Test
5153 @Alerts("1")
5154 public void manipulation__before_Array_Element__() throws Exception {
5155 runTest("manipulation: before(Array<Element>)");
5156 }
5157
5158
5159
5160
5161
5162 @Test
5163 @Alerts("1")
5164 public void manipulation__before_jQuery_() throws Exception {
5165 runTest("manipulation: before(jQuery)");
5166 }
5167
5168
5169
5170
5171
5172 @Test
5173 @Alerts("1")
5174 public void manipulation__before_Array_jQuery__() throws Exception {
5175 runTest("manipulation: before(Array<jQuery>)");
5176 }
5177
5178
5179
5180
5181
5182 @Test
5183 @Alerts("1")
5184 public void manipulation__before_Function_____Returns_String() throws Exception {
5185 runTest("manipulation: before(Function) -- Returns String");
5186 }
5187
5188
5189
5190
5191
5192 @Test
5193 @Alerts("1")
5194 public void manipulation__before_Function_____Returns_Element() throws Exception {
5195 runTest("manipulation: before(Function) -- Returns Element");
5196 }
5197
5198
5199
5200
5201
5202 @Test
5203 @Alerts("1")
5204 public void manipulation__before_Function_____Returns_Array_Element_() throws Exception {
5205 runTest("manipulation: before(Function) -- Returns Array<Element>");
5206 }
5207
5208
5209
5210
5211
5212 @Test
5213 @Alerts("1")
5214 public void manipulation__before_Function_____Returns_jQuery() throws Exception {
5215 runTest("manipulation: before(Function) -- Returns jQuery");
5216 }
5217
5218
5219
5220
5221
5222 @Test
5223 @Alerts("1")
5224 public void manipulation__before_Function_____Returns_Array_jQuery_() throws Exception {
5225 runTest("manipulation: before(Function) -- Returns Array<jQuery>");
5226 }
5227
5228
5229
5230
5231
5232 @Test
5233 @Alerts("2")
5234 public void manipulation__before_no_op_() throws Exception {
5235 runTest("manipulation: before(no-op)");
5236 }
5237
5238
5239
5240
5241
5242 @Test
5243 @Alerts("1")
5244 public void manipulation__before_and_after_w__empty_object___10812_() throws Exception {
5245 runTest("manipulation: before and after w/ empty object (#10812)");
5246 }
5247
5248
5249
5250
5251
5252 @Test
5253 @Alerts("2")
5254 public void manipulation___before___and__after___disconnected_node() throws Exception {
5255 runTest("manipulation: .before() and .after() disconnected node");
5256 }
5257
5258
5259
5260
5261
5262 @Test
5263 @Alerts("1")
5264 public void manipulation__insert_with__before___on_disconnected_node_first() throws Exception {
5265 runTest("manipulation: insert with .before() on disconnected node first");
5266 }
5267
5268
5269
5270
5271
5272 @Test
5273 @Alerts("1")
5274 public void manipulation__insert_with__before___on_disconnected_node_last() throws Exception {
5275 runTest("manipulation: insert with .before() on disconnected node last");
5276 }
5277
5278
5279
5280
5281
5282 @Test
5283 @Alerts("1")
5284 public void manipulation__insertBefore_String_() throws Exception {
5285 runTest("manipulation: insertBefore(String)");
5286 }
5287
5288
5289
5290
5291
5292 @Test
5293 @Alerts("1")
5294 public void manipulation__insertBefore_Element_() throws Exception {
5295 runTest("manipulation: insertBefore(Element)");
5296 }
5297
5298
5299
5300
5301
5302 @Test
5303 @Alerts("1")
5304 public void manipulation__insertBefore_Array_Element__() throws Exception {
5305 runTest("manipulation: insertBefore(Array<Element>)");
5306 }
5307
5308
5309
5310
5311
5312 @Test
5313 @Alerts("1")
5314 public void manipulation__insertBefore_jQuery_() throws Exception {
5315 runTest("manipulation: insertBefore(jQuery)");
5316 }
5317
5318
5319
5320
5321
5322 @Test
5323 @Alerts("1")
5324 public void manipulation___after_String_() throws Exception {
5325 runTest("manipulation: .after(String)");
5326 }
5327
5328
5329
5330
5331
5332 @Test
5333 @Alerts("1")
5334 public void manipulation___after_Element_() throws Exception {
5335 runTest("manipulation: .after(Element)");
5336 }
5337
5338
5339
5340
5341
5342 @Test
5343 @Alerts("1")
5344 public void manipulation___after_Array_Element__() throws Exception {
5345 runTest("manipulation: .after(Array<Element>)");
5346 }
5347
5348
5349
5350
5351
5352 @Test
5353 @Alerts("1")
5354 public void manipulation___after_jQuery_() throws Exception {
5355 runTest("manipulation: .after(jQuery)");
5356 }
5357
5358
5359
5360
5361
5362 @Test
5363 @Alerts("1")
5364 public void manipulation___after_Function__returns_String() throws Exception {
5365 runTest("manipulation: .after(Function) returns String");
5366 }
5367
5368
5369
5370
5371
5372 @Test
5373 @Alerts("1")
5374 public void manipulation___after_Function__returns_Element() throws Exception {
5375 runTest("manipulation: .after(Function) returns Element");
5376 }
5377
5378
5379
5380
5381
5382 @Test
5383 @Alerts("1")
5384 public void manipulation___after_Function__returns_Array_Element_() throws Exception {
5385 runTest("manipulation: .after(Function) returns Array<Element>");
5386 }
5387
5388
5389
5390
5391
5392 @Test
5393 @Alerts("1")
5394 public void manipulation___after_Function__returns_jQuery() throws Exception {
5395 runTest("manipulation: .after(Function) returns jQuery");
5396 }
5397
5398
5399
5400
5401
5402 @Test
5403 @Alerts("2")
5404 public void manipulation___after_disconnected_node_() throws Exception {
5405 runTest("manipulation: .after(disconnected node)");
5406 }
5407
5408
5409
5410
5411
5412 @Test
5413 @Alerts("1")
5414 public void manipulation__insertAfter_String_() throws Exception {
5415 runTest("manipulation: insertAfter(String)");
5416 }
5417
5418
5419
5420
5421
5422 @Test
5423 @Alerts("1")
5424 public void manipulation__insertAfter_Element_() throws Exception {
5425 runTest("manipulation: insertAfter(Element)");
5426 }
5427
5428
5429
5430
5431
5432 @Test
5433 @Alerts("1")
5434 public void manipulation__insertAfter_Array_Element__() throws Exception {
5435 runTest("manipulation: insertAfter(Array<Element>)");
5436 }
5437
5438
5439
5440
5441
5442 @Test
5443 @Alerts("1")
5444 public void manipulation__insertAfter_jQuery_() throws Exception {
5445 runTest("manipulation: insertAfter(jQuery)");
5446 }
5447
5448
5449
5450
5451
5452 @Test
5453 @Alerts("29")
5454 public void manipulation__replaceWith_String_Element_Array_Element__jQuery_() throws Exception {
5455 runTest("manipulation: replaceWith(String|Element|Array<Element>|jQuery)");
5456 }
5457
5458
5459
5460
5461
5462 @Test
5463 @Alerts("30")
5464 public void manipulation__replaceWith_Function_() throws Exception {
5465 runTest("manipulation: replaceWith(Function)");
5466 }
5467
5468
5469
5470
5471
5472 @Test
5473 @Alerts("3")
5474 public void manipulation__replaceWith_string__for_more_than_one_element() throws Exception {
5475 runTest("manipulation: replaceWith(string) for more than one element");
5476 }
5477
5478
5479
5480
5481
5482 @Test
5483 @Alerts("25")
5484 public void manipulation__Empty_replaceWith__trac_13401__trac_13596__gh_2204_() throws Exception {
5485 runTest("manipulation: Empty replaceWith (trac-13401; trac-13596; gh-2204)");
5486 }
5487
5488
5489
5490
5491
5492 @Test
5493 @Alerts("2")
5494 public void manipulation__replaceAll_String_() throws Exception {
5495 runTest("manipulation: replaceAll(String)");
5496 }
5497
5498
5499
5500
5501
5502 @Test
5503 @Alerts("2")
5504 public void manipulation__replaceAll_Element_() throws Exception {
5505 runTest("manipulation: replaceAll(Element)");
5506 }
5507
5508
5509
5510
5511
5512 @Test
5513 @Alerts("3")
5514 public void manipulation__replaceAll_Array_Element__() throws Exception {
5515 runTest("manipulation: replaceAll(Array<Element>)");
5516 }
5517
5518
5519
5520
5521
5522 @Test
5523 @Alerts("3")
5524 public void manipulation__replaceAll_jQuery_() throws Exception {
5525 runTest("manipulation: replaceAll(jQuery)");
5526 }
5527
5528
5529
5530
5531
5532 @Test
5533 @Alerts("2")
5534 public void manipulation__jQuery_clone_____8017_() throws Exception {
5535 runTest("manipulation: jQuery.clone() (#8017)");
5536 }
5537
5538
5539
5540
5541
5542 @Test
5543 @Alerts("2")
5544 public void manipulation__append_to_multiple_elements___8070_() throws Exception {
5545 runTest("manipulation: append to multiple elements (#8070)");
5546 }
5547
5548
5549
5550
5551
5552 @Test
5553 @Alerts("2")
5554 @NotYetImplemented
5555 public void manipulation__table_manipulation() throws Exception {
5556 runTest("manipulation: table manipulation");
5557 }
5558
5559
5560
5561
5562
5563 @Test
5564 @Alerts("45")
5565 public void manipulation__clone__() throws Exception {
5566 runTest("manipulation: clone()");
5567 }
5568
5569
5570
5571
5572
5573 @Test
5574 @Alerts("3")
5575 public void manipulation__clone_script_type_non_javascript____11359_() throws Exception {
5576 runTest("manipulation: clone(script type=non-javascript) (#11359)");
5577 }
5578
5579
5580
5581
5582
5583 @Test
5584 @Alerts("5")
5585 public void manipulation__clone_form_element___Bug__3879___6655_() throws Exception {
5586 runTest("manipulation: clone(form element) (Bug #3879, #6655)");
5587 }
5588
5589
5590
5591
5592
5593 @Test
5594 @Alerts("1")
5595 public void manipulation__clone_multiple_selected_options___Bug__8129_() throws Exception {
5596 runTest("manipulation: clone(multiple selected options) (Bug #8129)");
5597 }
5598
5599
5600
5601
5602
5603 @Test
5604 @Alerts("2")
5605 public void manipulation__clone___on_XML_nodes() throws Exception {
5606 runTest("manipulation: clone() on XML nodes");
5607 }
5608
5609
5610
5611
5612
5613 @Test
5614 @Alerts("2")
5615 public void manipulation__clone___on_local_XML_nodes_with_html5_nodename() throws Exception {
5616 runTest("manipulation: clone() on local XML nodes with html5 nodename");
5617 }
5618
5619
5620
5621
5622
5623 @Test
5624 @Alerts("1")
5625 public void manipulation__html_undefined_() throws Exception {
5626 runTest("manipulation: html(undefined)");
5627 }
5628
5629
5630
5631
5632
5633 @Test
5634 @Alerts("1")
5635 public void manipulation__html___on_empty_set() throws Exception {
5636 runTest("manipulation: html() on empty set");
5637 }
5638
5639
5640
5641
5642
5643 @Test
5644 @Alerts("40")
5645 public void manipulation__html_String_Number_() throws Exception {
5646 runTest("manipulation: html(String|Number)");
5647 }
5648
5649
5650
5651
5652
5653 @Test
5654 @Alerts("40")
5655 public void manipulation__html_Function_() throws Exception {
5656 runTest("manipulation: html(Function)");
5657 }
5658
5659
5660
5661
5662
5663 @Test
5664 @Alerts("4")
5665 @NotYetImplemented
5666 public void manipulation__html_script_type_module_() throws Exception {
5667 runTest("manipulation: html(script type module)");
5668 }
5669
5670
5671
5672
5673
5674 @Test
5675 @Alerts("4")
5676 public void manipulation__html_Function__with_incoming_value____direct_selection() throws Exception {
5677 runTest("manipulation: html(Function) with incoming value -- direct selection");
5678 }
5679
5680
5681
5682
5683
5684 @Test
5685 @Alerts("14")
5686 public void manipulation__html_Function__with_incoming_value____jQuery_contents__() throws Exception {
5687 runTest("manipulation: html(Function) with incoming value -- jQuery.contents()");
5688 }
5689
5690
5691
5692
5693
5694 @Test
5695 @Alerts("2")
5696 public void manipulation__clone___html___don_t_expose_jQuery_Sizzle_expandos___12858_() throws Exception {
5697 runTest("manipulation: clone()/html() don't expose jQuery/Sizzle expandos (#12858)");
5698 }
5699
5700
5701
5702
5703
5704 @Test
5705 @Alerts("2")
5706 public void manipulation__remove___no_filters() throws Exception {
5707 runTest("manipulation: remove() no filters");
5708 }
5709
5710
5711
5712
5713
5714 @Test
5715 @Alerts("8")
5716 public void manipulation__remove___with_filters() throws Exception {
5717 runTest("manipulation: remove() with filters");
5718 }
5719
5720
5721
5722
5723
5724 @Test
5725 @Alerts("1")
5726 public void manipulation__remove___event_cleaning() throws Exception {
5727 runTest("manipulation: remove() event cleaning");
5728 }
5729
5730
5731
5732
5733
5734 @Test
5735 @Alerts("1")
5736 public void manipulation__remove___in_document_order__13779() throws Exception {
5737 runTest("manipulation: remove() in document order #13779");
5738 }
5739
5740
5741
5742
5743
5744 @Test
5745 @Alerts("3")
5746 public void manipulation__detach___no_filters() throws Exception {
5747 runTest("manipulation: detach() no filters");
5748 }
5749
5750
5751
5752
5753
5754 @Test
5755 @Alerts("8")
5756 public void manipulation__detach___with_filters() throws Exception {
5757 runTest("manipulation: detach() with filters");
5758 }
5759
5760
5761
5762
5763
5764 @Test
5765 @Alerts("1")
5766 public void manipulation__detach___event_cleaning() throws Exception {
5767 runTest("manipulation: detach() event cleaning");
5768 }
5769
5770
5771
5772
5773
5774 @Test
5775 @Alerts("3")
5776 public void manipulation__empty__() throws Exception {
5777 runTest("manipulation: empty()");
5778 }
5779
5780
5781
5782
5783
5784 @Test
5785 @Alerts("14")
5786 public void manipulation__jQuery_cleanData() throws Exception {
5787 runTest("manipulation: jQuery.cleanData");
5788 }
5789
5790
5791
5792
5793
5794 @Test
5795 @Alerts("3")
5796 public void manipulation__jQuery_cleanData_eliminates_all_private_data__gh_2127_() throws Exception {
5797 runTest("manipulation: jQuery.cleanData eliminates all private data (gh-2127)");
5798 }
5799
5800
5801
5802
5803
5804 @Test
5805 @Alerts("3")
5806 public void manipulation__jQuery_cleanData_eliminates_all_public_data() throws Exception {
5807 runTest("manipulation: jQuery.cleanData eliminates all public data");
5808 }
5809
5810
5811
5812
5813
5814 @Test
5815 @Alerts("1")
5816 public void manipulation__domManip_plain_text_caching__trac_6779_() throws Exception {
5817 runTest("manipulation: domManip plain-text caching (trac-6779)");
5818 }
5819
5820
5821
5822
5823
5824 @Test
5825 @Alerts("3")
5826 public void manipulation__domManip_executes_scripts_containing_html_comments_or_CDATA__trac_9221_() throws Exception {
5827 runTest("manipulation: domManip executes scripts containing html comments or CDATA (trac-9221)");
5828 }
5829
5830
5831
5832
5833
5834 @Test
5835 @Alerts("1")
5836 public void manipulation__domManip_tolerates_window_valued_document_0__in_IE9_10__trac_12266_() throws Exception {
5837 runTest("manipulation: domManip tolerates window-valued document[0] in IE9/10 (trac-12266)");
5838 }
5839
5840
5841
5842
5843
5844 @Test
5845 @Alerts("2")
5846 public void manipulation__domManip_executes_scripts_in_iframes_in_the_iframes__context() throws Exception {
5847 runTest("manipulation: domManip executes scripts in iframes in the iframes' context");
5848 }
5849
5850
5851
5852
5853
5854 @Test
5855 @Alerts("1")
5856 public void manipulation__jQuery_clone___no_exceptions_for_object_elements__9587() throws Exception {
5857 runTest("manipulation: jQuery.clone - no exceptions for object elements #9587");
5858 }
5859
5860
5861
5862
5863
5864 @Test
5865 @Alerts("7")
5866 public void manipulation__Cloned__detached_HTML5_elems___10667_10670_() throws Exception {
5867 runTest("manipulation: Cloned, detached HTML5 elems (#10667,10670)");
5868 }
5869
5870
5871
5872
5873
5874 @Test
5875 @Alerts("1")
5876 public void manipulation__Guard_against_exceptions_when_clearing_safeChildNodes() throws Exception {
5877 runTest("manipulation: Guard against exceptions when clearing safeChildNodes");
5878 }
5879
5880
5881
5882
5883
5884 @Test
5885 @Alerts("5")
5886 public void manipulation__Ensure_oldIE_creates_a_new_set_on_appendTo___8894_() throws Exception {
5887 runTest("manipulation: Ensure oldIE creates a new set on appendTo (#8894)");
5888 }
5889
5890
5891
5892
5893
5894 @Test
5895 @Alerts("2")
5896 @NotYetImplemented
5897 public void manipulation__html_____script_exceptions_bubble___11743_() throws Exception {
5898 runTest("manipulation: html() - script exceptions bubble (#11743)");
5899 }
5900
5901
5902
5903
5904
5905 @Test
5906 @Alerts("2")
5907 public void manipulation__checked_state_is_cloned_with_clone__() throws Exception {
5908 runTest("manipulation: checked state is cloned with clone()");
5909 }
5910
5911
5912
5913
5914
5915 @Test
5916 @Alerts("2")
5917 public void manipulation__manipulate_mixed_jQuery_and_text___12384___12346_() throws Exception {
5918 runTest("manipulation: manipulate mixed jQuery and text (#12384, #12346)");
5919 }
5920
5921
5922
5923
5924
5925 @Test
5926 @Alerts("13")
5927 @NotYetImplemented
5928 public void manipulation__script_evaluation___11795_() throws Exception {
5929 runTest("manipulation: script evaluation (#11795)");
5930 }
5931
5932
5933
5934
5935
5936 @Test
5937 @Alerts("5")
5938 public void manipulation__jQuery__evalUrl___12838_() throws Exception {
5939 runTest("manipulation: jQuery._evalUrl (#12838)");
5940 }
5941
5942
5943
5944
5945
5946 @Test
5947 @Alerts("5")
5948 public void manipulation__jQuery_htmlPrefilter__gh_1747_() throws Exception {
5949 runTest("manipulation: jQuery.htmlPrefilter (gh-1747)");
5950 }
5951
5952
5953
5954
5955
5956 @Test
5957 @Alerts("10")
5958 public void manipulation__insertAfter__insertBefore__etc_do_not_work_when_destination_is_original_element__Element_is_removed___4087_() throws Exception {
5959 runTest("manipulation: insertAfter, insertBefore, etc do not work when destination is original element. Element is removed (#4087)");
5960 }
5961
5962
5963
5964
5965
5966 @Test
5967 @Alerts("2")
5968 public void manipulation__Index_for_function_argument_should_be_received___13094_() throws Exception {
5969 runTest("manipulation: Index for function argument should be received (#13094)");
5970 }
5971
5972
5973
5974
5975
5976 @Test
5977 @Alerts("1")
5978 public void manipulation__Make_sure_jQuery_fn_remove_can_work_on_elements_in_documentFragment() throws Exception {
5979 runTest("manipulation: Make sure jQuery.fn.remove can work on elements in documentFragment");
5980 }
5981
5982
5983
5984
5985
5986 @Test
5987 @Alerts("20")
5988 public void manipulation__Make_sure_specific_elements_with_content_created_correctly___13232_() throws Exception {
5989 runTest("manipulation: Make sure specific elements with content created correctly (#13232)");
5990 }
5991
5992
5993
5994
5995
5996 @Test
5997 @Alerts("44")
5998 public void manipulation__Validate_creation_of_multiple_quantities_of_certain_elements___13818_() throws Exception {
5999 runTest("manipulation: Validate creation of multiple quantities of certain elements (#13818)");
6000 }
6001
6002
6003
6004
6005
6006 @Test
6007 @Alerts("1")
6008 public void manipulation__Make_sure_tr_element_will_be_appended_to_tbody_element_of_table_when_present() throws Exception {
6009 runTest("manipulation: Make sure tr element will be appended to tbody element of table when present");
6010 }
6011
6012
6013
6014
6015
6016 @Test
6017 @Alerts("1")
6018 public void manipulation__Make_sure_tr_elements_will_be_appended_to_tbody_element_of_table_when_present() throws Exception {
6019 runTest("manipulation: Make sure tr elements will be appended to tbody element of table when present");
6020 }
6021
6022
6023
6024
6025
6026 @Test
6027 @Alerts("1")
6028 public void manipulation__Make_sure_tfoot_element_will_not_be_appended_to_tbody_element_of_table_when_present() throws Exception {
6029 runTest("manipulation: Make sure tfoot element will not be appended to tbody element of table when present");
6030 }
6031
6032
6033
6034
6035
6036 @Test
6037 @Alerts("1")
6038 public void manipulation__Make_sure_document_fragment_will_be_appended_to_tbody_element_of_table_when_present() throws Exception {
6039 runTest("manipulation: Make sure document fragment will be appended to tbody element of table when present");
6040 }
6041
6042
6043
6044
6045
6046 @Test
6047 @Alerts("1")
6048 @NotYetImplemented
6049 public void manipulation__Make_sure_col_element_is_appended_correctly() throws Exception {
6050 runTest("manipulation: Make sure col element is appended correctly");
6051 }
6052
6053
6054
6055
6056
6057 @Test
6058 @Alerts("1")
6059 public void manipulation__Make_sure_tr_is_not_appended_to_the_wrong_tbody__gh_3439_() throws Exception {
6060 runTest("manipulation: Make sure tr is not appended to the wrong tbody (gh-3439)");
6061 }
6062
6063
6064
6065
6066
6067 @Test
6068 @Alerts("1")
6069 public void manipulation__Insert_script_with_data_URI__gh_1887_() throws Exception {
6070 runTest("manipulation: Insert script with data-URI (gh-1887)");
6071 }
6072
6073
6074
6075
6076
6077 @Test
6078 @Alerts("19")
6079 public void wrap__wrap_String_Element_() throws Exception {
6080 runTest("wrap: wrap(String|Element)");
6081 }
6082
6083
6084
6085
6086
6087 @Test
6088 @Alerts("19")
6089 public void wrap__wrap_Function_() throws Exception {
6090 runTest("wrap: wrap(Function)");
6091 }
6092
6093
6094
6095
6096
6097 @Test
6098 @Alerts("6")
6099 public void wrap__wrap_Function__with_index___10177_() throws Exception {
6100 runTest("wrap: wrap(Function) with index (#10177)");
6101 }
6102
6103
6104
6105
6106
6107 @Test
6108 @Alerts("12")
6109 public void wrap__wrap_String__consecutive_elements___10177_() throws Exception {
6110 runTest("wrap: wrap(String) consecutive elements (#10177)");
6111 }
6112
6113
6114
6115
6116
6117 @Test
6118 @Alerts("5")
6119 public void wrap__wrapAll_String_() throws Exception {
6120 runTest("wrap: wrapAll(String)");
6121 }
6122
6123
6124
6125
6126
6127 @Test
6128 @Alerts("5")
6129 public void wrap__wrapAll_Function_() throws Exception {
6130 runTest("wrap: wrapAll(Function)");
6131 }
6132
6133
6134
6135
6136
6137 @Test
6138 @Alerts("3")
6139 public void wrap__wrapAll_Function__check_execution_characteristics() throws Exception {
6140 runTest("wrap: wrapAll(Function) check execution characteristics");
6141 }
6142
6143
6144
6145
6146
6147 @Test
6148 @Alerts("3")
6149 public void wrap__wrapAll_Element_() throws Exception {
6150 runTest("wrap: wrapAll(Element)");
6151 }
6152
6153
6154
6155
6156
6157 @Test
6158 @Alerts("6")
6159 public void wrap__wrapInner_String_() throws Exception {
6160 runTest("wrap: wrapInner(String)");
6161 }
6162
6163
6164
6165
6166
6167 @Test
6168 @Alerts("5")
6169 public void wrap__wrapInner_Element_() throws Exception {
6170 runTest("wrap: wrapInner(Element)");
6171 }
6172
6173
6174
6175
6176
6177 @Test
6178 @Alerts("6")
6179 public void wrap__wrapInner_Function__returns_String() throws Exception {
6180 runTest("wrap: wrapInner(Function) returns String");
6181 }
6182
6183
6184
6185
6186
6187 @Test
6188 @Alerts("5")
6189 public void wrap__wrapInner_Function__returns_Element() throws Exception {
6190 runTest("wrap: wrapInner(Function) returns Element");
6191 }
6192
6193
6194
6195
6196
6197 @Test
6198 @Alerts("9")
6199 public void wrap__unwrap__() throws Exception {
6200 runTest("wrap: unwrap()");
6201 }
6202
6203
6204
6205
6206
6207 @Test
6208 @Alerts("5")
6209 public void wrap__unwrap__selector__() throws Exception {
6210 runTest("wrap: unwrap( selector )");
6211 }
6212
6213
6214
6215
6216
6217 @Test
6218 @Alerts("2")
6219 public void wrap__jQuery__tag_____wrap_Inner_All____handle_unknown_elems___10667_() throws Exception {
6220 runTest("wrap: jQuery(<tag>) & wrap[Inner/All]() handle unknown elems (#10667)");
6221 }
6222
6223
6224
6225
6226
6227 @Test
6228 @Alerts("2")
6229 public void wrap__wrapping_scripts___10470_() throws Exception {
6230 runTest("wrap: wrapping scripts (#10470)");
6231 }
6232
6233
6234
6235
6236
6237 @Test
6238 @Alerts("42")
6239 public void css__css_String_Hash_() throws Exception {
6240 runTest("css: css(String|Hash)");
6241 }
6242
6243
6244
6245
6246
6247 @Test
6248 @Alerts("29")
6249 public void css__css___explicit_and_relative_values() throws Exception {
6250 runTest("css: css() explicit and relative values");
6251 }
6252
6253
6254
6255
6256
6257 @Test
6258 @Alerts("17")
6259 public void css__css___non_px_relative_values__gh_1711_() throws Exception {
6260 runTest("css: css() non-px relative values (gh-1711)");
6261 }
6262
6263
6264
6265
6266
6267 @Test
6268 @Alerts("1")
6269 @NotYetImplemented
6270 public void css__css___mismatched_relative_values_with_bounded_styles__gh_2144_() throws Exception {
6271 runTest("css: css() mismatched relative values with bounded styles (gh-2144)");
6272 }
6273
6274
6275
6276
6277
6278 @Test
6279 @Alerts("19")
6280 public void css__css_String__Object_() throws Exception {
6281 runTest("css: css(String, Object)");
6282 }
6283
6284
6285
6286
6287
6288 @Test
6289 @Alerts("4")
6290 public void css__css_String__Object__with_negative_values() throws Exception {
6291 runTest("css: css(String, Object) with negative values");
6292 }
6293
6294
6295
6296
6297
6298 @Test
6299 @Alerts("2")
6300 public void css__css_Array_() throws Exception {
6301 runTest("css: css(Array)");
6302 }
6303
6304
6305
6306
6307
6308 @Test
6309 @Alerts("3")
6310 public void css__css_String__Function_() throws Exception {
6311 runTest("css: css(String, Function)");
6312 }
6313
6314
6315
6316
6317
6318 @Test
6319 @Alerts("3")
6320 public void css__css_String__Function__with_incoming_value() throws Exception {
6321 runTest("css: css(String, Function) with incoming value");
6322 }
6323
6324
6325
6326
6327
6328 @Test
6329 @Alerts("3")
6330 public void css__css_Object__where_values_are_Functions() throws Exception {
6331 runTest("css: css(Object) where values are Functions");
6332 }
6333
6334
6335
6336
6337
6338 @Test
6339 @Alerts("3")
6340 public void css__css_Object__where_values_are_Functions_with_incoming_values() throws Exception {
6341 runTest("css: css(Object) where values are Functions with incoming values");
6342 }
6343
6344
6345
6346
6347
6348 @Test
6349 @Alerts("18")
6350 public void css__show__() throws Exception {
6351 runTest("css: show()");
6352 }
6353
6354
6355
6356
6357
6358 @Test
6359 @Alerts("19")
6360 public void css__show_hide_detached_nodes() throws Exception {
6361 runTest("css: show/hide detached nodes");
6362 }
6363
6364
6365
6366
6367
6368 @Test
6369 @Alerts("3")
6370 public void css__hide_hidden_elements__bug__7141_() throws Exception {
6371 runTest("css: hide hidden elements (bug #7141)");
6372 }
6373
6374
6375
6376
6377
6378 @Test
6379 @Alerts("1")
6380 public void css__show___after_hide___should_always_set_display_to_initial_value___14750_() throws Exception {
6381 runTest("css: show() after hide() should always set display to initial value (#14750)");
6382 }
6383
6384
6385
6386
6387
6388 @Test
6389 @Alerts("36")
6390 public void css__show_hide_3_0__default_display() throws Exception {
6391 runTest("css: show/hide 3.0, default display");
6392 }
6393
6394
6395
6396
6397
6398 @Test
6399 @Alerts("2")
6400 public void css__show_hide_3_0__default_body_display() throws Exception {
6401 runTest("css: show/hide 3.0, default body display");
6402 }
6403
6404
6405
6406
6407
6408 @Test
6409 @Alerts("36")
6410 public void css__show_hide_3_0__cascade_display() throws Exception {
6411 runTest("css: show/hide 3.0, cascade display");
6412 }
6413
6414
6415
6416
6417
6418 @Test
6419 @Alerts("96")
6420 public void css__show_hide_3_0__inline_display() throws Exception {
6421 runTest("css: show/hide 3.0, inline display");
6422 }
6423
6424
6425
6426
6427
6428 @Test
6429 @Alerts("72")
6430 public void css__show_hide_3_0__cascade_hidden() throws Exception {
6431 runTest("css: show/hide 3.0, cascade hidden");
6432 }
6433
6434
6435
6436
6437
6438 @Test
6439 @Alerts("84")
6440 public void css__show_hide_3_0__inline_hidden() throws Exception {
6441 runTest("css: show/hide 3.0, inline hidden");
6442 }
6443
6444
6445
6446
6447
6448 @Test
6449 @Alerts("9")
6450 public void css__toggle__() throws Exception {
6451 runTest("css: toggle()");
6452 }
6453
6454
6455
6456
6457
6458 @Test
6459 @Alerts("6")
6460 public void css__detached_toggle__() throws Exception {
6461 runTest("css: detached toggle()");
6462 }
6463
6464
6465
6466
6467
6468 @Test
6469 @Alerts("4")
6470 public void css__jQuery_css_elem___height___doesn_t_clear_radio_buttons__bug__1095_() throws Exception {
6471 runTest("css: jQuery.css(elem, 'height') doesn't clear radio buttons (bug #1095)");
6472 }
6473
6474
6475
6476
6477
6478 @Test
6479 @Alerts("1")
6480 public void css__internal_ref_to_elem_runtimeStyle__bug__7608_() throws Exception {
6481 runTest("css: internal ref to elem.runtimeStyle (bug #7608)");
6482 }
6483
6484
6485
6486
6487
6488 @Test
6489 @Alerts("2")
6490 @NotYetImplemented
6491 public void css__computed_margins__trac_3333__gh_2237_() throws Exception {
6492 runTest("css: computed margins (trac-3333; gh-2237)");
6493 }
6494
6495
6496
6497
6498
6499 @Test
6500 @Alerts("2")
6501 public void css__box_model_properties_incorrectly_returning___instead_of_px__see__10639_and__12088() throws Exception {
6502 runTest("css: box model properties incorrectly returning % instead of px, see #10639 and #12088");
6503 }
6504
6505
6506
6507
6508
6509 @Test
6510 @Alerts("2")
6511 public void css__jQuery_cssProps_behavior___bug__8402_() throws Exception {
6512 runTest("css: jQuery.cssProps behavior, (bug #8402)");
6513 }
6514
6515
6516
6517
6518
6519 @Test
6520 @Alerts("2")
6521 public void css__widows___orphans__8936() throws Exception {
6522 runTest("css: widows & orphans #8936");
6523 }
6524
6525
6526
6527
6528
6529 @Test
6530 @Alerts("2")
6531 public void css__can_t_get_css_for_disconnected_in_IE_9__see__10254_and__8388() throws Exception {
6532 runTest("css: can't get css for disconnected in IE<9, see #10254 and #8388");
6533 }
6534
6535
6536
6537
6538
6539 @Test
6540 @Alerts("1")
6541 public void css__Ensure_styles_are_retrieving_from_parsed_html_on_document_fragments() throws Exception {
6542 runTest("css: Ensure styles are retrieving from parsed html on document fragments");
6543 }
6544
6545
6546
6547
6548
6549 @Test
6550 @Alerts("8")
6551 public void css__can_t_get_background_position_in_IE_9__see__10796() throws Exception {
6552 runTest("css: can't get background-position in IE<9, see #10796");
6553 }
6554
6555
6556
6557
6558
6559 @Test
6560 @Alerts("2")
6561 public void css__percentage_properties_for_left_and_top_should_be_transformed_to_pixels__see__9505() throws Exception {
6562 runTest("css: percentage properties for left and top should be transformed to pixels, see #9505");
6563 }
6564
6565
6566
6567
6568
6569 @Test
6570 @Alerts("3")
6571 public void css__Do_not_append_px___9548___12990___2792_() throws Exception {
6572 runTest("css: Do not append px (#9548, #12990, #2792)");
6573 }
6574
6575
6576
6577
6578
6579 @Test
6580 @Alerts("4")
6581 public void css__css__width___and_css__height___should_respect_box_sizing__see__11004() throws Exception {
6582 runTest("css: css('width') and css('height') should respect box-sizing, see #11004");
6583 }
6584
6585
6586
6587
6588
6589 @Test
6590 @Alerts("1")
6591 public void css__css__width___should_work_correctly_before_document_ready___14084_() throws Exception {
6592 runTest("css: css('width') should work correctly before document ready (#14084)");
6593 }
6594
6595
6596
6597
6598
6599 @Test
6600 @Alerts("1")
6601 public void css__css__width___should_work_correctly_with_browser_zooming() throws Exception {
6602 runTest("css: css('width') should work correctly with browser zooming");
6603 }
6604
6605
6606
6607
6608
6609 @Test
6610 @Alerts("2")
6611 @NotYetImplemented
6612 public void css__css__width___and_css__height___should_return_fractional_values_for_nodes_in_the_document() throws Exception {
6613 runTest("css: css('width') and css('height') should return fractional values for nodes in the document");
6614 }
6615
6616
6617
6618
6619
6620 @Test
6621 @Alerts("2")
6622 @NotYetImplemented
6623 public void css__css__width___and_css__height___should_return_fractional_values_for_disconnected_nodes() throws Exception {
6624 runTest("css: css('width') and css('height') should return fractional values for disconnected nodes");
6625 }
6626
6627
6628
6629
6630
6631 @Test
6632 @Alerts("3")
6633 public void css__certain_css_values_of__normal__should_be_convertable_to_a_number__see__8627() throws Exception {
6634 runTest("css: certain css values of 'normal' should be convertable to a number, see #8627");
6635 }
6636
6637
6638
6639
6640
6641 @Test
6642 @Alerts("15")
6643 public void css__cssHooks___expand() throws Exception {
6644 runTest("css: cssHooks - expand");
6645 }
6646
6647
6648
6649
6650
6651 @Test
6652 @Alerts("3")
6653 public void css__css_opacity_consistency_across_browsers___12685_() throws Exception {
6654 runTest("css: css opacity consistency across browsers (#12685)");
6655 }
6656
6657
6658
6659
6660
6661 @Test
6662 @Alerts("17")
6663 @NotYetImplemented
6664 public void css___visible__hidden_selectors() throws Exception {
6665 runTest("css: :visible/:hidden selectors");
6666 }
6667
6668
6669
6670
6671
6672 @Test
6673 @Alerts("1")
6674 public void css__Keep_the_last_style_if_the_new_one_isn_t_recognized_by_the_browser___14836_() throws Exception {
6675 runTest("css: Keep the last style if the new one isn't recognized by the browser (#14836)");
6676 }
6677
6678
6679
6680
6681
6682 @Test
6683 @Alerts("1")
6684 public void css__Keep_the_last_style_if_the_new_one_is_a_non_empty_whitespace__gh_3204_() throws Exception {
6685 runTest("css: Keep the last style if the new one is a non-empty whitespace (gh-3204)");
6686 }
6687
6688
6689
6690
6691
6692 @Test
6693 @Alerts("1")
6694 public void css__Reset_the_style_if_set_to_an_empty_string() throws Exception {
6695 runTest("css: Reset the style if set to an empty string");
6696 }
6697
6698
6699
6700
6701
6702 @Test
6703 @Alerts("24")
6704 public void css__Clearing_a_Cloned_Element_s_Style_Shouldn_t_Clear_the_Original_Element_s_Style___8908_() throws Exception {
6705 runTest("css: Clearing a Cloned Element's Style Shouldn't Clear the Original Element's Style (#8908)");
6706 }
6707
6708
6709
6710
6711
6712 @Test
6713 @Alerts("1")
6714 public void css__Don_t_append_px_to_CSS__order__value___14049_() throws Exception {
6715 runTest("css: Don't append px to CSS \"order\" value (#14049)");
6716 }
6717
6718
6719
6720
6721
6722 @Test
6723 @Alerts("1")
6724 public void css__Do_not_throw_on_frame_elements_from_css_method___15098_() throws Exception {
6725 runTest("css: Do not throw on frame elements from css method (#15098)");
6726 }
6727
6728
6729
6730
6731
6732 @Test
6733 @Alerts("3")
6734 public void css__Don_t_default_to_a_cached_previously_used_wrong_prefixed_name__gh_2015_() throws Exception {
6735 runTest("css: Don't default to a cached previously used wrong prefixed name (gh-2015)");
6736 }
6737
6738
6739
6740
6741
6742 @Test
6743 @Alerts("1")
6744 public void css__Don_t_detect_fake_set_properties_on_a_node_when_caching_the_prefixed_version() throws Exception {
6745 runTest("css: Don't detect fake set properties on a node when caching the prefixed version");
6746 }
6747
6748
6749
6750
6751
6752 @Test
6753 @Alerts(CHROME = "8",
6754 EDGE = "8",
6755 FF = "10",
6756 FF_ESR = "10")
6757 @NotYetImplemented
6758 public void css__css___customProperty_() throws Exception {
6759 runTest("css: css(--customProperty)");
6760 }
6761
6762
6763
6764
6765
6766 @Test
6767 @Alerts("23")
6768 public void serialize__jQuery_param__() throws Exception {
6769 runTest("serialize: jQuery.param()");
6770 }
6771
6772
6773
6774
6775
6776 @Test
6777 @Alerts("1")
6778 public void serialize__jQuery_param___not_affected_by_ajaxSettings() throws Exception {
6779 runTest("serialize: jQuery.param() not affected by ajaxSettings");
6780 }
6781
6782
6783
6784
6785
6786 @Test
6787 @Alerts("4")
6788 public void serialize__jQuery_param___Constructed_prop_values() throws Exception {
6789 runTest("serialize: jQuery.param() Constructed prop values");
6790 }
6791
6792
6793
6794
6795
6796 @Test
6797 @Alerts("6")
6798 public void serialize__serialize__() throws Exception {
6799 runTest("serialize: serialize()");
6800 }
6801
6802
6803
6804
6805
6806 @Test
6807 @Alerts("2")
6808 public void ajax__Unit_Testing_Environment() throws Exception {
6809 runTest("ajax: Unit Testing Environment");
6810 }
6811
6812
6813
6814
6815
6816 @Test
6817 @Alerts("1")
6818 @NotYetImplemented
6819 public void ajax__XMLHttpRequest___Attempt_to_block_tests_because_of_dangling_XHR_requests__IE_() throws Exception {
6820 runTest("ajax: XMLHttpRequest - Attempt to block tests because of dangling XHR requests (IE)");
6821 }
6822
6823
6824
6825
6826
6827 @Test
6828 @Alerts("8")
6829 public void ajax__jQuery_ajax_____success_callbacks() throws Exception {
6830 runTest("ajax: jQuery.ajax() - success callbacks");
6831 }
6832
6833
6834
6835
6836
6837 @Test
6838 @Alerts("8")
6839 public void ajax__jQuery_ajax_____success_callbacks____url__options__syntax() throws Exception {
6840 runTest("ajax: jQuery.ajax() - success callbacks - (url, options) syntax");
6841 }
6842
6843
6844
6845
6846
6847 @Test
6848 @Alerts("3")
6849 public void ajax__jQuery_ajax_____execute_js_for_crossOrigin_when_dataType_option_is_provided() throws Exception {
6850 runTest("ajax: jQuery.ajax() - execute js for crossOrigin when dataType option is provided");
6851 }
6852
6853
6854
6855
6856
6857 @Test
6858 @Alerts("2")
6859 public void ajax__jQuery_ajax_____do_not_execute_js__crossOrigin_() throws Exception {
6860 runTest("ajax: jQuery.ajax() - do not execute js (crossOrigin)");
6861 }
6862
6863
6864
6865
6866
6867 @Test
6868 @Alerts("8")
6869 public void ajax__jQuery_ajax_____success_callbacks__late_binding_() throws Exception {
6870 runTest("ajax: jQuery.ajax() - success callbacks (late binding)");
6871 }
6872
6873
6874
6875
6876
6877 @Test
6878 @Alerts("8")
6879 public void ajax__jQuery_ajax_____success_callbacks__oncomplete_binding_() throws Exception {
6880 runTest("ajax: jQuery.ajax() - success callbacks (oncomplete binding)");
6881 }
6882
6883
6884
6885
6886
6887 @Test
6888 @Alerts("8")
6889 public void ajax__jQuery_ajax_____error_callbacks() throws Exception {
6890 runTest("ajax: jQuery.ajax() - error callbacks");
6891 }
6892
6893
6894
6895
6896
6897 @Test
6898 @Alerts("4")
6899 public void ajax__jQuery_ajax_____textStatus_and_errorThrown_values() throws Exception {
6900 runTest("ajax: jQuery.ajax() - textStatus and errorThrown values");
6901 }
6902
6903
6904
6905
6906
6907 @Test
6908 @Alerts("1")
6909 public void ajax__jQuery_ajax_____responseText_on_error() throws Exception {
6910 runTest("ajax: jQuery.ajax() - responseText on error");
6911 }
6912
6913
6914
6915
6916
6917 @Test
6918 @Alerts("2")
6919 public void ajax__jQuery_ajax_____retry_with_jQuery_ajax__this__() throws Exception {
6920 runTest("ajax: jQuery.ajax() - retry with jQuery.ajax( this )");
6921 }
6922
6923
6924
6925
6926
6927 @Test
6928 @Alerts("5")
6929 public void ajax__jQuery_ajax_____headers() throws Exception {
6930 runTest("ajax: jQuery.ajax() - headers");
6931 }
6932
6933
6934
6935
6936
6937 @Test
6938 @Alerts("1")
6939 public void ajax__jQuery_ajax_____Accept_header() throws Exception {
6940 runTest("ajax: jQuery.ajax() - Accept header");
6941 }
6942
6943
6944
6945
6946
6947 @Test
6948 @Alerts("2")
6949 public void ajax__jQuery_ajax_____contentType() throws Exception {
6950 runTest("ajax: jQuery.ajax() - contentType");
6951 }
6952
6953
6954
6955
6956
6957 @Test
6958 @Alerts("1")
6959 public void ajax__jQuery_ajax_____protocol_less_urls() throws Exception {
6960 runTest("ajax: jQuery.ajax() - protocol-less urls");
6961 }
6962
6963
6964
6965
6966
6967 @Test
6968 @Alerts("4")
6969 public void ajax__jQuery_ajax_____hash() throws Exception {
6970 runTest("ajax: jQuery.ajax() - hash");
6971 }
6972
6973
6974
6975
6976
6977 @Test
6978 @Alerts("4")
6979 public void ajax__jQuery_ajax_____traditional_param_encoding() throws Exception {
6980 runTest("ajax: jQuery.ajax() - traditional param encoding");
6981 }
6982
6983
6984
6985
6986
6987 @Test
6988 @Alerts("8")
6989 public void ajax__jQuery_ajax_____cross_domain_detection() throws Exception {
6990 runTest("ajax: jQuery.ajax() - cross-domain detection");
6991 }
6992
6993
6994
6995
6996
6997 @Test
6998 @Alerts("9")
6999 public void ajax__jQuery_ajax_____abort() throws Exception {
7000 runTest("ajax: jQuery.ajax() - abort");
7001 }
7002
7003
7004
7005
7006
7007 @Test
7008 @Alerts("2")
7009 @NotYetImplemented
7010 public void ajax__jQuery_ajax_____native_abort() throws Exception {
7011 runTest("ajax: jQuery.ajax() - native abort");
7012 }
7013
7014
7015
7016
7017
7018 @Test
7019 @Alerts("2")
7020 public void ajax__jQuery_ajax_____native_timeout() throws Exception {
7021 runTest("ajax: jQuery.ajax() - native timeout");
7022 }
7023
7024
7025
7026
7027
7028 @Test
7029 @Alerts("12")
7030 public void ajax__jQuery_ajax_____events_with_context() throws Exception {
7031 runTest("ajax: jQuery.ajax() - events with context");
7032 }
7033
7034
7035
7036
7037
7038 @Test
7039 @Alerts("3")
7040 public void ajax__jQuery_ajax_____events_without_context() throws Exception {
7041 runTest("ajax: jQuery.ajax() - events without context");
7042 }
7043
7044
7045
7046
7047
7048 @Test
7049 @Alerts("1")
7050 public void ajax___15118___jQuery_ajax_____function_without_jQuery_event() throws Exception {
7051 runTest("ajax: #15118 - jQuery.ajax() - function without jQuery.event");
7052 }
7053
7054
7055
7056
7057
7058 @Test
7059 @Alerts("3")
7060 public void ajax___15160___jQuery_ajax_____request_manually_aborted_in_ajaxSend() throws Exception {
7061 runTest("ajax: #15160 - jQuery.ajax() - request manually aborted in ajaxSend");
7062 }
7063
7064
7065
7066
7067
7068 @Test
7069 @Alerts("1")
7070 public void ajax__jQuery_ajax_____context_modification() throws Exception {
7071 runTest("ajax: jQuery.ajax() - context modification");
7072 }
7073
7074
7075
7076
7077
7078 @Test
7079 @Alerts("3")
7080 public void ajax__jQuery_ajax_____context_modification_through_ajaxSetup() throws Exception {
7081 runTest("ajax: jQuery.ajax() - context modification through ajaxSetup");
7082 }
7083
7084
7085
7086
7087
7088 @Test
7089 @Alerts("3")
7090 public void ajax__jQuery_ajax_____disabled_globals() throws Exception {
7091 runTest("ajax: jQuery.ajax() - disabled globals");
7092 }
7093
7094
7095
7096
7097
7098 @Test
7099 @Alerts("3")
7100 public void ajax__jQuery_ajax_____xml__non_namespace_elements_inside_namespaced_elements() throws Exception {
7101 runTest("ajax: jQuery.ajax() - xml: non-namespace elements inside namespaced elements");
7102 }
7103
7104
7105
7106
7107
7108 @Test
7109 @Alerts("3")
7110 public void ajax__jQuery_ajax_____xml__non_namespace_elements_inside_namespaced_elements__over_JSONP_() throws Exception {
7111 runTest("ajax: jQuery.ajax() - xml: non-namespace elements inside namespaced elements (over JSONP)");
7112 }
7113
7114
7115
7116
7117
7118 @Test
7119 @Alerts("2")
7120 public void ajax__jQuery_ajax_____HEAD_requests() throws Exception {
7121 runTest("ajax: jQuery.ajax() - HEAD requests");
7122 }
7123
7124
7125
7126
7127
7128 @Test
7129 @Alerts("1")
7130 public void ajax__jQuery_ajax_____beforeSend() throws Exception {
7131 runTest("ajax: jQuery.ajax() - beforeSend");
7132 }
7133
7134
7135
7136
7137
7138 @Test
7139 @Alerts("2")
7140 public void ajax__jQuery_ajax_____beforeSend__cancel_request_manually() throws Exception {
7141 runTest("ajax: jQuery.ajax() - beforeSend, cancel request manually");
7142 }
7143
7144
7145
7146
7147
7148 @Test
7149 @Alerts("5")
7150 public void ajax__jQuery_ajax_____dataType_html() throws Exception {
7151 runTest("ajax: jQuery.ajax() - dataType html");
7152 }
7153
7154
7155
7156
7157
7158 @Test
7159 @Alerts("1")
7160 public void ajax__jQuery_ajax_____synchronous_request() throws Exception {
7161 runTest("ajax: jQuery.ajax() - synchronous request");
7162 }
7163
7164
7165
7166
7167
7168 @Test
7169 @Alerts("2")
7170 public void ajax__jQuery_ajax_____synchronous_request_with_callbacks() throws Exception {
7171 runTest("ajax: jQuery.ajax() - synchronous request with callbacks");
7172 }
7173
7174
7175
7176
7177
7178 @Test
7179 @Alerts("8")
7180 public void ajax__jQuery_ajax____jQuery_get_Script_JSON_____jQuery_post____pass_through_request_object() throws Exception {
7181 runTest("ajax: jQuery.ajax(), jQuery.get[Script|JSON](), jQuery.post(), pass-through request object");
7182 }
7183
7184
7185
7186
7187
7188 @Test
7189 @Alerts("28")
7190 public void ajax__jQuery_ajax_____cache() throws Exception {
7191 runTest("ajax: jQuery.ajax() - cache");
7192 }
7193
7194
7195
7196
7197
7198 @Test
7199 @Alerts("5, 2, 7")
7200 @NotYetImplemented
7201 public void ajax__jQuery_ajax_____JSONP___Query_String___n____Same_Domain() throws Exception {
7202 runTest("ajax: jQuery.ajax() - JSONP - Query String (?n) - Same Domain");
7203 }
7204
7205
7206
7207
7208
7209 @Test
7210 @Alerts("10")
7211 public void ajax__jQuery_ajax_____JSONP___Explicit_callback_param___Same_Domain() throws Exception {
7212 runTest("ajax: jQuery.ajax() - JSONP - Explicit callback param - Same Domain");
7213 }
7214
7215
7216
7217
7218
7219 @Test
7220 @Alerts("2")
7221 public void ajax__jQuery_ajax_____JSONP___Callback_in_data___Same_Domain() throws Exception {
7222 runTest("ajax: jQuery.ajax() - JSONP - Callback in data - Same Domain");
7223 }
7224
7225
7226
7227
7228
7229 @Test
7230 @Alerts("3")
7231 public void ajax__jQuery_ajax_____JSONP___POST___Same_Domain() throws Exception {
7232 runTest("ajax: jQuery.ajax() - JSONP - POST - Same Domain");
7233 }
7234
7235
7236
7237
7238
7239 @Test
7240 @Alerts("3")
7241 public void ajax__jQuery_ajax_____JSONP___Same_Domain() throws Exception {
7242 runTest("ajax: jQuery.ajax() - JSONP - Same Domain");
7243 }
7244
7245
7246
7247
7248
7249 @Test
7250 @Alerts("2, 2, 4")
7251 public void ajax__jQuery_ajax_____JSONP___Query_String___n____Cross_Domain() throws Exception {
7252 runTest("ajax: jQuery.ajax() - JSONP - Query String (?n) - Cross Domain");
7253 }
7254
7255
7256
7257
7258
7259 @Test
7260 @Alerts("10")
7261 public void ajax__jQuery_ajax_____JSONP___Explicit_callback_param___Cross_Domain() throws Exception {
7262 runTest("ajax: jQuery.ajax() - JSONP - Explicit callback param - Cross Domain");
7263 }
7264
7265
7266
7267
7268
7269 @Test
7270 @Alerts("2")
7271 public void ajax__jQuery_ajax_____JSONP___Callback_in_data___Cross_Domain() throws Exception {
7272 runTest("ajax: jQuery.ajax() - JSONP - Callback in data - Cross Domain");
7273 }
7274
7275
7276
7277
7278
7279 @Test
7280 @Alerts("3")
7281 public void ajax__jQuery_ajax_____JSONP___POST___Cross_Domain() throws Exception {
7282 runTest("ajax: jQuery.ajax() - JSONP - POST - Cross Domain");
7283 }
7284
7285
7286
7287
7288
7289 @Test
7290 @Alerts("3")
7291 public void ajax__jQuery_ajax_____JSONP___Cross_Domain() throws Exception {
7292 runTest("ajax: jQuery.ajax() - JSONP - Cross Domain");
7293 }
7294
7295
7296
7297
7298
7299 @Test
7300 @Alerts("2")
7301 public void ajax__jQuery_ajax_____script__Remote() throws Exception {
7302 runTest("ajax: jQuery.ajax() - script, Remote");
7303 }
7304
7305
7306
7307
7308
7309 @Test
7310 @Alerts("3")
7311 public void ajax__jQuery_ajax_____script__Remote_with_POST() throws Exception {
7312 runTest("ajax: jQuery.ajax() - script, Remote with POST");
7313 }
7314
7315
7316
7317
7318
7319 @Test
7320 @Alerts("2")
7321 public void ajax__jQuery_ajax_____script__Remote_with_scheme_less_URL() throws Exception {
7322 runTest("ajax: jQuery.ajax() - script, Remote with scheme-less URL");
7323 }
7324
7325
7326
7327
7328
7329 @Test
7330 @Alerts("2")
7331 public void ajax__jQuery_ajax_____malformed_JSON() throws Exception {
7332 runTest("ajax: jQuery.ajax() - malformed JSON");
7333 }
7334
7335
7336
7337
7338
7339 @Test
7340 @Alerts("2")
7341 public void ajax__jQuery_ajax_____script_by_content_type() throws Exception {
7342 runTest("ajax: jQuery.ajax() - script by content-type");
7343 }
7344
7345
7346
7347
7348
7349 @Test
7350 @Alerts("5")
7351 public void ajax__jQuery_ajax_____JSON_by_content_type() throws Exception {
7352 runTest("ajax: jQuery.ajax() - JSON by content-type");
7353 }
7354
7355
7356
7357
7358
7359 @Test
7360 @Alerts("6")
7361 public void ajax__jQuery_ajax_____JSON_by_content_type_disabled_with_options() throws Exception {
7362 runTest("ajax: jQuery.ajax() - JSON by content-type disabled with options");
7363 }
7364
7365
7366
7367
7368
7369 @Test
7370 @Alerts("1")
7371 public void ajax__jQuery_ajax_____simple_get() throws Exception {
7372 runTest("ajax: jQuery.ajax() - simple get");
7373 }
7374
7375
7376
7377
7378
7379 @Test
7380 @Alerts("1")
7381 public void ajax__jQuery_ajax_____simple_post() throws Exception {
7382 runTest("ajax: jQuery.ajax() - simple post");
7383 }
7384
7385
7386
7387
7388
7389 @Test
7390 @Alerts("1")
7391 public void ajax__jQuery_ajax_____data_option___empty_bodies_for_non_GET_requests() throws Exception {
7392 runTest("ajax: jQuery.ajax() - data option - empty bodies for non-GET requests");
7393 }
7394
7395
7396
7397
7398
7399 @Test
7400 @Alerts("1")
7401 public void ajax__jQuery_ajax_____data___x_www_form_urlencoded__gh_2658_() throws Exception {
7402 runTest("ajax: jQuery.ajax() - data - x-www-form-urlencoded (gh-2658)");
7403 }
7404
7405
7406
7407
7408
7409 @Test
7410 @Alerts("1")
7411 public void ajax__jQuery_ajax_____data___text_plain__gh_2658_() throws Exception {
7412 runTest("ajax: jQuery.ajax() - data - text/plain (gh-2658)");
7413 }
7414
7415
7416
7417
7418
7419 @Test
7420 @Alerts("1")
7421 public void ajax__jQuery_ajax_____data___no_processing_POST() throws Exception {
7422 runTest("ajax: jQuery.ajax() - data - no processing POST");
7423 }
7424
7425
7426
7427
7428
7429 @Test
7430 @Alerts("1")
7431 public void ajax__jQuery_ajax_____data___no_processing_GET() throws Exception {
7432 runTest("ajax: jQuery.ajax() - data - no processing GET");
7433 }
7434
7435
7436
7437
7438
7439 @Test
7440 @Alerts("2")
7441 public void ajax__jQuery_ajax_____data___process_string_with_GET() throws Exception {
7442 runTest("ajax: jQuery.ajax() - data - process string with GET");
7443 }
7444
7445
7446
7447
7448
7449 @Test
7450 @Alerts("4")
7451 public void ajax__jQuery_ajax_____If_Modified_Since_support__cache_() throws Exception {
7452 runTest("ajax: jQuery.ajax() - If-Modified-Since support (cache)");
7453 }
7454
7455
7456
7457
7458
7459 @Test
7460 @Alerts("4")
7461 public void ajax__jQuery_ajax_____Etag_support__cache_() throws Exception {
7462 runTest("ajax: jQuery.ajax() - Etag support (cache)");
7463 }
7464
7465
7466
7467
7468
7469 @Test
7470 @Alerts("4")
7471 public void ajax__jQuery_ajax_____If_Modified_Since_support__no_cache_() throws Exception {
7472 runTest("ajax: jQuery.ajax() - If-Modified-Since support (no cache)");
7473 }
7474
7475
7476
7477
7478
7479 @Test
7480 @Alerts("4")
7481 public void ajax__jQuery_ajax_____Etag_support__no_cache_() throws Exception {
7482 runTest("ajax: jQuery.ajax() - Etag support (no cache)");
7483 }
7484
7485
7486
7487
7488
7489 @Test
7490 @Alerts("1")
7491 public void ajax__jQuery_ajax_____failing_cross_domain__non_existing_() throws Exception {
7492 runTest("ajax: jQuery.ajax() - failing cross-domain (non-existing)");
7493 }
7494
7495
7496
7497
7498
7499 @Test
7500 @Alerts("1")
7501 @NotYetImplemented
7502 public void ajax__jQuery_ajax_____failing_cross_domain() throws Exception {
7503 runTest("ajax: jQuery.ajax() - failing cross-domain");
7504 }
7505
7506
7507
7508
7509
7510 @Test
7511 @Alerts("1")
7512 public void ajax__jQuery_ajax_____atom_xml() throws Exception {
7513 runTest("ajax: jQuery.ajax() - atom+xml");
7514 }
7515
7516
7517
7518
7519
7520 @Test
7521 @Alerts("3")
7522 public void ajax__jQuery_ajax_____statusText() throws Exception {
7523 runTest("ajax: jQuery.ajax() - statusText");
7524 }
7525
7526
7527
7528
7529
7530 @Test
7531 @Alerts("20")
7532 public void ajax__jQuery_ajax_____statusCode() throws Exception {
7533 runTest("ajax: jQuery.ajax() - statusCode");
7534 }
7535
7536
7537
7538
7539
7540 @Test
7541 @Alerts("8")
7542 public void ajax__jQuery_ajax_____transitive_conversions() throws Exception {
7543 runTest("ajax: jQuery.ajax() - transitive conversions");
7544 }
7545
7546
7547
7548
7549
7550 @Test
7551 @Alerts("2")
7552 public void ajax__jQuery_ajax_____overrideMimeType() throws Exception {
7553 runTest("ajax: jQuery.ajax() - overrideMimeType");
7554 }
7555
7556
7557
7558
7559
7560 @Test
7561 @Alerts("1")
7562 public void ajax__jQuery_ajax_____empty_json_gets_to_error_callback_instead_of_success_callback_() throws Exception {
7563 runTest("ajax: jQuery.ajax() - empty json gets to error callback instead of success callback.");
7564 }
7565
7566
7567
7568
7569
7570 @Test
7571 @Alerts("2")
7572 public void ajax___2688___jQuery_ajax_____beforeSend__cancel_request() throws Exception {
7573 runTest("ajax: #2688 - jQuery.ajax() - beforeSend, cancel request");
7574 }
7575
7576
7577
7578
7579
7580 @Test
7581 @Alerts("1")
7582 public void ajax___2806___jQuery_ajax_____data_option___evaluate_function_values() throws Exception {
7583 runTest("ajax: #2806 - jQuery.ajax() - data option - evaluate function values");
7584 }
7585
7586
7587
7588
7589
7590 @Test
7591 @Alerts("1")
7592 public void ajax___7531___jQuery_ajax_____Location_object_as_url() throws Exception {
7593 runTest("ajax: #7531 - jQuery.ajax() - Location object as url");
7594 }
7595
7596
7597
7598
7599
7600 @Test
7601 @Alerts("1")
7602 public void ajax___7578___jQuery_ajax_____JSONP___default_for_cache_option___Same_Domain() throws Exception {
7603 runTest("ajax: #7578 - jQuery.ajax() - JSONP - default for cache option - Same Domain");
7604 }
7605
7606
7607
7608
7609
7610 @Test
7611 @Alerts("1")
7612 public void ajax___7578___jQuery_ajax_____JSONP___default_for_cache_option___Cross_Domain() throws Exception {
7613 runTest("ajax: #7578 - jQuery.ajax() - JSONP - default for cache option - Cross Domain");
7614 }
7615
7616
7617
7618
7619
7620 @Test
7621 @Alerts("4")
7622 public void ajax___8107___jQuery_ajax_____multiple_method_signatures_introduced_in_1_5() throws Exception {
7623 runTest("ajax: #8107 - jQuery.ajax() - multiple method signatures introduced in 1.5");
7624 }
7625
7626
7627
7628
7629
7630 @Test
7631 @Alerts("4")
7632 public void ajax___8205___jQuery_ajax_____JSONP___re_use_callbacks_name___Same_Domain() throws Exception {
7633 runTest("ajax: #8205 - jQuery.ajax() - JSONP - re-use callbacks name - Same Domain");
7634 }
7635
7636
7637
7638
7639
7640 @Test
7641 @Alerts("4")
7642 public void ajax___8205___jQuery_ajax_____JSONP___re_use_callbacks_name___Cross_Domain() throws Exception {
7643 runTest("ajax: #8205 - jQuery.ajax() - JSONP - re-use callbacks name - Cross Domain");
7644 }
7645
7646
7647
7648
7649
7650 @Test
7651 @Alerts("2")
7652 public void ajax___9887___jQuery_ajax_____Context_with_circular_references___9887_() throws Exception {
7653 runTest("ajax: #9887 - jQuery.ajax() - Context with circular references (#9887)");
7654 }
7655
7656
7657
7658
7659
7660 @Test
7661 @Alerts("4")
7662 public void ajax___10093___jQuery_ajax_____falsy_url_as_argument() throws Exception {
7663 runTest("ajax: #10093 - jQuery.ajax() - falsy url as argument");
7664 }
7665
7666
7667
7668
7669
7670 @Test
7671 @Alerts("4")
7672 public void ajax___10093___jQuery_ajax_____falsy_url_in_settings_object() throws Exception {
7673 runTest("ajax: #10093 - jQuery.ajax() - falsy url in settings object");
7674 }
7675
7676
7677
7678
7679
7680 @Test
7681 @Alerts("2")
7682 public void ajax___11151___jQuery_ajax_____parse_error_body() throws Exception {
7683 runTest("ajax: #11151 - jQuery.ajax() - parse error body");
7684 }
7685
7686
7687
7688
7689
7690 @Test
7691 @Alerts("1")
7692 public void ajax___11426___jQuery_ajax_____loading_binary_data_shouldn_t_throw_an_exception_in_IE() throws Exception {
7693 runTest("ajax: #11426 - jQuery.ajax() - loading binary data shouldn't throw an exception in IE");
7694 }
7695
7696
7697
7698
7699
7700 @Test
7701 @Alerts("2")
7702 public void ajax__gh_2498___jQuery_ajax_____binary_data_shouldn_t_throw_an_exception() throws Exception {
7703 runTest("ajax: gh-2498 - jQuery.ajax() - binary data shouldn't throw an exception");
7704 }
7705
7706
7707
7708
7709
7710 @Test
7711 @Alerts("1")
7712 @NotYetImplemented
7713 public void ajax___11743___jQuery_ajax_____script__throws_exception() throws Exception {
7714 runTest("ajax: #11743 - jQuery.ajax() - script, throws exception");
7715 }
7716
7717
7718
7719
7720
7721 @Test
7722 @Alerts("3")
7723 public void ajax___12004___jQuery_ajax_____method_is_an_alias_of_type___method_set_globally() throws Exception {
7724 runTest("ajax: #12004 - jQuery.ajax() - method is an alias of type - method set globally");
7725 }
7726
7727
7728
7729
7730
7731 @Test
7732 @Alerts("3")
7733 public void ajax___12004___jQuery_ajax_____method_is_an_alias_of_type___type_set_globally() throws Exception {
7734 runTest("ajax: #12004 - jQuery.ajax() - method is an alias of type - type set globally");
7735 }
7736
7737
7738
7739
7740
7741 @Test
7742 @Alerts("1")
7743 public void ajax___13276___jQuery_ajax_____compatibility_between_XML_documents_from_ajax_requests_and_parsed_string() throws Exception {
7744 runTest("ajax: #13276 - jQuery.ajax() - compatibility between XML documents from ajax requests and parsed string");
7745 }
7746
7747
7748
7749
7750
7751 @Test
7752 @Alerts("3")
7753 public void ajax___13292___jQuery_ajax_____converter_is_bypassed_for_204_requests() throws Exception {
7754 runTest("ajax: #13292 - jQuery.ajax() - converter is bypassed for 204 requests");
7755 }
7756
7757
7758
7759
7760
7761 @Test
7762 @Alerts("3")
7763 public void ajax___13388___jQuery_ajax_____responseXML() throws Exception {
7764 runTest("ajax: #13388 - jQuery.ajax() - responseXML");
7765 }
7766
7767
7768
7769
7770
7771 @Test
7772 @Alerts("3")
7773 public void ajax___13922___jQuery_ajax_____converter_is_bypassed_for_HEAD_requests() throws Exception {
7774 runTest("ajax: #13922 - jQuery.ajax() - converter is bypassed for HEAD requests");
7775 }
7776
7777
7778
7779
7780
7781 @Test
7782 @Alerts(DEFAULT = "1",
7783 CHROME = "1, 0, 1",
7784 EDGE = "1, 0, 1")
7785 @NotYetImplemented({ CHROME, EDGE })
7786 public void ajax___14379___jQuery_ajax___on_unload() throws Exception {
7787 runTest("ajax: #14379 - jQuery.ajax() on unload");
7788 }
7789
7790
7791
7792
7793
7794 @Test
7795 @Alerts("4")
7796 public void ajax___14683___jQuery_ajax_____Exceptions_thrown_synchronously_by_xhr_send_should_be_caught() throws Exception {
7797 runTest("ajax: #14683 - jQuery.ajax() - Exceptions thrown synchronously by xhr.send should be caught");
7798 }
7799
7800
7801
7802
7803
7804 @Test
7805 @Alerts("1")
7806 public void ajax__gh_2587___when_content_type_not_xml__but_looks_like_one() throws Exception {
7807 runTest("ajax: gh-2587 - when content-type not xml, but looks like one");
7808 }
7809
7810
7811
7812
7813
7814 @Test
7815 @Alerts("1")
7816 public void ajax__gh_2587___when_content_type_not_json__but_looks_like_one() throws Exception {
7817 runTest("ajax: gh-2587 - when content-type not json, but looks like one");
7818 }
7819
7820
7821
7822
7823
7824 @Test
7825 @Alerts("1")
7826 public void ajax__gh_2587___when_content_type_not_html__but_looks_like_one() throws Exception {
7827 runTest("ajax: gh-2587 - when content-type not html, but looks like one");
7828 }
7829
7830
7831
7832
7833
7834 @Test
7835 @Alerts("1")
7836 public void ajax__gh_2587___when_content_type_not_javascript__but_looks_like_one() throws Exception {
7837 runTest("ajax: gh-2587 - when content-type not javascript, but looks like one");
7838 }
7839
7840
7841
7842
7843
7844 @Test
7845 @Alerts("1")
7846 public void ajax__gh_2587___when_content_type_not_ecmascript__but_looks_like_one() throws Exception {
7847 runTest("ajax: gh-2587 - when content-type not ecmascript, but looks like one");
7848 }
7849
7850
7851
7852
7853
7854 @Test
7855 @Alerts("1")
7856 public void ajax__jQuery_ajaxPrefilter_____abort() throws Exception {
7857 runTest("ajax: jQuery.ajaxPrefilter() - abort");
7858 }
7859
7860
7861
7862
7863
7864 @Test
7865 @Alerts("1")
7866 public void ajax__jQuery_ajaxSetup__() throws Exception {
7867 runTest("ajax: jQuery.ajaxSetup()");
7868 }
7869
7870
7871
7872
7873
7874 @Test
7875 @Alerts("2")
7876 @NotYetImplemented
7877 public void ajax__jQuery_ajaxSetup___timeout__Number______with_global_timeout() throws Exception {
7878 runTest("ajax: jQuery.ajaxSetup({ timeout: Number }) - with global timeout");
7879 }
7880
7881
7882
7883
7884
7885 @Test
7886 @Alerts("1")
7887 public void ajax__jQuery_ajaxSetup___timeout__Number____with_localtimeout() throws Exception {
7888 runTest("ajax: jQuery.ajaxSetup({ timeout: Number }) with localtimeout");
7889 }
7890
7891
7892
7893
7894
7895 @Test
7896 @Alerts("1")
7897 @NotYetImplemented
7898 public void ajax___11264___jQuery_domManip_____no_side_effect_because_of_ajaxSetup_or_global_events() throws Exception {
7899 runTest("ajax: #11264 - jQuery.domManip() - no side effect because of ajaxSetup or global events");
7900 }
7901
7902
7903
7904
7905
7906 @Test
7907 @Alerts("1")
7908 public void ajax__jQuery_load_____always_use_GET_method_even_if_it_overrided_through_ajaxSetup___11264_() throws Exception {
7909 runTest("ajax: jQuery#load() - always use GET method even if it overrided through ajaxSetup (#11264)");
7910 }
7911
7912
7913
7914
7915
7916 @Test
7917 @Alerts("2")
7918 public void ajax__jQuery_load_____should_resolve_with_correct_context() throws Exception {
7919 runTest("ajax: jQuery#load() - should resolve with correct context");
7920 }
7921
7922
7923
7924
7925
7926 @Test
7927 @Alerts("2")
7928 public void ajax___11402___jQuery_domManip_____script_in_comments_are_properly_evaluated() throws Exception {
7929 runTest("ajax: #11402 - jQuery.domManip() - script in comments are properly evaluated");
7930 }
7931
7932
7933
7934
7935
7936 @Test
7937 @Alerts("2")
7938 public void ajax__jQuery_get__String__Hash__Function_____parse_xml_and_use_text___on_nodes() throws Exception {
7939 runTest("ajax: jQuery.get( String, Hash, Function ) - parse xml and use text() on nodes");
7940 }
7941
7942
7943
7944
7945
7946 @Test
7947 @Alerts("1")
7948 public void ajax___8277___jQuery_get__String__Function_____data_in_ajaxSettings() throws Exception {
7949 runTest("ajax: #8277 - jQuery.get( String, Function ) - data in ajaxSettings");
7950 }
7951
7952
7953
7954
7955
7956 @Test
7957 @Alerts("5")
7958 public void ajax__jQuery_getJSON__String__Hash__Function_____JSON_array() throws Exception {
7959 runTest("ajax: jQuery.getJSON( String, Hash, Function ) - JSON array");
7960 }
7961
7962
7963
7964
7965
7966 @Test
7967 @Alerts("2")
7968 public void ajax__jQuery_getJSON__String__Function_____JSON_object() throws Exception {
7969 runTest("ajax: jQuery.getJSON( String, Function ) - JSON object");
7970 }
7971
7972
7973
7974
7975
7976 @Test
7977 @Alerts("2")
7978 public void ajax__jQuery_getJSON__String__Function_____JSON_object_with_absolute_url_to_local_content() throws Exception {
7979 runTest("ajax: jQuery.getJSON( String, Function ) - JSON object with absolute url to local content");
7980 }
7981
7982
7983
7984
7985
7986 @Test
7987 @Alerts("2")
7988 public void ajax__jQuery_getScript__String__Function_____with_callback() throws Exception {
7989 runTest("ajax: jQuery.getScript( String, Function ) - with callback");
7990 }
7991
7992
7993
7994
7995
7996 @Test
7997 @Alerts("1")
7998 public void ajax__jQuery_getScript__String__Function_____no_callback() throws Exception {
7999 runTest("ajax: jQuery.getScript( String, Function ) - no callback");
8000 }
8001
8002
8003
8004
8005
8006 @Test
8007 @Alerts("2")
8008 public void ajax___8082___jQuery_getScript__String__Function_____source_as_responseText() throws Exception {
8009 runTest("ajax: #8082 - jQuery.getScript( String, Function ) - source as responseText");
8010 }
8011
8012
8013
8014
8015
8016 @Test
8017 @Alerts("2")
8018 public void ajax__jQuery_getScript__Object_____with_callback() throws Exception {
8019 runTest("ajax: jQuery.getScript( Object ) - with callback");
8020 }
8021
8022
8023
8024
8025
8026 @Test
8027 @Alerts("1")
8028 public void ajax__jQuery_getScript__Object_____no_callback() throws Exception {
8029 runTest("ajax: jQuery.getScript( Object ) - no callback");
8030 }
8031
8032
8033
8034
8035
8036 @Test
8037 @Alerts("2")
8038 public void ajax__jQuery_fn_load__String__() throws Exception {
8039 runTest("ajax: jQuery.fn.load( String )");
8040 }
8041
8042
8043
8044
8045
8046 @Test
8047 @Alerts("6")
8048 public void ajax__jQuery_fn_load_____404_error_callbacks() throws Exception {
8049 runTest("ajax: jQuery.fn.load() - 404 error callbacks");
8050 }
8051
8052
8053
8054
8055
8056 @Test
8057 @Alerts("2")
8058 public void ajax__jQuery_fn_load__String__null__() throws Exception {
8059 runTest("ajax: jQuery.fn.load( String, null )");
8060 }
8061
8062
8063
8064
8065
8066 @Test
8067 @Alerts("2")
8068 public void ajax__jQuery_fn_load__String__undefined__() throws Exception {
8069 runTest("ajax: jQuery.fn.load( String, undefined )");
8070 }
8071
8072
8073
8074
8075
8076 @Test
8077 @Alerts("1")
8078 public void ajax__jQuery_fn_load__URL_SELECTOR__() throws Exception {
8079 runTest("ajax: jQuery.fn.load( URL_SELECTOR )");
8080 }
8081
8082
8083
8084
8085
8086 @Test
8087 @Alerts("1")
8088 public void ajax__jQuery_fn_load__URL_SELECTOR_with_spaces__() throws Exception {
8089 runTest("ajax: jQuery.fn.load( URL_SELECTOR with spaces )");
8090 }
8091
8092
8093
8094
8095
8096 @Test
8097 @Alerts("1")
8098 public void ajax__jQuery_fn_load__URL_SELECTOR_with_non_HTML_whitespace__3003___() throws Exception {
8099 runTest("ajax: jQuery.fn.load( URL_SELECTOR with non-HTML whitespace(#3003) )");
8100 }
8101
8102
8103
8104
8105
8106 @Test
8107 @Alerts("2")
8108 public void ajax__jQuery_fn_load__String__Function_____simple__inject_text_into_DOM() throws Exception {
8109 runTest("ajax: jQuery.fn.load( String, Function ) - simple: inject text into DOM");
8110 }
8111
8112
8113
8114
8115
8116 @Test
8117 @Alerts("7")
8118 @NotYetImplemented
8119 public void ajax__jQuery_fn_load__String__Function_____check_scripts() throws Exception {
8120 runTest("ajax: jQuery.fn.load( String, Function ) - check scripts");
8121 }
8122
8123
8124
8125
8126
8127 @Test
8128 @Alerts("3")
8129 public void ajax__jQuery_fn_load__String__Function_____check_file_with_only_a_script_tag() throws Exception {
8130 runTest("ajax: jQuery.fn.load( String, Function ) - check file with only a script tag");
8131 }
8132
8133
8134
8135
8136
8137 @Test
8138 @Alerts("2")
8139 public void ajax__jQuery_fn_load__String__Function_____dataFilter_in_ajaxSettings() throws Exception {
8140 runTest("ajax: jQuery.fn.load( String, Function ) - dataFilter in ajaxSettings");
8141 }
8142
8143
8144
8145
8146
8147 @Test
8148 @Alerts("2")
8149 public void ajax__jQuery_fn_load__String__Object__Function__() throws Exception {
8150 runTest("ajax: jQuery.fn.load( String, Object, Function )");
8151 }
8152
8153
8154
8155
8156
8157 @Test
8158 @Alerts("2")
8159 public void ajax__jQuery_fn_load__String__String__Function__() throws Exception {
8160 runTest("ajax: jQuery.fn.load( String, String, Function )");
8161 }
8162
8163
8164
8165
8166
8167 @Test
8168 @Alerts("8")
8169 public void ajax__jQuery_fn_load_____callbacks_get_the_correct_parameters() throws Exception {
8170 runTest("ajax: jQuery.fn.load() - callbacks get the correct parameters");
8171 }
8172
8173
8174
8175
8176
8177 @Test
8178 @Alerts("1")
8179 public void ajax___2046___jQuery_fn_load__String__Function___with_ajaxSetup_on_dataType_json() throws Exception {
8180 runTest("ajax: #2046 - jQuery.fn.load( String, Function ) with ajaxSetup on dataType json");
8181 }
8182
8183
8184
8185
8186
8187 @Test
8188 @Alerts("1")
8189 public void ajax___10524___jQuery_fn_load_____data_specified_in_ajaxSettings_is_merged_in() throws Exception {
8190 runTest("ajax: #10524 - jQuery.fn.load() - data specified in ajaxSettings is merged in");
8191 }
8192
8193
8194
8195
8196
8197 @Test
8198 @Alerts("3")
8199 public void ajax__jQuery_post_____data() throws Exception {
8200 runTest("ajax: jQuery.post() - data");
8201 }
8202
8203
8204
8205
8206
8207 @Test
8208 @Alerts("4")
8209 public void ajax__jQuery_post__String__Hash__Function_____simple_with_xml() throws Exception {
8210 runTest("ajax: jQuery.post( String, Hash, Function ) - simple with xml");
8211 }
8212
8213
8214
8215
8216
8217 @Test
8218 @Alerts("2")
8219 public void ajax__jQuery_get_post___options_____simple_with_xml() throws Exception {
8220 runTest("ajax: jQuery[get|post]( options ) - simple with xml");
8221 }
8222
8223
8224
8225
8226
8227 @Test
8228 @Alerts("1")
8229 public void ajax__jQuery_active() throws Exception {
8230 runTest("ajax: jQuery.active");
8231 }
8232
8233
8234
8235
8236
8237 @Test
8238 @Alerts("1")
8239 public void effects__sanity_check() throws Exception {
8240 runTest("effects: sanity check");
8241 }
8242
8243
8244
8245
8246
8247 @Test
8248 @Alerts("1")
8249 public void effects__show___basic() throws Exception {
8250 runTest("effects: show() basic");
8251 }
8252
8253
8254
8255
8256
8257 @Test
8258 @Alerts("27")
8259 @NotYetImplemented({ CHROME, FF, FF_ESR })
8260 public void effects__show__() throws Exception {
8261 runTest("effects: show()");
8262 }
8263
8264
8265
8266
8267
8268 @Test
8269 @Alerts("30")
8270 public void effects__show_Number____inline_hidden() throws Exception {
8271 runTest("effects: show(Number) - inline hidden");
8272 }
8273
8274
8275
8276
8277
8278 @Test
8279 @Alerts("30")
8280 public void effects__show_Number____cascade_hidden() throws Exception {
8281 runTest("effects: show(Number) - cascade hidden");
8282 }
8283
8284
8285
8286
8287
8288 @Test
8289 @Alerts("3")
8290 public void effects__Persist_correct_display_value___inline_hidden() throws Exception {
8291 runTest("effects: Persist correct display value - inline hidden");
8292 }
8293
8294
8295
8296
8297
8298 @Test
8299 @Alerts("3")
8300 public void effects__Persist_correct_display_value___cascade_hidden() throws Exception {
8301 runTest("effects: Persist correct display value - cascade hidden");
8302 }
8303
8304
8305
8306
8307
8308 @Test
8309 @Alerts("1")
8310 public void effects__animate_Hash__Object__Function_() throws Exception {
8311 runTest("effects: animate(Hash, Object, Function)");
8312 }
8313
8314
8315
8316
8317
8318 @Test
8319 @Alerts("12")
8320 public void effects__animate_relative_values() throws Exception {
8321 runTest("effects: animate relative values");
8322 }
8323
8324
8325
8326
8327
8328 @Test
8329 @Alerts("1")
8330 public void effects__animate_negative_height() throws Exception {
8331 runTest("effects: animate negative height");
8332 }
8333
8334
8335
8336
8337
8338 @Test
8339 @Alerts("1")
8340 public void effects__animate_negative_margin() throws Exception {
8341 runTest("effects: animate negative margin");
8342 }
8343
8344
8345
8346
8347
8348 @Test
8349 @Alerts("1")
8350 public void effects__animate_negative_margin_with_px() throws Exception {
8351 runTest("effects: animate negative margin with px");
8352 }
8353
8354
8355
8356
8357
8358 @Test
8359 @Alerts("1")
8360 @NotYetImplemented
8361 public void effects__animate_negative_padding() throws Exception {
8362 runTest("effects: animate negative padding");
8363 }
8364
8365
8366
8367
8368
8369 @Test
8370 @Alerts("3")
8371 public void effects__animate_block_as_inline_width_height() throws Exception {
8372 runTest("effects: animate block as inline width/height");
8373 }
8374
8375
8376
8377
8378
8379 @Test
8380 @Alerts("3")
8381 public void effects__animate_native_inline_width_height() throws Exception {
8382 runTest("effects: animate native inline width/height");
8383 }
8384
8385
8386
8387
8388
8389 @Test
8390 @Alerts("3")
8391 public void effects__animate_block_width_height() throws Exception {
8392 runTest("effects: animate block width/height");
8393 }
8394
8395
8396
8397
8398
8399 @Test
8400 @Alerts("1")
8401 public void effects__animate_table_width_height() throws Exception {
8402 runTest("effects: animate table width/height");
8403 }
8404
8405
8406
8407
8408
8409 @Test
8410 @Alerts("3")
8411 @NotYetImplemented
8412 public void effects__animate_table_row_width_height() throws Exception {
8413 runTest("effects: animate table-row width/height");
8414 }
8415
8416
8417
8418
8419
8420 @Test
8421 @Alerts("3")
8422 @NotYetImplemented
8423 public void effects__animate_table_cell_width_height() throws Exception {
8424 runTest("effects: animate table-cell width/height");
8425 }
8426
8427
8428
8429
8430
8431 @Test
8432 @Alerts("2")
8433 public void effects__animate_percentage____on_width_height() throws Exception {
8434 runTest("effects: animate percentage(%) on width/height");
8435 }
8436
8437
8438
8439
8440
8441 @Test
8442 @Alerts("2")
8443 public void effects__animate_resets_overflow_x_and_overflow_y_when_finished() throws Exception {
8444 runTest("effects: animate resets overflow-x and overflow-y when finished");
8445 }
8446
8447
8448
8449
8450
8451 @Test
8452 @Alerts("2")
8453 public void effects__animate_option___queue__false__() throws Exception {
8454 runTest("effects: animate option { queue: false }");
8455 }
8456
8457
8458
8459
8460
8461 @Test
8462 @Alerts("2")
8463 public void effects__animate_option___queue__true__() throws Exception {
8464 runTest("effects: animate option { queue: true }");
8465 }
8466
8467
8468
8469
8470
8471 @Test
8472 @Alerts("5")
8473 public void effects__animate_option___queue___name___() throws Exception {
8474 runTest("effects: animate option { queue: 'name' }");
8475 }
8476
8477
8478
8479
8480
8481 @Test
8482 @Alerts("2")
8483 public void effects__animate_with_no_properties() throws Exception {
8484 runTest("effects: animate with no properties");
8485 }
8486
8487
8488
8489
8490
8491 @Test
8492 @Alerts("11")
8493 public void effects__animate_duration_0() throws Exception {
8494 runTest("effects: animate duration 0");
8495 }
8496
8497
8498
8499
8500
8501 @Test
8502 @Alerts("1")
8503 public void effects__animate_hyphenated_properties() throws Exception {
8504 runTest("effects: animate hyphenated properties");
8505 }
8506
8507
8508
8509
8510
8511 @Test
8512 @Alerts("1")
8513 public void effects__animate_non_element() throws Exception {
8514 runTest("effects: animate non-element");
8515 }
8516
8517
8518
8519
8520
8521 @Test
8522 @Alerts("4")
8523 public void effects__stop__() throws Exception {
8524 runTest("effects: stop()");
8525 }
8526
8527
8528
8529
8530
8531 @Test
8532 @Alerts("5")
8533 public void effects__stop_____several_in_queue() throws Exception {
8534 runTest("effects: stop() - several in queue");
8535 }
8536
8537
8538
8539
8540
8541 @Test
8542 @Alerts("4")
8543 public void effects__stop_clearQueue_() throws Exception {
8544 runTest("effects: stop(clearQueue)");
8545 }
8546
8547
8548
8549
8550
8551 @Test
8552 @Alerts("1")
8553 public void effects__stop_clearQueue__gotoEnd_() throws Exception {
8554 runTest("effects: stop(clearQueue, gotoEnd)");
8555 }
8556
8557
8558
8559
8560
8561 @Test
8562 @Alerts("3")
8563 public void effects__stop__queue_______________Stop_single_queues() throws Exception {
8564 runTest("effects: stop( queue, ..., ... ) - Stop single queues");
8565 }
8566
8567
8568
8569
8570
8571 @Test
8572 @Alerts("6")
8573 public void effects__toggle__() throws Exception {
8574 runTest("effects: toggle()");
8575 }
8576
8577
8578
8579
8580
8581 @Test
8582 @Alerts("7")
8583 public void effects__jQuery_fx_prototype_cur______1_8_Back_Compat() throws Exception {
8584 runTest("effects: jQuery.fx.prototype.cur() - <1.8 Back Compat");
8585 }
8586
8587
8588
8589
8590
8591 @Test
8592 @Alerts("4")
8593 public void effects__Overflow_and_Display() throws Exception {
8594 runTest("effects: Overflow and Display");
8595 }
8596
8597
8598
8599
8600
8601 @Test
8602 @Alerts("6")
8603 public void effects__CSS_Auto_to_0() throws Exception {
8604 runTest("effects: CSS Auto to 0");
8605 }
8606
8607
8608
8609
8610
8611 @Test
8612 @Alerts("6")
8613 public void effects__CSS_Auto_to_50() throws Exception {
8614 runTest("effects: CSS Auto to 50");
8615 }
8616
8617
8618
8619
8620
8621 @Test
8622 @Alerts("6")
8623 public void effects__CSS_Auto_to_100() throws Exception {
8624 runTest("effects: CSS Auto to 100");
8625 }
8626
8627
8628
8629
8630
8631 @Test
8632 @Alerts("5")
8633 @NotYetImplemented
8634 public void effects__CSS_Auto_to_show() throws Exception {
8635 runTest("effects: CSS Auto to show");
8636 }
8637
8638
8639
8640
8641
8642 @Test
8643 @Alerts("4")
8644 public void effects__CSS_Auto_to_hide() throws Exception {
8645 runTest("effects: CSS Auto to hide");
8646 }
8647
8648
8649
8650
8651
8652 @Test
8653 @Alerts("6")
8654 public void effects__JS_Auto_to_0() throws Exception {
8655 runTest("effects: JS Auto to 0");
8656 }
8657
8658
8659
8660
8661
8662 @Test
8663 @Alerts("6")
8664 public void effects__JS_Auto_to_50() throws Exception {
8665 runTest("effects: JS Auto to 50");
8666 }
8667
8668
8669
8670
8671
8672 @Test
8673 @Alerts("6")
8674 public void effects__JS_Auto_to_100() throws Exception {
8675 runTest("effects: JS Auto to 100");
8676 }
8677
8678
8679
8680
8681
8682 @Test
8683 @Alerts("5")
8684 @NotYetImplemented
8685 public void effects__JS_Auto_to_show() throws Exception {
8686 runTest("effects: JS Auto to show");
8687 }
8688
8689
8690
8691
8692
8693 @Test
8694 @Alerts("4")
8695 public void effects__JS_Auto_to_hide() throws Exception {
8696 runTest("effects: JS Auto to hide");
8697 }
8698
8699
8700
8701
8702
8703 @Test
8704 @Alerts("6")
8705 public void effects__CSS_100_to_0() throws Exception {
8706 runTest("effects: CSS 100 to 0");
8707 }
8708
8709
8710
8711
8712
8713 @Test
8714 @Alerts("6")
8715 public void effects__CSS_100_to_50() throws Exception {
8716 runTest("effects: CSS 100 to 50");
8717 }
8718
8719
8720
8721
8722
8723 @Test
8724 @Alerts("6")
8725 public void effects__CSS_100_to_100() throws Exception {
8726 runTest("effects: CSS 100 to 100");
8727 }
8728
8729
8730
8731
8732
8733 @Test
8734 @Alerts("5")
8735 public void effects__CSS_100_to_show() throws Exception {
8736 runTest("effects: CSS 100 to show");
8737 }
8738
8739
8740
8741
8742
8743 @Test
8744 @Alerts("4")
8745 public void effects__CSS_100_to_hide() throws Exception {
8746 runTest("effects: CSS 100 to hide");
8747 }
8748
8749
8750
8751
8752
8753 @Test
8754 @Alerts("6")
8755 public void effects__JS_100_to_0() throws Exception {
8756 runTest("effects: JS 100 to 0");
8757 }
8758
8759
8760
8761
8762
8763 @Test
8764 @Alerts("6")
8765 public void effects__JS_100_to_50() throws Exception {
8766 runTest("effects: JS 100 to 50");
8767 }
8768
8769
8770
8771
8772
8773 @Test
8774 @Alerts("6")
8775 public void effects__JS_100_to_100() throws Exception {
8776 runTest("effects: JS 100 to 100");
8777 }
8778
8779
8780
8781
8782
8783 @Test
8784 @Alerts("5")
8785 public void effects__JS_100_to_show() throws Exception {
8786 runTest("effects: JS 100 to show");
8787 }
8788
8789
8790
8791
8792
8793 @Test
8794 @Alerts("4")
8795 public void effects__JS_100_to_hide() throws Exception {
8796 runTest("effects: JS 100 to hide");
8797 }
8798
8799
8800
8801
8802
8803 @Test
8804 @Alerts("6")
8805 public void effects__CSS_50_to_0() throws Exception {
8806 runTest("effects: CSS 50 to 0");
8807 }
8808
8809
8810
8811
8812
8813 @Test
8814 @Alerts("6")
8815 public void effects__CSS_50_to_50() throws Exception {
8816 runTest("effects: CSS 50 to 50");
8817 }
8818
8819
8820
8821
8822
8823 @Test
8824 @Alerts("6")
8825 public void effects__CSS_50_to_100() throws Exception {
8826 runTest("effects: CSS 50 to 100");
8827 }
8828
8829
8830
8831
8832
8833 @Test
8834 @Alerts("5")
8835 public void effects__CSS_50_to_show() throws Exception {
8836 runTest("effects: CSS 50 to show");
8837 }
8838
8839
8840
8841
8842
8843 @Test
8844 @Alerts("4")
8845 public void effects__CSS_50_to_hide() throws Exception {
8846 runTest("effects: CSS 50 to hide");
8847 }
8848
8849
8850
8851
8852
8853 @Test
8854 @Alerts("6")
8855 public void effects__JS_50_to_0() throws Exception {
8856 runTest("effects: JS 50 to 0");
8857 }
8858
8859
8860
8861
8862
8863 @Test
8864 @Alerts("6")
8865 public void effects__JS_50_to_50() throws Exception {
8866 runTest("effects: JS 50 to 50");
8867 }
8868
8869
8870
8871
8872
8873 @Test
8874 @Alerts("6")
8875 public void effects__JS_50_to_100() throws Exception {
8876 runTest("effects: JS 50 to 100");
8877 }
8878
8879
8880
8881
8882
8883 @Test
8884 @Alerts("5")
8885 public void effects__JS_50_to_show() throws Exception {
8886 runTest("effects: JS 50 to show");
8887 }
8888
8889
8890
8891
8892
8893 @Test
8894 @Alerts("4")
8895 public void effects__JS_50_to_hide() throws Exception {
8896 runTest("effects: JS 50 to hide");
8897 }
8898
8899
8900
8901
8902
8903 @Test
8904 @Alerts("6")
8905 public void effects__CSS_0_to_0() throws Exception {
8906 runTest("effects: CSS 0 to 0");
8907 }
8908
8909
8910
8911
8912
8913 @Test
8914 @Alerts("6")
8915 public void effects__CSS_0_to_50() throws Exception {
8916 runTest("effects: CSS 0 to 50");
8917 }
8918
8919
8920
8921
8922
8923 @Test
8924 @Alerts("6")
8925 public void effects__CSS_0_to_100() throws Exception {
8926 runTest("effects: CSS 0 to 100");
8927 }
8928
8929
8930
8931
8932
8933 @Test
8934 @Alerts("5")
8935 public void effects__CSS_0_to_show() throws Exception {
8936 runTest("effects: CSS 0 to show");
8937 }
8938
8939
8940
8941
8942
8943 @Test
8944 @Alerts("4")
8945 public void effects__CSS_0_to_hide() throws Exception {
8946 runTest("effects: CSS 0 to hide");
8947 }
8948
8949
8950
8951
8952
8953 @Test
8954 @Alerts("6")
8955 public void effects__JS_0_to_0() throws Exception {
8956 runTest("effects: JS 0 to 0");
8957 }
8958
8959
8960
8961
8962
8963 @Test
8964 @Alerts("6")
8965 public void effects__JS_0_to_50() throws Exception {
8966 runTest("effects: JS 0 to 50");
8967 }
8968
8969
8970
8971
8972
8973 @Test
8974 @Alerts("6")
8975 public void effects__JS_0_to_100() throws Exception {
8976 runTest("effects: JS 0 to 100");
8977 }
8978
8979
8980
8981
8982
8983 @Test
8984 @Alerts("5")
8985 public void effects__JS_0_to_show() throws Exception {
8986 runTest("effects: JS 0 to show");
8987 }
8988
8989
8990
8991
8992
8993 @Test
8994 @Alerts("4")
8995 public void effects__JS_0_to_hide() throws Exception {
8996 runTest("effects: JS 0 to hide");
8997 }
8998
8999
9000
9001
9002
9003 @Test
9004 @Alerts("16")
9005 public void effects__Effects_chaining() throws Exception {
9006 runTest("effects: Effects chaining");
9007 }
9008
9009
9010
9011
9012
9013 @Test
9014 @Alerts("4")
9015 public void effects__jQuery_show__fast___doesn_t_clear_radio_buttons__bug__1095_() throws Exception {
9016 runTest("effects: jQuery.show('fast') doesn't clear radio buttons (bug #1095)");
9017 }
9018
9019
9020
9021
9022
9023 @Test
9024 @Alerts("24")
9025 public void effects__interrupt_toggle() throws Exception {
9026 runTest("effects: interrupt toggle");
9027 }
9028
9029
9030
9031
9032
9033 @Test
9034 @Alerts("5")
9035 public void effects__animate_with_per_property_easing() throws Exception {
9036 runTest("effects: animate with per-property easing");
9037 }
9038
9039
9040
9041
9042
9043 @Test
9044 @Alerts("11")
9045 public void effects__animate_with_CSS_shorthand_properties() throws Exception {
9046 runTest("effects: animate with CSS shorthand properties");
9047 }
9048
9049
9050
9051
9052
9053 @Test
9054 @Alerts("4")
9055 public void effects__hide_hidden_elements__with_animation__bug__7141_() throws Exception {
9056 runTest("effects: hide hidden elements, with animation (bug #7141)");
9057 }
9058
9059
9060
9061
9062
9063 @Test
9064 @Alerts("2")
9065 public void effects__animate_unit_less_properties___4966_() throws Exception {
9066 runTest("effects: animate unit-less properties (#4966)");
9067 }
9068
9069
9070
9071
9072
9073 @Test
9074 @Alerts("6")
9075 public void effects__animate_properties_missing_px_w__opacity_as_last___9074_() throws Exception {
9076 runTest("effects: animate properties missing px w/ opacity as last (#9074)");
9077 }
9078
9079
9080
9081
9082
9083 @Test
9084 @Alerts("1")
9085 public void effects__callbacks_should_fire_in_correct_order___9100_() throws Exception {
9086 runTest("effects: callbacks should fire in correct order (#9100)");
9087 }
9088
9089
9090
9091
9092
9093 @Test
9094 @Alerts("2")
9095 public void effects__callbacks_that_throw_exceptions_will_be_removed___5684_() throws Exception {
9096 runTest("effects: callbacks that throw exceptions will be removed (#5684)");
9097 }
9098
9099
9100
9101
9102
9103 @Test
9104 @Alerts("2")
9105 public void effects__animate_will_scale_margin_properties_individually() throws Exception {
9106 runTest("effects: animate will scale margin properties individually");
9107 }
9108
9109
9110
9111
9112
9113 @Test
9114 @Alerts("1")
9115 public void effects__Do_not_append_px_to__fill_opacity___9548() throws Exception {
9116 runTest("effects: Do not append px to 'fill-opacity' #9548");
9117 }
9118
9119
9120
9121
9122
9123 @Test
9124 @Alerts("12")
9125 @NotYetImplemented
9126 public void effects__line_height_animates_correctly___13855_() throws Exception {
9127 runTest("effects: line-height animates correctly (#13855)");
9128 }
9129
9130
9131
9132
9133
9134 @Test
9135 @Alerts("4")
9136 public void effects__jQuery_Animation__object__props__opts__() throws Exception {
9137 runTest("effects: jQuery.Animation( object, props, opts )");
9138 }
9139
9140
9141
9142
9143
9144 @Test
9145 @Alerts("1")
9146 public void effects__Animate_Option__step__function__percent__tween__() throws Exception {
9147 runTest("effects: Animate Option: step: function( percent, tween )");
9148 }
9149
9150
9151
9152
9153
9154 @Test
9155 @Alerts("2")
9156 public void effects__Animate_callbacks_have_correct_context() throws Exception {
9157 runTest("effects: Animate callbacks have correct context");
9158 }
9159
9160
9161
9162
9163
9164 @Test
9165 @Alerts("2")
9166 public void effects__User_supplied_callback_called_after_show_when_fx_off___8892_() throws Exception {
9167 runTest("effects: User supplied callback called after show when fx off (#8892)");
9168 }
9169
9170
9171
9172
9173
9174 @Test
9175 @Alerts("20")
9176 public void effects__animate_should_set_display_for_disconnected_nodes() throws Exception {
9177 runTest("effects: animate should set display for disconnected nodes");
9178 }
9179
9180
9181
9182
9183
9184 @Test
9185 @Alerts("1")
9186 public void effects__Animation_callback_should_not_show_animated_element_as__animated___7157_() throws Exception {
9187 runTest("effects: Animation callback should not show animated element as :animated (#7157)");
9188 }
9189
9190
9191
9192
9193
9194 @Test
9195 @Alerts("1")
9196 public void effects__Initial_step_callback_should_show_element_as__animated___14623_() throws Exception {
9197 runTest("effects: Initial step callback should show element as :animated (#14623)");
9198 }
9199
9200
9201
9202
9203
9204 @Test
9205 @Alerts("3")
9206 public void effects__hide_called_on_element_within_hidden_parent_should_set_display_to_none___10045_() throws Exception {
9207 runTest("effects: hide called on element within hidden parent should set display to none (#10045)");
9208 }
9209
9210
9211
9212
9213
9214 @Test
9215 @Alerts("5")
9216 public void effects__hide__fadeOut_and_slideUp_called_on_element_width_height_and_width___0_should_set_display_to_none() throws Exception {
9217 runTest("effects: hide, fadeOut and slideUp called on element width height and width = 0 should set display to none");
9218 }
9219
9220
9221
9222
9223
9224 @Test
9225 @Alerts("2")
9226 public void effects__hide_should_not_leave_hidden_inline_elements_visible___14848_() throws Exception {
9227 runTest("effects: hide should not leave hidden inline elements visible (#14848)");
9228 }
9229
9230
9231
9232
9233
9234 @Test
9235 @Alerts("10")
9236 public void effects__Handle_queue_false_promises() throws Exception {
9237 runTest("effects: Handle queue:false promises");
9238 }
9239
9240
9241
9242
9243
9244 @Test
9245 @Alerts("4")
9246 public void effects__multiple_unqueued_and_promise() throws Exception {
9247 runTest("effects: multiple unqueued and promise");
9248 }
9249
9250
9251
9252
9253
9254 @Test
9255 @Alerts("1")
9256 @NotYetImplemented
9257 public void effects__animate_does_not_change_start_value_for_non_px_animation___7109_() throws Exception {
9258 runTest("effects: animate does not change start value for non-px animation (#7109)");
9259 }
9260
9261
9262
9263
9264
9265 @Test
9266 @Alerts("2")
9267 public void effects__non_px_animation_handles_non_numeric_start___11971_() throws Exception {
9268 runTest("effects: non-px animation handles non-numeric start (#11971)");
9269 }
9270
9271
9272
9273
9274
9275 @Test
9276 @Alerts("15")
9277 public void effects__Animation_callbacks___11797_() throws Exception {
9278 runTest("effects: Animation callbacks (#11797)");
9279 }
9280
9281
9282
9283
9284
9285 @Test
9286 @Alerts("9")
9287 public void effects__Animation_callbacks_in_order___2292_() throws Exception {
9288 runTest("effects: Animation callbacks in order (#2292)");
9289 }
9290
9291
9292
9293
9294
9295 @Test
9296 @Alerts("8")
9297 public void effects__Animate_properly_sets_overflow_hidden_when_animating_width_height___12117_() throws Exception {
9298 runTest("effects: Animate properly sets overflow hidden when animating width/height (#12117)");
9299 }
9300
9301
9302
9303
9304
9305 @Test
9306 @Alerts("3")
9307 public void effects__Each_tick_of_the_timer_loop_uses_a_fresh_time___12837_() throws Exception {
9308 runTest("effects: Each tick of the timer loop uses a fresh time (#12837)");
9309 }
9310
9311
9312
9313
9314
9315 @Test
9316 @Alerts("1")
9317 public void effects__Animations_with_0_duration_don_t_ease___12273_() throws Exception {
9318 runTest("effects: Animations with 0 duration don't ease (#12273)");
9319 }
9320
9321
9322
9323
9324
9325 @Test
9326 @Alerts("4")
9327 public void effects__toggle_state_tests__toggle___8685_() throws Exception {
9328 runTest("effects: toggle state tests: toggle (#8685)");
9329 }
9330
9331
9332
9333
9334
9335 @Test
9336 @Alerts("4")
9337 public void effects__toggle_state_tests__slideToggle___8685_() throws Exception {
9338 runTest("effects: toggle state tests: slideToggle (#8685)");
9339 }
9340
9341
9342
9343
9344
9345 @Test
9346 @Alerts("4")
9347 public void effects__toggle_state_tests__fadeToggle___8685_() throws Exception {
9348 runTest("effects: toggle state tests: fadeToggle (#8685)");
9349 }
9350
9351
9352
9353
9354
9355 @Test
9356 @Alerts("3")
9357 public void effects__jQuery_fx_start___jQuery_fx_stop_hook_points() throws Exception {
9358 runTest("effects: jQuery.fx.start & jQuery.fx.stop hook points");
9359 }
9360
9361
9362
9363
9364
9365 @Test
9366 @Alerts("11")
9367 public void effects___finish___completes_all_queued_animations() throws Exception {
9368 runTest("effects: .finish() completes all queued animations");
9369 }
9370
9371
9372
9373
9374
9375 @Test
9376 @Alerts("10")
9377 public void effects___finish__false_____unqueued_animations() throws Exception {
9378 runTest("effects: .finish( false ) - unqueued animations");
9379 }
9380
9381
9382
9383
9384
9385 @Test
9386 @Alerts("11")
9387 public void effects___finish___custom______custom_queue_animations() throws Exception {
9388 runTest("effects: .finish( \"custom\" ) - custom queue animations");
9389 }
9390
9391
9392
9393
9394
9395 @Test
9396 @Alerts("6")
9397 public void effects___finish___calls_finish_of_custom_queue_functions() throws Exception {
9398 runTest("effects: .finish() calls finish of custom queue functions");
9399 }
9400
9401
9402
9403
9404
9405 @Test
9406 @Alerts("3")
9407 public void effects___finish___is_applied_correctly_when_multiple_elements_were_animated___13937_() throws Exception {
9408 runTest("effects: .finish() is applied correctly when multiple elements were animated (#13937)");
9409 }
9410
9411
9412
9413
9414
9415 @Test
9416 @Alerts("2")
9417 public void effects__slideDown___after_stop_____13483_() throws Exception {
9418 runTest("effects: slideDown() after stop() (#13483)");
9419 }
9420
9421
9422
9423
9424
9425 @Test
9426 @Alerts("2")
9427 public void effects__Respect_display_value_on_inline_elements___14824_() throws Exception {
9428 runTest("effects: Respect display value on inline elements (#14824)");
9429 }
9430
9431
9432
9433
9434
9435 @Test
9436 @Alerts("2")
9437 public void effects__jQuery_easing__default__gh_2218_() throws Exception {
9438 runTest("effects: jQuery.easing._default (gh-2218)");
9439 }
9440
9441
9442
9443
9444
9445 @Test
9446 @Alerts("3")
9447 public void effects__jQuery_easing__default_in_Animation__gh_2218() throws Exception {
9448 runTest("effects: jQuery.easing._default in Animation (gh-2218");
9449 }
9450
9451
9452
9453
9454
9455 @Test
9456 @Alerts("3")
9457 public void effects__jQuery_easing__default_in_Tween__gh_2218_() throws Exception {
9458 runTest("effects: jQuery.easing._default in Tween (gh-2218)");
9459 }
9460
9461
9462
9463
9464
9465 @Test
9466 @Alerts("3")
9467 public void effects__Display_value_is_correct_for_disconnected_nodes__trac_13310_() throws Exception {
9468 runTest("effects: Display value is correct for disconnected nodes (trac-13310)");
9469 }
9470
9471
9472
9473
9474
9475 @Test
9476 @Alerts("40")
9477 public void effects__Show_hide_toggle_and_display__inline() throws Exception {
9478 runTest("effects: Show/hide/toggle and display: inline");
9479 }
9480
9481
9482
9483
9484
9485 @Test
9486 @Alerts("4")
9487 public void effects__jQuery_speed__speed__easing__complete__() throws Exception {
9488 runTest("effects: jQuery.speed( speed, easing, complete )");
9489 }
9490
9491
9492
9493
9494
9495 @Test
9496 @Alerts("4")
9497 public void effects__jQuery_speed__speed__easing__complete_____with_easing_function() throws Exception {
9498 runTest("effects: jQuery.speed( speed, easing, complete ) - with easing function");
9499 }
9500
9501
9502
9503
9504
9505 @Test
9506 @Alerts("4")
9507 public void effects__jQuery_speed__options__() throws Exception {
9508 runTest("effects: jQuery.speed( options )");
9509 }
9510
9511
9512
9513
9514
9515 @Test
9516 @Alerts("4")
9517 public void effects__jQuery_speed__options_____with_easing_function() throws Exception {
9518 runTest("effects: jQuery.speed( options ) - with easing function");
9519 }
9520
9521
9522
9523
9524
9525 @Test
9526 @Alerts("5")
9527 public void effects__jQuery_speed__options_____queue_values() throws Exception {
9528 runTest("effects: jQuery.speed( options ) - queue values");
9529 }
9530
9531
9532
9533
9534
9535 @Test
9536 @Alerts("5")
9537 public void effects__jQuery_speed_____durations() throws Exception {
9538 runTest("effects: jQuery.speed() - durations");
9539 }
9540
9541
9542
9543
9544
9545 @Test
9546 @Alerts("2")
9547 public void offset__empty_set() throws Exception {
9548 runTest("offset: empty set");
9549 }
9550
9551
9552
9553
9554
9555 @Test
9556 @Alerts("4")
9557 public void offset__disconnected_element() throws Exception {
9558 runTest("offset: disconnected element");
9559 }
9560
9561
9562
9563
9564
9565 @Test
9566 @Alerts("4")
9567 public void offset__hidden__display__none__element() throws Exception {
9568 runTest("offset: hidden (display: none) element");
9569 }
9570
9571
9572
9573
9574
9575 @Test
9576 @Alerts("4")
9577 public void offset__0_sized_element() throws Exception {
9578 runTest("offset: 0 sized element");
9579 }
9580
9581
9582
9583
9584
9585 @Test
9586 @Alerts("4")
9587 public void offset__hidden__visibility__hidden__element() throws Exception {
9588 runTest("offset: hidden (visibility: hidden) element");
9589 }
9590
9591
9592
9593
9594
9595 @Test
9596 @Alerts("4")
9597 public void offset__normal_element() throws Exception {
9598 runTest("offset: normal element");
9599 }
9600
9601
9602
9603
9604
9605 @Test
9606 @Alerts("178")
9607 @NotYetImplemented
9608 public void offset__absolute() throws Exception {
9609 runTest("offset: absolute");
9610 }
9611
9612
9613
9614
9615
9616 @Test
9617 @Alerts("64")
9618 @NotYetImplemented
9619 public void offset__relative() throws Exception {
9620 runTest("offset: relative");
9621 }
9622
9623
9624
9625
9626
9627 @Test
9628 @Alerts("80")
9629 @NotYetImplemented
9630 public void offset__static() throws Exception {
9631 runTest("offset: static");
9632 }
9633
9634
9635
9636
9637
9638 @Test
9639 @Alerts("38")
9640 public void offset__fixed() throws Exception {
9641 runTest("offset: fixed");
9642 }
9643
9644
9645
9646
9647
9648 @Test
9649 @Alerts("4")
9650 @NotYetImplemented
9651 public void offset__table() throws Exception {
9652 runTest("offset: table");
9653 }
9654
9655
9656
9657
9658
9659 @Test
9660 @Alerts("26")
9661 @NotYetImplemented
9662 public void offset__scroll() throws Exception {
9663 runTest("offset: scroll");
9664 }
9665
9666
9667
9668
9669
9670 @Test
9671 @Alerts("4")
9672 @NotYetImplemented
9673 public void offset__body() throws Exception {
9674 runTest("offset: body");
9675 }
9676
9677
9678
9679
9680
9681 @Test
9682 @Alerts("3")
9683 public void offset__chaining() throws Exception {
9684 runTest("offset: chaining");
9685 }
9686
9687
9688
9689
9690
9691 @Test
9692 @Alerts("33")
9693 @NotYetImplemented
9694 public void offset__nonzero_box_properties___html_static_body_static() throws Exception {
9695 runTest("offset: nonzero box properties - html.static body.static");
9696 }
9697
9698
9699
9700
9701
9702 @Test
9703 @Alerts("33")
9704 @NotYetImplemented
9705 public void offset__nonzero_box_properties___html_static_body_relative() throws Exception {
9706 runTest("offset: nonzero box properties - html.static body.relative");
9707 }
9708
9709
9710
9711
9712
9713 @Test
9714 @Alerts("33")
9715 @NotYetImplemented
9716 public void offset__nonzero_box_properties___html_static_body_absolute() throws Exception {
9717 runTest("offset: nonzero box properties - html.static body.absolute");
9718 }
9719
9720
9721
9722
9723
9724 @Test
9725 @Alerts("33")
9726 @NotYetImplemented
9727 public void offset__nonzero_box_properties___html_static_body_fixed() throws Exception {
9728 runTest("offset: nonzero box properties - html.static body.fixed");
9729 }
9730
9731
9732
9733
9734
9735 @Test
9736 @Alerts("33")
9737 @NotYetImplemented
9738 public void offset__nonzero_box_properties___html_relative_body_static() throws Exception {
9739 runTest("offset: nonzero box properties - html.relative body.static");
9740 }
9741
9742
9743
9744
9745
9746 @Test
9747 @Alerts("33")
9748 @NotYetImplemented
9749 public void offset__nonzero_box_properties___html_relative_body_relative() throws Exception {
9750 runTest("offset: nonzero box properties - html.relative body.relative");
9751 }
9752
9753
9754
9755
9756
9757 @Test
9758 @Alerts("33")
9759 @NotYetImplemented
9760 public void offset__nonzero_box_properties___html_relative_body_absolute() throws Exception {
9761 runTest("offset: nonzero box properties - html.relative body.absolute");
9762 }
9763
9764
9765
9766
9767
9768 @Test
9769 @Alerts("33")
9770 @NotYetImplemented
9771 public void offset__nonzero_box_properties___html_relative_body_fixed() throws Exception {
9772 runTest("offset: nonzero box properties - html.relative body.fixed");
9773 }
9774
9775
9776
9777
9778
9779 @Test
9780 @Alerts("33")
9781 @NotYetImplemented
9782 public void offset__nonzero_box_properties___html_absolute_body_static() throws Exception {
9783 runTest("offset: nonzero box properties - html.absolute body.static");
9784 }
9785
9786
9787
9788
9789
9790 @Test
9791 @Alerts("33")
9792 @NotYetImplemented
9793 public void offset__nonzero_box_properties___html_absolute_body_relative() throws Exception {
9794 runTest("offset: nonzero box properties - html.absolute body.relative");
9795 }
9796
9797
9798
9799
9800
9801 @Test
9802 @Alerts("33")
9803 @NotYetImplemented
9804 public void offset__nonzero_box_properties___html_absolute_body_absolute() throws Exception {
9805 runTest("offset: nonzero box properties - html.absolute body.absolute");
9806 }
9807
9808
9809
9810
9811
9812 @Test
9813 @Alerts("33")
9814 @NotYetImplemented
9815 public void offset__nonzero_box_properties___html_absolute_body_fixed() throws Exception {
9816 runTest("offset: nonzero box properties - html.absolute body.fixed");
9817 }
9818
9819
9820
9821
9822
9823 @Test
9824 @Alerts("33")
9825 @NotYetImplemented
9826 public void offset__nonzero_box_properties___html_fixed_body_static() throws Exception {
9827 runTest("offset: nonzero box properties - html.fixed body.static");
9828 }
9829
9830
9831
9832
9833
9834 @Test
9835 @Alerts("33")
9836 @NotYetImplemented
9837 public void offset__nonzero_box_properties___html_fixed_body_relative() throws Exception {
9838 runTest("offset: nonzero box properties - html.fixed body.relative");
9839 }
9840
9841
9842
9843
9844
9845 @Test
9846 @Alerts("33")
9847 @NotYetImplemented
9848 public void offset__nonzero_box_properties___html_fixed_body_absolute() throws Exception {
9849 runTest("offset: nonzero box properties - html.fixed body.absolute");
9850 }
9851
9852
9853
9854
9855
9856 @Test
9857 @Alerts("33")
9858 @NotYetImplemented
9859 public void offset__nonzero_box_properties___html_fixed_body_fixed() throws Exception {
9860 runTest("offset: nonzero box properties - html.fixed body.fixed");
9861 }
9862
9863
9864
9865
9866
9867 @Test
9868 @Alerts("13")
9869 public void offset__offsetParent() throws Exception {
9870 runTest("offset: offsetParent");
9871 }
9872
9873
9874
9875
9876
9877 @Test
9878 @Alerts("2")
9879 public void offset__fractions__see__7730_and__7885_() throws Exception {
9880 runTest("offset: fractions (see #7730 and #7885)");
9881 }
9882
9883
9884
9885
9886
9887 @Test
9888 @Alerts("2")
9889 @NotYetImplemented
9890 public void offset__iframe_scrollTop_Left__see_gh_1945_() throws Exception {
9891 runTest("offset: iframe scrollTop/Left (see gh-1945)");
9892 }
9893
9894
9895
9896
9897
9898 @Test
9899 @Alerts("9")
9900 public void dimensions__width__() throws Exception {
9901 runTest("dimensions: width()");
9902 }
9903
9904
9905
9906
9907
9908 @Test
9909 @Alerts("9")
9910 public void dimensions__width_Function_() throws Exception {
9911 runTest("dimensions: width(Function)");
9912 }
9913
9914
9915
9916
9917
9918 @Test
9919 @Alerts("2")
9920 public void dimensions__width_Function_args__() throws Exception {
9921 runTest("dimensions: width(Function(args))");
9922 }
9923
9924
9925
9926
9927
9928 @Test
9929 @Alerts("9")
9930 public void dimensions__height__() throws Exception {
9931 runTest("dimensions: height()");
9932 }
9933
9934
9935
9936
9937
9938 @Test
9939 @Alerts("9")
9940 public void dimensions__height_Function_() throws Exception {
9941 runTest("dimensions: height(Function)");
9942 }
9943
9944
9945
9946
9947
9948 @Test
9949 @Alerts("2")
9950 public void dimensions__height_Function_args__() throws Exception {
9951 runTest("dimensions: height(Function(args))");
9952 }
9953
9954
9955
9956
9957
9958 @Test
9959 @Alerts("7")
9960 public void dimensions__innerWidth__() throws Exception {
9961 runTest("dimensions: innerWidth()");
9962 }
9963
9964
9965
9966
9967
9968 @Test
9969 @Alerts("7")
9970 public void dimensions__innerHeight__() throws Exception {
9971 runTest("dimensions: innerHeight()");
9972 }
9973
9974
9975
9976
9977
9978 @Test
9979 @Alerts("12")
9980 public void dimensions__outerWidth__() throws Exception {
9981 runTest("dimensions: outerWidth()");
9982 }
9983
9984
9985
9986
9987
9988 @Test
9989 @Alerts("12")
9990 public void dimensions__outerHeight__() throws Exception {
9991 runTest("dimensions: outerHeight()");
9992 }
9993
9994
9995
9996
9997
9998 @Test
9999 @Alerts("16")
10000 public void dimensions__child_of_a_hidden_elem__or_unconnected_node__has_accurate_inner_outer_Width___Height___see__9441__9300() throws Exception {
10001 runTest("dimensions: child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #9441 #9300");
10002 }
10003
10004
10005
10006
10007
10008 @Test
10009 @Alerts("1")
10010 public void dimensions__getting_dimensions_shouldn_t_modify_runtimeStyle_see__9233() throws Exception {
10011 runTest("dimensions: getting dimensions shouldn't modify runtimeStyle see #9233");
10012 }
10013
10014
10015
10016
10017
10018 @Test
10019 @Alerts("2")
10020 public void dimensions__table_dimensions() throws Exception {
10021 runTest("dimensions: table dimensions");
10022 }
10023
10024
10025
10026
10027
10028 @Test
10029 @Alerts("16")
10030 public void dimensions__box_sizing_border_box_child_of_a_hidden_elem__or_unconnected_node__has_accurate_inner_outer_Width___Height___see__10413() throws Exception {
10031 runTest("dimensions: box-sizing:border-box child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #10413");
10032 }
10033
10034
10035
10036
10037
10038 @Test
10039 @Alerts("4")
10040 public void dimensions__passing_undefined_is_a_setter__5571() throws Exception {
10041 runTest("dimensions: passing undefined is a setter #5571");
10042 }
10043
10044
10045
10046
10047
10048 @Test
10049 @Alerts("120")
10050 public void dimensions__setters_with_and_without_box_sizing_border_box() throws Exception {
10051 runTest("dimensions: setters with and without box-sizing:border-box");
10052 }
10053
10054
10055
10056
10057
10058 @Test
10059 @Alerts("2")
10060 @NotYetImplemented
10061 public void dimensions__window_vs__large_document() throws Exception {
10062 runTest("dimensions: window vs. large document");
10063 }
10064
10065
10066
10067
10068
10069 @Test
10070 @Alerts("1")
10071 public void dimensions__allow_modification_of_coordinates_argument__gh_1848_() throws Exception {
10072 runTest("dimensions: allow modification of coordinates argument (gh-1848)");
10073 }
10074
10075
10076
10077
10078
10079 @Test
10080 @Alerts("1")
10081 @NotYetImplemented
10082 public void dimensions__outside_view_position__gh_2836_() throws Exception {
10083 runTest("dimensions: outside view position (gh-2836)");
10084 }
10085
10086
10087
10088
10089
10090 @Test
10091 @Alerts("2")
10092 public void dimensions__width_height_on_element_with_transform__gh_3193_() throws Exception {
10093 runTest("dimensions: width/height on element with transform (gh-3193)");
10094 }
10095
10096
10097
10098
10099
10100 @Test
10101 @Alerts("8")
10102 public void dimensions__width_height_on_an_inline_element_with_no_explicitly_set_dimensions__gh_3571_() throws Exception {
10103 runTest("dimensions: width/height on an inline element with no explicitly-set dimensions (gh-3571)");
10104 }
10105
10106
10107
10108
10109
10110 @Test
10111 @Alerts("4")
10112 @NotYetImplemented
10113 public void dimensions__width_height_on_an_inline_element_with_percentage_dimensions__gh_3611_() throws Exception {
10114 runTest("dimensions: width/height on an inline element with percentage dimensions (gh-3611)");
10115 }
10116
10117
10118
10119
10120
10121 @Test
10122 @Alerts(DEFAULT = "4",
10123 FF = "4, 0, 4",
10124 FF_ESR = "4, 0, 4")
10125 @NotYetImplemented({ CHROME, EDGE})
10126 public void dimensions__width_height_on_a_table_row_with_phantom_borders__gh_3698_() throws Exception {
10127 runTest("dimensions: width/height on a table row with phantom borders (gh-3698)");
10128 }
10129
10130
10131
10132
10133
10134 @Test
10135 @Alerts("48")
10136 public void dimensions__interaction_with_scrollbars__gh_3589_() throws Exception {
10137 runTest("dimensions: interaction with scrollbars (gh-3589)");
10138 }
10139
10140
10141
10142
10143
10144 @Test
10145 @Alerts("20")
10146 public void animation__Animation__subject__props__opts_____shape() throws Exception {
10147 runTest("animation: Animation( subject, props, opts ) - shape");
10148 }
10149
10150
10151
10152
10153
10154 @Test
10155 @Alerts("1")
10156 public void animation__Animation_prefilter__fn_____calls_prefilter_after_defaultPrefilter() throws Exception {
10157 runTest("animation: Animation.prefilter( fn ) - calls prefilter after defaultPrefilter");
10158 }
10159
10160
10161
10162
10163
10164 @Test
10165 @Alerts("1")
10166 public void animation__Animation_prefilter__fn__true_____calls_prefilter_before_defaultPrefilter() throws Exception {
10167 runTest("animation: Animation.prefilter( fn, true ) - calls prefilter before defaultPrefilter");
10168 }
10169
10170
10171
10172
10173
10174 @Test
10175 @Alerts("34")
10176 public void animation__Animation_prefilter___prefilter_return_hooks() throws Exception {
10177 runTest("animation: Animation.prefilter - prefilter return hooks");
10178 }
10179
10180
10181
10182
10183
10184 @Test
10185 @Alerts("2")
10186 public void animation__Animation_tweener__fn_____unshifts_a___tweener() throws Exception {
10187 runTest("animation: Animation.tweener( fn ) - unshifts a * tweener");
10188 }
10189
10190
10191
10192
10193
10194 @Test
10195 @Alerts("4")
10196 public void animation__Animation_tweener___prop___fn_____unshifts_a__prop__tweener() throws Exception {
10197 runTest("animation: Animation.tweener( 'prop', fn ) - unshifts a 'prop' tweener");
10198 }
10199
10200
10201
10202
10203
10204 @Test
10205 @Alerts("2")
10206 public void animation__Animation_tweener___list_of_props___fn_____unshifts_a_tweener_to_each_prop() throws Exception {
10207 runTest("animation: Animation.tweener( 'list of props', fn ) - unshifts a tweener to each prop");
10208 }
10209
10210
10211
10212
10213
10214 @Test
10215 @Alerts("8")
10216 public void tween__jQuery_Tween___Default_propHooks_on_plain_objects() throws Exception {
10217 runTest("tween: jQuery.Tween - Default propHooks on plain objects");
10218 }
10219
10220
10221
10222
10223
10224 @Test
10225 @Alerts("19")
10226 public void tween__jQuery_Tween___Default_propHooks_on_elements() throws Exception {
10227 runTest("tween: jQuery.Tween - Default propHooks on elements");
10228 }
10229
10230
10231
10232
10233
10234 @Test
10235 @Alerts("13")
10236 public void tween__jQuery_Tween___Plain_Object() throws Exception {
10237 runTest("tween: jQuery.Tween - Plain Object");
10238 }
10239
10240
10241
10242
10243
10244 @Test
10245 @Alerts("15")
10246 public void tween__jQuery_Tween___Element() throws Exception {
10247 runTest("tween: jQuery.Tween - Element");
10248 }
10249
10250
10251
10252
10253
10254 @Test
10255 @Alerts("3")
10256 public void tween__jQuery_Tween___No_duration() throws Exception {
10257 runTest("tween: jQuery.Tween - No duration");
10258 }
10259
10260
10261
10262
10263
10264 @Test
10265 @Alerts("4")
10266 public void tween__jQuery_Tween___step_function_option() throws Exception {
10267 runTest("tween: jQuery.Tween - step function option");
10268 }
10269
10270
10271
10272
10273
10274 @Test
10275 @Alerts("3")
10276 public void tween__jQuery_Tween___custom_propHooks() throws Exception {
10277 runTest("tween: jQuery.Tween - custom propHooks");
10278 }
10279
10280
10281
10282
10283
10284 @Test
10285 @Alerts("5")
10286 public void tween__jQuery_Tween___custom_propHooks___advanced_values() throws Exception {
10287 runTest("tween: jQuery.Tween - custom propHooks - advanced values");
10288 }
10289 }