OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description('Check stepUp() and stepDown() bahevior for type=week.'); | 10 description('Check stepUp() and stepDown() bahevior for type=week.'); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 shouldThrow('stepUp("2010-W02", "any", null)', invalidStateErr); | 59 shouldThrow('stepUp("2010-W02", "any", null)', invalidStateErr); |
60 shouldThrow('stepDown("2010-W02", "any", null)', invalidStateErr); | 60 shouldThrow('stepDown("2010-W02", "any", null)', invalidStateErr); |
61 debug('Overflow/underflow'); | 61 debug('Overflow/underflow'); |
62 shouldThrow('stepUp("2010-W02", "3.40282346e+38", null)', invalidStateErr); | 62 shouldThrow('stepUp("2010-W02", "3.40282346e+38", null)', invalidStateErr); |
63 shouldThrow('stepDown("2010-W02", "3.40282346e+38", null)', invalidStateErr); | 63 shouldThrow('stepDown("2010-W02", "3.40282346e+38", null)', invalidStateErr); |
64 shouldThrow('stepUp("2010-W02", "1", "2010-W02")', invalidStateErr); | 64 shouldThrow('stepUp("2010-W02", "1", "2010-W02")', invalidStateErr); |
65 shouldThrow('stepDown("2010-W02", "1", "2010-W02")', invalidStateErr); | 65 shouldThrow('stepDown("2010-W02", "1", "2010-W02")', invalidStateErr); |
66 | 66 |
67 debug(''); | 67 debug(''); |
68 </script> | 68 </script> |
69 <script src="../../js/resources/js-test-post.js"></script> | |
70 </body> | 69 </body> |
71 </html> | 70 </html> |
OLD | NEW |