OLD | NEW |
1 Check stepUp() and stepDown() bahevior for type=time. | 1 Check stepUp() and stepDown() bahevior for type=time. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Invalid value | 6 Invalid value |
7 PASS stepUp("", null, null) threw exception Error: InvalidStateError: DOM Except
ion 11. | 7 PASS stepUp("", null, null) threw exception InvalidStateError: An attempt was ma
de to use an object that is not, or is no longer, usable.. |
8 PASS stepDown("", null, null) threw exception Error: InvalidStateError: DOM Exce
ption 11. | 8 PASS stepDown("", null, null) threw exception InvalidStateError: An attempt was
made to use an object that is not, or is no longer, usable.. |
9 Non-number arguments | 9 Non-number arguments |
10 PASS stepUp("20:13", null, null, "0") is "20:13" | 10 PASS stepUp("20:13", null, null, "0") is "20:13" |
11 PASS stepDown("20:13", null, null, "0") is "20:13" | 11 PASS stepDown("20:13", null, null, "0") is "20:13" |
12 PASS stepUp("20:13", null, null, "foo") is "20:13" | 12 PASS stepUp("20:13", null, null, "foo") is "20:13" |
13 PASS stepDown("20:13", null, null, "foo") is "20:13" | 13 PASS stepDown("20:13", null, null, "foo") is "20:13" |
14 PASS stepUp("20:13", null, null, null) is "20:13" | 14 PASS stepUp("20:13", null, null, null) is "20:13" |
15 PASS stepDown("20:13", null, null, null) is "20:13" | 15 PASS stepDown("20:13", null, null, null) is "20:13" |
16 Normal cases | 16 Normal cases |
17 PASS stepUp("20:13", null, null) is "20:14" | 17 PASS stepUp("20:13", null, null) is "20:14" |
18 PASS stepDown("20:13", null, null) is "20:12" | 18 PASS stepDown("20:13", null, null) is "20:12" |
19 PASS stepUp("20:13", null, null, 10) is "20:23" | 19 PASS stepUp("20:13", null, null, 10) is "20:23" |
20 PASS stepDown("20:13", null, null, 11) is "20:02" | 20 PASS stepDown("20:13", null, null, 11) is "20:02" |
21 PASS stepUp("20:13", "4", null, 2) is "20:13:08" | 21 PASS stepUp("20:13", "4", null, 2) is "20:13:08" |
22 PASS stepDown("20:13", "4", null, 3) is "20:12:48" | 22 PASS stepDown("20:13", "4", null, 3) is "20:12:48" |
23 Step=any | 23 Step=any |
24 PASS stepUp("20:13", "any", null) threw exception Error: InvalidStateError: DOM
Exception 11. | 24 PASS stepUp("20:13", "any", null) threw exception InvalidStateError: An attempt
was made to use an object that is not, or is no longer, usable.. |
25 PASS stepDown("20:13", "any", null) threw exception Error: InvalidStateError: DO
M Exception 11. | 25 PASS stepDown("20:13", "any", null) threw exception InvalidStateError: An attemp
t was made to use an object that is not, or is no longer, usable.. |
26 Overflow/underflow | 26 Overflow/underflow |
27 PASS stepUp("20:13", "3.40282346e+38", null) threw exception Error: InvalidState
Error: DOM Exception 11. | 27 PASS stepUp("20:13", "3.40282346e+38", null) threw exception InvalidStateError:
An attempt was made to use an object that is not, or is no longer, usable.. |
28 PASS stepDown("20:13", "3.40282346e+38", null) threw exception Error: InvalidSta
teError: DOM Exception 11. | 28 PASS stepDown("20:13", "3.40282346e+38", null) threw exception InvalidStateError
: An attempt was made to use an object that is not, or is no longer, usable.. |
29 PASS stepUp("20:13", "1", "20:13") threw exception Error: InvalidStateError: DOM
Exception 11. | 29 PASS stepUp("20:13", "1", "20:13") threw exception InvalidStateError: An attempt
was made to use an object that is not, or is no longer, usable.. |
30 PASS stepDown("20:13", "1", "20:13") threw exception Error: InvalidStateError: D
OM Exception 11. | 30 PASS stepDown("20:13", "1", "20:13") threw exception InvalidStateError: An attem
pt was made to use an object that is not, or is no longer, usable.. |
31 PASS stepUp("23:59", null, null) threw exception Error: InvalidStateError: DOM E
xception 11. | 31 PASS stepUp("23:59", null, null) threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
32 PASS stepDown("00:00", null, null) threw exception Error: InvalidStateError: DOM
Exception 11. | 32 PASS stepDown("00:00", null, null) threw exception InvalidStateError: An attempt
was made to use an object that is not, or is no longer, usable.. |
33 | 33 |
34 PASS successfullyParsed is true | 34 PASS successfullyParsed is true |
35 | 35 |
36 TEST COMPLETE | 36 TEST COMPLETE |
37 | 37 |
OLD | NEW |