blob: f2437d58bea1273b97b83d91081b751e44519b2f (
plain) (
tree)
|
|
<pre id="sh_009_class_name" class="brush: java; class-name: 'custom class here'">
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('009_class_name');
test('check custom classes', function()
{
$sh = $('#sh_009_class_name');
ok_sh($sh);
ok_toolbar($sh);
ok_gutter($sh);
ok_code($sh);
ok($sh.find('.syntaxhighlighter').is('.custom.class.here'), 'Check custom classes');
});
});
</script>
|