Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 101 → Rev 102

/wp-js-syntax-highlighter/branches/0.4.0+3.0.83/sh/tests/cases/005_no_gutter.html
0,0 → 1,33
<pre id="sh_005_no_gutter" class="brush: java; gutter: false;">
public Image getImage(URL url, String name) {
try {
/*
Regular multiline comment.
*/
return getImage(new URL(url, name));
} catch (MalformedURLException e) {
return null;
}
}
</pre>
 
<script type="text/javascript">
queue(function()
{
var $sh;
module('005_no_gutter');
 
test('check that there is no gutter', function()
{
$sh = $('#sh_005_no_gutter');
ok_sh($sh);
ok_toolbar($sh);
ok_code($sh);
ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present');
ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present');
});
});
</script>