diff options
author | JinweiClarkChao <[email protected]> | 2014-08-22 17:23:02 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:42 +0800 |
commit | 80255411ee7040e0cebbf6b05d2ce323f6f2596e (patch) | |
tree | 295b0ef6c85e7cb091b63719ab041596879690fa /Blocks/syntax/tests/cases/001_basic.html | |
parent | 13be3d058713e1467ffc573a90cc694b80526135 (diff) | |
download | jinwei.me-80255411ee7040e0cebbf6b05d2ce323f6f2596e.tar.gz |
backup
Diffstat (limited to 'Blocks/syntax/tests/cases/001_basic.html')
-rw-r--r-- | Blocks/syntax/tests/cases/001_basic.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Blocks/syntax/tests/cases/001_basic.html b/Blocks/syntax/tests/cases/001_basic.html deleted file mode 100644 index 1d57334..0000000 --- a/Blocks/syntax/tests/cases/001_basic.html +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | <pre id="sh_001_basic" class="brush: js;" title="Title/caption should render"> | ||
2 | /** | ||
3 | * multiline comment | ||
4 | */ | ||
5 | |||
6 | text | ||
7 | |||
8 | // single line comment | ||
9 | |||
10 | text | ||
11 | |||
12 | "string" text 'string' text "string" | ||
13 | "string with \" escape" text 'string with \' escape' text "string with \" escape" | ||
14 | |||
15 | var code = '\ | ||
16 | function helloWorld()\ | ||
17 | {\ | ||
18 | // this is great!\ | ||
19 | for(var i = 0; i <= 1; i++)\ | ||
20 | alert("yay");\ | ||
21 | }\ | ||
22 | '; | ||
23 | </pre> | ||
24 | |||
25 | <script type="text/javascript"> | ||
26 | queue(function() | ||
27 | { | ||
28 | var $sh; | ||
29 | |||
30 | module('001_basic'); | ||
31 | |||
32 | test('basic html check of default elements', function() | ||
33 | { | ||
34 | $sh = $('#sh_001_basic'); | ||
35 | ok_sh($sh); | ||
36 | ok_toolbar($sh); | ||
37 | ok_caption($sh, 'Title/caption should render'); | ||
38 | ok_gutter($sh); | ||
39 | ok_code($sh); | ||
40 | }); | ||
41 | }); | ||
42 | </script> | ||