PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  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. function foo()
  12. {
  13. var vector:Vector.<Vector.<String>> = new Vector<Vector.String>>();
  14. for (var i = 0; i < 10; i++)
  15. {
  16. /* comments */
  17. }
  18. }
  19. ]]></script>
  20. </div>
  21. <script type="text/javascript">
  22. queue(function()
  23. {
  24. var $sh;
  25. module('003_script_tag');
  26. test('basic html check of default elements', function()
  27. {
  28. $sh = $('#sh_003_script_tag');
  29. ok_sh($sh);
  30. ok_toolbar($sh);
  31. ok_caption($sh, 'Title/caption should render');
  32. ok_gutter($sh);
  33. ok_code($sh);
  34. });
  35. });
  36. </script>