PageRenderTime 131ms CodeModel.GetById 80ms app.highlight 3ms RepoModel.GetById 29ms app.codeStats 0ms

/lib/syntaxhighlighter_3.0.83/tests/cases/003_script_tag.html

#
HTML | 42 lines | 36 code | 6 blank | 0 comment | 0 complexity | 536709228e677632d3345762662f115e MD5 | raw file
 1<div>
 2<script id="sh_003_script_tag" type="syntaxhighlighter" class="brush: csharp" title="Title/caption should render"><![CDATA[
 3	partial class Foo
 4	{
 5		function test()
 6		{
 7			yield return;
 8			yield break;
 9		}
10	}
11
12	function foo()
13	{
14		var vector:Vector.<Vector.<String>> = new Vector<Vector.String>>();
15	
16		for (var i = 0; i < 10; i++)
17		{
18			/* comments */
19		}
20	}
21]]></script>
22</div>
23
24<script type="text/javascript">
25queue(function()
26{
27	var $sh;
28	
29	module('003_script_tag');
30
31	test('basic html check of default elements', function()
32	{
33		$sh = $('#sh_003_script_tag');
34		
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>