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 stepMismatch results for type=time.'); | 10 description('Check stepMismatch results for type=time.'); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 shouldBeTrue('stepMismatchFor("12:34:56", null, "12:34")'); | 45 shouldBeTrue('stepMismatchFor("12:34:56", null, "12:34")'); |
46 shouldBeFalse('stepMismatchFor("12:34", "-1", "12:34")'); | 46 shouldBeFalse('stepMismatchFor("12:34", "-1", "12:34")'); |
47 shouldBeFalse('stepMismatchFor("12:34", "foo", "12:34")'); | 47 shouldBeFalse('stepMismatchFor("12:34", "foo", "12:34")'); |
48 debug('Special step value'); | 48 debug('Special step value'); |
49 shouldBeFalse('stepMismatchFor("12:35", "any", "12:34")'); | 49 shouldBeFalse('stepMismatchFor("12:35", "any", "12:34")'); |
50 debug('Disabled'); | 50 debug('Disabled'); |
51 shouldBeFalse('stepMismatchFor("12:34:55.001", "1", "12:34:56", true)'); | 51 shouldBeFalse('stepMismatchFor("12:34:55.001", "1", "12:34:56", true)'); |
52 | 52 |
53 debug(''); | 53 debug(''); |
54 </script> | 54 </script> |
55 <script src="../../js/resources/js-test-post.js"></script> | |
56 </body> | 55 </body> |
57 </html> | 56 </html> |
OLD | NEW |