| OLD | NEW |
| 1 Check stepUp() and stepDown() bahevior for type=date. | 1 Check stepUp() and stepDown() bahevior for type=date. |
| 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 InvalidStateError: An attempt was ma
de to use an object that is not, or is no longer, usable.. | 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 InvalidStateError: An attempt was
made to use an object that is not, or is no longer, usable.. | 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("2010-02-10", null, null, "0") is "2010-02-10" | 10 PASS stepUp("2010-02-10", null, null, "0") is "2010-02-10" |
| 11 PASS stepDown("2010-02-10", null, null, "0") is "2010-02-10" | 11 PASS stepDown("2010-02-10", null, null, "0") is "2010-02-10" |
| 12 PASS stepUp("2010-02-10", null, null, "foo") is "2010-02-10" | 12 PASS stepUp("2010-02-10", null, null, "foo") is "2010-02-10" |
| 13 PASS stepDown("2010-02-10", null, null, "foo") is "2010-02-10" | 13 PASS stepDown("2010-02-10", null, null, "foo") is "2010-02-10" |
| 14 PASS stepUp("2010-02-10", null, null, null) is "2010-02-10" | 14 PASS stepUp("2010-02-10", null, null, null) is "2010-02-10" |
| 15 PASS stepDown("2010-02-10", null, null, null) is "2010-02-10" | 15 PASS stepDown("2010-02-10", null, null, null) is "2010-02-10" |
| 16 Normal cases | 16 Normal cases |
| 17 PASS stepDown("1970-01-04", "2", null) is "1970-01-02" |
| 17 PASS stepUp("2010-02-10", null, null) is "2010-02-11" | 18 PASS stepUp("2010-02-10", null, null) is "2010-02-11" |
| 18 PASS stepDown("2010-02-10", null, null) is "2010-02-09" | 19 PASS stepDown("2010-02-10", null, null) is "2010-02-09" |
| 19 PASS stepUp("2010-02-10", null, null, 10) is "2010-02-20" | 20 PASS stepUp("2010-02-10", null, null, 10) is "2010-02-20" |
| 20 PASS stepDown("2010-02-10", null, null, 11) is "2010-01-30" | 21 PASS stepDown("2010-02-10", null, null, 11) is "2010-01-30" |
| 21 PASS stepUp("1970-01-01", "4", null, 2) is "1970-01-09" | 22 PASS stepUp("1970-01-01", "4", null, 2) is "1970-01-09" |
| 22 PASS stepDown("1970-01-01", "4", null, 3) is "1969-12-20" | 23 PASS stepDown("1970-01-01", "4", null, 3) is "1969-12-20" |
| 23 Step=any | 24 Step=any |
| 24 PASS stepUp("2010-02-10", "any", null) threw exception InvalidStateError: An att
empt was made to use an object that is not, or is no longer, usable.. | 25 PASS stepUp("2010-02-10", "any", null) threw exception InvalidStateError: An att
empt was made to use an object that is not, or is no longer, usable.. |
| 25 PASS stepDown("2010-02-10", "any", null) threw exception InvalidStateError: An a
ttempt was made to use an object that is not, or is no longer, usable.. | 26 PASS stepDown("2010-02-10", "any", null) threw exception InvalidStateError: An a
ttempt was made to use an object that is not, or is no longer, usable.. |
| 26 Overflow/underflow | 27 Overflow/underflow |
| 27 PASS stepUp("2010-02-10", "3.40282346e+38", null) threw exception InvalidStateEr
ror: An attempt was made to use an object that is not, or is no longer, usable.. | 28 PASS stepUp("2010-02-10", "3.40282346e+38", null) threw exception InvalidStateEr
ror: An attempt was made to use an object that is not, or is no longer, usable.. |
| 28 PASS stepDown("2010-02-10", "3.40282346e+38", null) threw exception InvalidState
Error: An attempt was made to use an object that is not, or is no longer, usable
.. | 29 PASS stepDown("2010-02-10", "3.40282346e+38", null) threw exception InvalidState
Error: An attempt was made to use an object that is not, or is no longer, usable
.. |
| 29 PASS stepUp("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError:
An attempt was made to use an object that is not, or is no longer, usable.. | 30 PASS stepUp("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError:
An attempt was made to use an object that is not, or is no longer, usable.. |
| 30 PASS stepDown("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError
: An attempt was made to use an object that is not, or is no longer, usable.. | 31 PASS stepDown("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError
: An attempt was made to use an object that is not, or is no longer, usable.. |
| 31 | 32 |
| 32 PASS successfullyParsed is true | 33 PASS successfullyParsed is true |
| 33 | 34 |
| 34 TEST COMPLETE | 35 TEST COMPLETE |
| 35 | 36 |
| OLD | NEW |