Home | History | Annotate | Download | only in webkit

Lines Matching full:getresult

93     var getResult = date["get" + functionNameRoot]();
94 if (!isNaN(getResult)) {
95 testFailed("date.get" + functionNameRoot + "() was " + getResult + " instead of NaN");
113 var getResult = date["get" + functionNameRoot]();
114 if (getResult != setValue) {
115 testFailed("date.get" + functionNameRoot + "() was " + getResult + " instead of " + setValue);
129 var getResult = date["get" + functionNameRoot]();
130 if (getResult != setValue) {
131 testFailed("date.get" + functionNameRoot + "() was " + getResult + " instead of " + setValue);
134 getResult = date.getMilliseconds();
135 if (getResult != 0) {
136 testFailed("date.getMilliseconds() was " + getResult + " instead of 0");
139 getResult = date.getSeconds();
140 if (getResult != 0) {
141 testFailed("date.getSeconds() was " + getResult + " instead of 0");
144 getResult = date.getMinutes();
145 if (getResult != 0) {
146 testFailed("date.getMinutes() was " + getResult + " instead of 0");
149 getResult = date.getHours();
150 if (getResult != 0) {
151 testFailed("date.getHours() was " + getResult + " instead of 0");
154 getResult = date.getDate();
155 if (getResult != 1) {
156 testFailed("date.getDate() was " + getResult + " instead of 1");
159 getResult = date.getMonth();
160 if (getResult != 0) {
161 testFailed("date.getMonth() was " + getResult + " instead of 0");
178 var getResult = date["get" + functionNameRoot]();
179 if (getResult != setValue) {
180 testFailed("date.get" + functionNameRoot + "() was " + getResult + " instead of " + setValue);
183 getResult = date.getUTCMilliseconds();
184 if (getResult != 0) {
185 testFailed("date.getUTCMilliseconds() was " + getResult + " instead of 0");
188 getResult = date.getUTCSeconds();
189 if (getResult != 0) {
190 testFailed("date.getUTCSeconds() was " + getResult + " instead of 0");
193 getResult = date.getUTCMinutes();
194 if (getResult != 0) {
195 testFailed("date.getUTCMinutes() was " + getResult + " instead of 0");
198 getResult = date.getUTCHours();
199 if (getResult != 0) {
200 testFailed("date.getUTCHours() was " + getResult + " instead of 0");
203 getResult = date.getUTCDate();
204 if (getResult != 1) {
205 testFailed("date.getUTCDate() was " + getResult + " instead of 1");
208 getResult = date.getUTCMonth();
209 if (getResult != 0) {
210 testFailed("date.getUTCMonth() was " + getResult + " instead of 0");
236 var getResult = date["get" + functionNameRoot]();
237 if (getResult != setValue) {
238 testFailed("date.get" + functionNameRoot + "() was " + getResult + " instead of " + setValue);
241 getResult = date.getMilliseconds();
242 if (getResult != 0) {
243 testFailed("date.getMilliseconds() was " + getResult + " instead of 0");
246 getResult = date.getSeconds();
247 if (getResult != 0) {
248 testFailed("date.getSeconds() was " + getResult + " instead of 0");
251 getResult = date.getMinutes();
252 if (getResult != 0) {
253 testFailed("date.getMinutes() was " + getResult + " instead of 0");
256 getResult = date.getHours();
257 if (getResult != 0) {
258 testFailed("date.getHours() was " + getResult + " instead of 0");
261 getResult = date.getDate();
262 if (getResult != 1) {
263 testFailed("date.getDate() was " + getResult + " instead of 1");
266 getResult = date.getMonth();
267 if (getResult != 0) {
268 testFailed("date.getMonth() was " + getResult + " instead of 0");
288 var getResult = date["get" + functionNameRoot]();
289 if (!isNaN(getResult)) {
291 + getResult + " instead of NaN");
310 var getResult = date["get" + functionNameRoot]();
311 if (!isNaN(getResult)) {
313 + getResult + " instead of NaN");
342 var getResult = date["get" + functionNameRoot]();
343 if (!isNaN(getResult)) {
345 + getResult + " instead of NaN");
374 var getResult = date["get" + functionNameRoot]();
375 if (!isNaN(getResult)) {
377 + getResult + " instead of NaN");
409 var getResult = date["get" + functionNameRoot]();
410 if (!isNaN(getResult)) {
412 + getResult + " instead of NaN");