aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-02-20 12:50:15 +0800
committerJinweiClarkChao <[email protected]>2014-02-20 12:52:51 +0800
commit31fb10f393fbfd4d7adf528ec70624d2b8d247a8 (patch)
tree1009bb2a4f5fe89b8bc822b68104018ea8df5261 /Blocks/syntax/tests/cases/002_brushes.html
parentbe404e3e01ca839e730c884309c25abef10863c9 (diff)
downloadjinwei.me-31fb10f393fbfd4d7adf528ec70624d2b8d247a8.tar.gz
Six Blocks Version
Diffstat (limited to 'Blocks/syntax/tests/cases/002_brushes.html')
-rw-r--r--Blocks/syntax/tests/cases/002_brushes.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/Blocks/syntax/tests/cases/002_brushes.html b/Blocks/syntax/tests/cases/002_brushes.html
new file mode 100644
index 0000000..e9c64e2
--- /dev/null
+++ b/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">
30queue(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>
Powered by cgit v1.2.3 (git 2.41.0)