joepeck@webkit.org | 3d8011d | 2015-09-08 18:47:45 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script src="../../http/tests/inspector/resources/inspector-test.js"></script> |
| 5 | <script src="resources/prettyprinting/utilities.js"></script> |
| 6 | <script> |
| 7 | function test() |
| 8 | { |
| 9 | let suite = InspectorTest.createAsyncSuite("CodeMirror.PrettyPrinting.JavaScript"); |
| 10 | |
| 11 | addPrettyPrintingTests(suite, "text/javascript", [ |
| 12 | "resources/prettyprinting/javascript-tests/block-comment.js", |
| 13 | "resources/prettyprinting/javascript-tests/single-statement-blocks.js", |
| 14 | "resources/prettyprinting/javascript-tests/switch-case-default.js", |
commit-queue@webkit.org | 566283f | 2016-02-04 00:56:22 +0000 | [diff] [blame] | 15 | "resources/prettyprinting/javascript-tests/unary-binary-operators.js", |
dburkart@apple.com | d2d6cf3 | 2016-03-30 00:31:01 +0000 | [diff] [blame] | 16 | "resources/prettyprinting/javascript-tests/do-while-loop.js", |
| 17 | "resources/prettyprinting/javascript-tests/if-followed-by-while.js", |
| 18 | "resources/prettyprinting/javascript-tests/while-within-do-while.js", |
| 19 | "resources/prettyprinting/javascript-tests/if-while-within-do-while.js", |
| 20 | "resources/prettyprinting/javascript-tests/do-while-within-if.js", |
joepeck@webkit.org | 3d8011d | 2015-09-08 18:47:45 +0000 | [diff] [blame] | 21 | ]); |
| 22 | |
| 23 | suite.runTestCasesAndFinish(); |
| 24 | } |
| 25 | </script> |
| 26 | </head> |
| 27 | <body onload="runTest()"> |
| 28 | <p>Test JavaScript pretty printing with CodeMirror.</p> |
| 29 | </body> |
| 30 | </html> |