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/005_no_gutter.html | |
parent | 13be3d058713e1467ffc573a90cc694b80526135 (diff) | |
download | jinwei.me-80255411ee7040e0cebbf6b05d2ce323f6f2596e.tar.gz |
backup
Diffstat (limited to 'Blocks/syntax/tests/cases/005_no_gutter.html')
-rw-r--r-- | Blocks/syntax/tests/cases/005_no_gutter.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Blocks/syntax/tests/cases/005_no_gutter.html b/Blocks/syntax/tests/cases/005_no_gutter.html deleted file mode 100644 index 6e6b1be..0000000 --- a/Blocks/syntax/tests/cases/005_no_gutter.html +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | <pre id="sh_005_no_gutter" class="brush: java; gutter: false;"> | ||
2 | public Image getImage(URL url, String name) { | ||
3 | try { | ||
4 | /* | ||
5 | Regular multiline comment. | ||
6 | */ | ||
7 | return getImage(new URL(url, name)); | ||
8 | } catch (MalformedURLException e) { | ||
9 | return null; | ||
10 | } | ||
11 | } | ||
12 | </pre> | ||
13 | |||
14 | <script type="text/javascript"> | ||
15 | queue(function() | ||
16 | { | ||
17 | var $sh; | ||
18 | |||
19 | module('005_no_gutter'); | ||
20 | |||
21 | test('check that there is no gutter', function() | ||
22 | { | ||
23 | $sh = $('#sh_005_no_gutter'); | ||
24 | |||
25 | ok_sh($sh); | ||
26 | ok_toolbar($sh); | ||
27 | ok_code($sh); | ||
28 | |||
29 | ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present'); | ||
30 | ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present'); | ||
31 | }); | ||
32 | }); | ||
33 | </script> | ||