PageRenderTime 25ms CodeModel.GetById 17ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/syntaxhighlighter_3.0.83/tests/cases/002_brushes.html

#
HTML | 50 lines | 46 code | 4 blank | 0 comment | 0 complexity | 3daa9bbe2217437a7512fcd216781f23 MD5 | raw file
 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>