diff options
author | JinweiClarkChao <[email protected]> | 2014-09-23 22:34:14 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:44 +0800 |
commit | b214f38d2c24a890ce36512a0c8bab965e27a508 (patch) | |
tree | 1522b651444407cbf120798e79be4657f1b472ab /Code/Blocks/syntax/tests/cases/002_brushes.html | |
parent | e13882d1656b143533cec307a19425e0a56ec999 (diff) | |
download | jinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz |
README
Diffstat (limited to 'Code/Blocks/syntax/tests/cases/002_brushes.html')
-rw-r--r-- | Code/Blocks/syntax/tests/cases/002_brushes.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Code/Blocks/syntax/tests/cases/002_brushes.html b/Code/Blocks/syntax/tests/cases/002_brushes.html new file mode 100644 index 0000000..e9c64e2 --- /dev/null +++ b/Code/Blocks/syntax/tests/cases/002_brushes.html | |||
@@ -0,0 +1,50 @@ | |||
1 | <div id="sh_002_brushes"> | ||
2 | <pre class="brush: applescript;">test</pre> | ||
3 | <pre class="brush: as3;">test</pre> | ||
4 | <pre class="brush: bash;">test</pre> | ||
5 | <pre class="brush: cf;">test</pre> | ||
6 | <pre class="brush: cpp;">test</pre> | ||
7 | <pre class="brush: csharp;">test</pre> | ||
8 | <pre class="brush: css;">test</pre> | ||
9 | <pre class="brush: delphi;">test</pre> | ||
10 | <pre class="brush: diff;">test</pre> | ||
11 | <pre class="brush: erlang;">test</pre> | ||
12 | <pre class="brush: groovy;">test</pre> | ||
13 | <pre class="brush: java;">test</pre> | ||
14 | <pre class="brush: javafx;">test</pre> | ||
15 | <pre class="brush: jscript;">test</pre> | ||
16 | <pre class="brush: perl;">test</pre> | ||
17 | <pre class="brush: php;">test</pre> | ||
18 | <pre class="brush: plain;">test</pre> | ||
19 | <pre class="brush: powershell;">test</pre> | ||
20 | <pre class="brush: python;">test</pre> | ||
21 | <pre class="brush: ruby;">test</pre> | ||
22 | <pre class="brush: sass;">test</pre> | ||
23 | <pre class="brush: scala;">test</pre> | ||
24 | <pre class="brush: sql;">test</pre> | ||
25 | <pre class="brush: vb;">test</pre> | ||
26 | <pre class="brush: xml;">test</pre> | ||
27 | </div> | ||
28 | |||
29 | <script type="text/javascript"> | ||
30 | queue(function() | ||
31 | { | ||
32 | var $sh; | ||
33 | |||
34 | module('002_brushes'); | ||
35 | |||
36 | test('check that all brushes loaded and rendered', function() | ||
37 | { | ||
38 | $sh = $('#sh_002_brushes'); | ||
39 | |||
40 | $sh.find('> div > .syntaxhighlighter').each(function() | ||
41 | { | ||
42 | var $sh = $(this).parent(); | ||
43 | ok_sh($sh); | ||
44 | ok_sh($sh); | ||
45 | ok_toolbar($sh); | ||
46 | ok_code($sh); | ||
47 | }); | ||
48 | }); | ||
49 | }); | ||
50 | </script> | ||