Merge branch 'master' into PROT-9-webservice
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / tests_onhold / 1_dom / 2512.js
diff --git a/webapp/resources/datatables-1.9.4/media/unit_testing/tests_onhold/1_dom/2512.js b/webapp/resources/datatables-1.9.4/media/unit_testing/tests_onhold/1_dom/2512.js
new file mode 100755 (executable)
index 0000000..e0c9179
--- /dev/null
@@ -0,0 +1,17 @@
+// DATA_TEMPLATE: 2512
+oTest.fnStart( "Check filtering with BR and HTML entity" );
+
+
+$(document).ready( function () {
+       $('#example').dataTable();
+       
+       /* Basic checks */
+       oTest.fnTest( 
+               "Check filtering",
+               function () { $('#example').dataTable().fnFilter('testsearchstring'); },
+               function () { return $('#example tbody tr').length == 1; }
+       );
+       
+       
+       oTest.fnComplete();
+} );
\ No newline at end of file