old-tests/tests_onhold/1_dom/2512.js
raw| 1 | // DATA_TEMPLATE: 2512 |
| 2 | oTest.fnStart( "Check filtering with BR and HTML entity" ); |
| 3 | |
| 4 | |
| 5 | $(document).ready( function () { |
| 6 | $('#example').dataTable(); |
| 7 | |
| 8 | /* Basic checks */ |
| 9 | oTest.fnTest( |
| 10 | "Check filtering", |
| 11 | function () { $('#example').dataTable().fnFilter('testsearchstring'); }, |
| 12 | function () { return $('#example tbody tr').length == 1; } |
| 13 | ); |
| 14 | |
| 15 | |
| 16 | oTest.fnComplete(); |
| 17 | } ); |