From: Derk-Jan Hartman Date: Wed, 17 Jul 2013 21:23:51 +0000 (+0200) Subject: Tablesorter: Add testcase for unsortable column X-Git-Tag: 1.31.0-rc.0~19151 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=3864b0b69e0571e21ed22e02b3ccf47d8d79ef3a;p=lhc%2Fweb%2Fwiklou.git Tablesorter: Add testcase for unsortable column Change-Id: I64ea3c7301a8be6c4b7b9b462d0e81b89a525f9e --- diff --git a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js index 494abd878d..f73fd7bfce 100644 --- a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js @@ -411,6 +411,19 @@ ); + tableTest( + 'Basic planet table: one unsortable column', + header, + planets, + planets, + function ( $table ) { + $table.find( 'tr:eq(0) > th:eq(0)' ).addClass( 'unsortable' ); + + $table.tablesorter(); + $table.find( 'tr:eq(0) > th:eq(0)' ).click(); + } + ); + // Regression tests! tableTest( 'Bug 28775: German-style (dmy) short numeric dates',