LEFT | RIGHT |
1 // Copyright (C) 2012 Google Inc. | 1 // Copyright (C) 2012 Google Inc. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // * We don't implement iframes yet. | 99 // * We don't implement iframes yet. |
100 } | 100 } |
101 | 101 |
102 public final void testTraversing() throws Exception { | 102 public final void testTraversing() throws Exception { |
103 runQUnitTestCase("traversing", 286); | 103 runQUnitTestCase("traversing", 286); |
104 // Current failure categories: | 104 // Current failure categories: |
105 // * We don't implement iframes yet. | 105 // * We don't implement iframes yet. |
106 } | 106 } |
107 | 107 |
108 public final void testManipulation() throws Exception { | 108 public final void testManipulation() throws Exception { |
109 runQUnitTestCase("manipulation", 484); | 109 runQUnitTestCase("manipulation", 474); |
110 // Current modifications made to test suite: | 110 // Current modifications made to test suite: |
111 // * Removed SES-incompatible Array.prototype modification; was only for | 111 // * Removed SES-incompatible Array.prototype modification; was only for |
112 // testing jQuery robustness. | 112 // testing jQuery robustness. |
113 // Current failure categories: | 113 // Current failure categories: |
114 // * Something wrong with checked radio buttons. | 114 // * Something wrong with checked radio buttons. |
115 // * Something wrong with jQuery's <script>-based ajax transport. | 115 // * Something wrong with jQuery's <script>-based ajax transport. |
116 // * We don't make non-JS <script> elements readable/preserved. | 116 // * We don't make non-JS <script> elements readable/preserved. |
117 // * We don't implement XML yet. | 117 // * We don't implement XML yet. |
118 // * We don't support runtime-created <style> elements, even virtualized? | 118 // * We don't support runtime-created <style> elements, even virtualized? |
119 // * Something wrong with "jQuery.cleanData" test. | 119 // * Something wrong with "jQuery.cleanData" test. |
120 // * We don't implement some case of dynamic <script> creation that | 120 // * We don't implement some case of dynamic <script> creation that |
121 // "html() - execute scripts..." and "html() - script exceptions..." | 121 // "html() - execute scripts..." and "html() - script exceptions..." |
122 // are using. | 122 // are using. |
| 123 // * "window.eval is undefined" in appendTo test -- REGRESSION |
123 } | 124 } |
124 | 125 |
125 public final void testCSS() throws Exception { | 126 public final void testCSS() throws Exception { |
126 runQUnitTestCase("css", 196); | 127 runQUnitTestCase("css", 196); |
127 // Current failure categories: | 128 // Current failure categories: |
128 // * We don't implement SVG (fill-opacity CSS property). | 129 // * We don't implement SVG (fill-opacity CSS property). |
129 // * Something doesn't work such that defaultDisplay() in jquery falls | 130 // * Something doesn't work such that defaultDisplay() in jquery falls |
130 // back to a strategy creating an iframe, which we don't implement. | 131 // back to a strategy creating an iframe, which we don't implement. |
131 // This means that .show() and presumably .hide() doesn't work. | 132 // This means that .show() and presumably .hide() doesn't work. |
132 } | 133 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 runQUnitTestCase("exports", null); | 165 runQUnitTestCase("exports", null); |
165 } | 166 } |
166 | 167 |
167 @Override | 168 @Override |
168 protected String getTestURL(String testCase) { | 169 protected String getTestURL(String testCase) { |
169 return "/ant-testlib/js/jqueryjs/test/" + | 170 return "/ant-testlib/js/jqueryjs/test/" + |
170 testCase + | 171 testCase + |
171 "-uncajoled.html"; | 172 "-uncajoled.html"; |
172 } | 173 } |
173 } | 174 } |
LEFT | RIGHT |