code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
* differently. However, we certainly can test the principle of what should happen ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bAutoWidth.js | JavaScript | asf20 | 3,672 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "2600 - Display rewind when changing length" );
$(document).ready( function () {
$('#example').dataTable();
oTest.fnTest(
"Info correct on init",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; }
);
oTest.fnTest(
"Page... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2600.js | JavaScript | asf20 | 1,216 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bFilter" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable();
oTest.fnTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
oTest.f... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bFilter.js | JavaScript | asf20 | 840 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "aaSorting" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Default sorting is single column",
null,
function () {
return oSettings.aaSorting.length == 1 && ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aaSorting.js | JavaScript | asf20 | 4,441 |
// 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... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2512.js | JavaScript | asf20 | 374 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnDrawCallback" );
/* Fairly boring function compared to the others! */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default should be null",
null,
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnDrawCallback.js | JavaScript | asf20 | 1,482 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "User given with is left when no scrolling" );
$(document).ready( function () {
$('#example')[0].style.width = "80%";
$('#example').dataTable();
oTest.fnTest(
"Check user width is left",
null,
function () { return $('#example').width() == 640; }
);
oTest.fnComp... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2530-2.js | JavaScript | asf20 | 332 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sInfoEmpty" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFi... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js | JavaScript | asf20 | 1,883 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "sAjaxSource" );
/* Not interested in ajax source here other than to check it's default */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Server side is off by defau... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/sAjaxSource.js | JavaScript | asf20 | 420 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "2635 - Hiding column and state saving" );
$(document).ready( function () {
$('#example').dataTable( {
"bStateSave": true
} );
oTest.fnTest(
"Set the hidden column",
function () {
$('#example').dataTable().fnSetColumnVis( 2, false );
},
function () { return ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2635.js | JavaScript | asf20 | 940 |
// DATA_TEMPLATE: html_table
oTest.fnStart( "HTML auto detect" );
$(document).ready( function () {
var oTable = $('#example').dataTable();
oTest.fnTest(
"Initial sort",
null,
function () {
var ret =
$('#example tbody tr:eq(0) td:eq(0)').html() == '1' &&
$('#example tbody tr:eq(1) td:eq(0)').html(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/html-autodetect-sort.js | JavaScript | asf20 | 1,400 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "Destroy with hidden columns" );
$(document).ready( function () {
$('#example').dataTable( {
"aoColumnDefs": [
{ "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] },
{ "bVisible": false, "aTargets": [ 3 ] }
]
} );
$('#example').dataTable().fnDestroy();
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2569.js | JavaScript | asf20 | 888 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "iDisplayLength" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable();
oTest.fnTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
oTest.fnTest(
"Select menu shows 10",
null,
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/iDisplayLength.js | JavaScript | asf20 | 1,513 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bJQueryUI" );
$(document).ready( function () {
$('#example').dataTable( {
"bJQueryUI": true
} );
oTest.fnTest(
"Header elements are fully wrapped by DIVs",
null,
function () {
var test = true;
$('#example thead th').each( function () {
if ( this.childN... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bJQueryUI.js | JavaScript | asf20 | 721 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "5396 - fnUpdate with 2D arrays for a single row" );
$(document).ready( function () {
$('#example thead tr').append( '<th>6</th>' );
$('#example thead tr').append( '<th>7</th>' );
$('#example thead tr').append( '<th>8</th>' );
$('#example thead tr').append( '<th>9</th>'... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js | JavaScript | asf20 | 2,443 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bServerSide" );
/* Not interested in server-side processing here other than to check that it is off */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Server side is... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bServerSide.js | JavaScript | asf20 | 444 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sZeroRecords" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Zero records language is 'No matching records found' by default",
null,
function () { r... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sZeroRecords.js | JavaScript | asf20 | 1,182 |
// DATA_TEMPLATE: dom_data_th
oTest.fnStart( "Sanity checks for DataTables with DOM data and a TH in the body" );
oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
);
oTest.fnTest(
"jQuery.dataTableSettings storage array",
null,
function () { retur... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/th_in_body.js | JavaScript | asf20 | 13,355 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "Sanity checks for DataTables with DOM data" );
oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
);
oTest.fnTest(
"jQuery.dataTableSettings storage array",
null,
function () { return typeof jQuery().dataTa... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/_zero_config.js | JavaScript | asf20 | 13,331 |
// DATA_TEMPLATE: complex_header_2
oTest.fnStart( "fnSetColumnVis with complex headers" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"All columns are visible by default",
null,
function () { return $(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnSetColumnVis2.js | JavaScript | asf20 | 6,303 |
// DATA_TEMPLATE: -complex_header
oTest.fnStart( "Complex header" );
$(document).ready( function () {
$('#example').dataTable();
oTest.fnTest(
"Sorting on colspan has no effect",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr td:eq(1)').html() == "Firefox 1... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/-complex_header.js | JavaScript | asf20 | 1,585 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnDeleteRow" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Check that the default data is sane",
null,
function () { return oSettings.asDataSearch.join(' ').... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnDeleteRow.js | JavaScript | asf20 | 782 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.oPaginate" );
/* Note that the paging language information only has relevence in full numbers */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( { "sPaginationType": "full_numbers" } );
var oSettings = oTable.fnSett... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.oPaginate.js | JavaScript | asf20 | 2,083 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "aoColumns.bSortable" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js | JavaScript | asf20 | 2,592 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bSort" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable();
oTest.fnTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
oTest.fnTest(
"Sorting Asc by default cla... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bSort.js | JavaScript | asf20 | 2,508 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnSetColumnVis" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td')... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnSetColumnVis.js | JavaScript | asf20 | 3,139 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "sScrollX / Y" );
$(document).ready( function () {
// Force some x scrolling
$('body').css('white-space', 'nowrap');
$('#container').css('width', '400px');
var oTable = $('#example').dataTable( {
"sScrollX": "100%",
"sScrollY": "200px",
"bPaginate": false
} );
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/sScrollXY.js | JavaScript | asf20 | 1,765 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "2608 - State saving escaping filters" );
$(document).ready( function () {
$('#example').dataTable( {
"bStateSave": true
} );
oTest.fnTest(
"Set the filter",
function () {
$('#example_filter input').val( '\\s*CVM\\s*$' );
$('#example_filter input').keyup();
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2608.js | JavaScript | asf20 | 1,277 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnFooterCallback" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnFooterCallback ==... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnFooterCallback.js | JavaScript | asf20 | 4,524 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnFilter" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
oTable.fnFilter(1);
oTest.fnTest(
"Filtering with a non-string input is valid",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnFilter.js | JavaScript | asf20 | 402 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "bInfo" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable();
oTest.fnTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
oTest.fnTest(
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bInfo.js | JavaScript | asf20 | 814 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "aoSearchCols" );
/* We could be here forever testing this one, so we test a limited subset on a couple of colums */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"D... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoSearchCols.js | JavaScript | asf20 | 2,992 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "fnCreatedCell tests" );
$(document).ready( function () {
var tmp = 0;
$('#example').dataTable( {
"aoColumnDefs": [ {
fnCreatedCell: function () {
tmp++;
},
"aTargets": ["_all"]
} ]
} );
oTest.fnTest(
"Cell created is called once for each cell on ini... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnCreatedCell.js | JavaScript | asf20 | 2,812 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sLengthMenu" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js | JavaScript | asf20 | 2,406 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sUrl" );
/* Note that we only test the internal storage of language information pulled form a file here
* as the other language tests will check it goes into the DOM correctly
*/
$(document).ready( function () {
/* Check the default */
var oTable = $('#example'... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sUrl.js | JavaScript | asf20 | 1,865 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "aaSortingFixed" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"No fixed sorting by default",
null,
function () {
return oSettings.aaSortingFixed == null;
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aaSortingFixed.js | JavaScript | asf20 | 1,590 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnRowCallback" );
/* Note - fnRowCallback MUST return the first arguments (modified or not) */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
var mPass;
oTe... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnRowCallback.js | JavaScript | asf20 | 2,287 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.fnRender" );
$(document).ready( function () {
/* Check the default */
var mTmp = 0;
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"aoColumns": [
null,
{ "fnRender": function (a) {
mTmp++;
return a.aData[a.iDataColumn];
} },
nul... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js | JavaScript | asf20 | 3,039 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sProcessing" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"bProcessing": true
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Processing language is 'Processing...' by de... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sProcessing.js | JavaScript | asf20 | 1,170 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.sWidth" );
/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales column... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js | JavaScript | asf20 | 1,968 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.bVisible" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"All columns are visible by default",
null,
function () { return $(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js | JavaScript | asf20 | 2,565 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bSortClasses" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bSortClasses.js | JavaScript | asf20 | 3,918 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sSearch" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Search language is 'Search:' by default",
null,
function () { retur... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sSearch.js | JavaScript | asf20 | 1,561 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.sTitle" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"If not given, then the columns titles are empty",
null,
function () ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js | JavaScript | asf20 | 1,928 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sInfoPostFix" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Info post fix language is '' (blank) by default",
null,
functi... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sInfoPostFix.js | JavaScript | asf20 | 1,978 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bProcessing" );
/* It's actually a bit hard to set this one due to the fact that it will only be shown
* when DataTables is doing some kind of processing. The server-side processing is a bit
* better to test this than here - so we just the interal functions to enable it and ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bProcessing.js | JavaScript | asf20 | 3,074 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.iDataSort" );
$(document).ready( function () {
/* Should know that sorting already works by default from other tests, so we can jump
* right in here
*/
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"aoColumns": [
null,
{ "iDataSort": 4 },... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js | JavaScript | asf20 | 2,459 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "8549 - string sorting non-string types" );
$(document).ready( function () {
var test = false;
$.fn.dataTable.ext.sErrMode = "throw";
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Shallow properties
*/
$('#example').dataTable( ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js | JavaScript | asf20 | 888 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.bUseRendered" );
/* bUseRendered is used to alter sorting data, if false then the original data is used for
* sorting rather than the rendered data
*/
$(document).ready( function () {
/* Check the default */
var mTmp = 0;
var oTable = $('#example').dataTable(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js | JavaScript | asf20 | 3,350 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bLengthChange" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
);
oTes... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bLengthChange.js | JavaScript | asf20 | 1,742 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "sPaginationType" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Check two button paging is the default",
null,
function () { return o... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/sPaginationType.js | JavaScript | asf20 | 2,870 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oSearch" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Default values should be blank",
null,
function () {
var bReturn = oSettin... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oSearch.js | JavaScript | asf20 | 2,482 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.sClass" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"By default the test class hasn't been applied to the column (sanity!)",
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.sClass.js | JavaScript | asf20 | 3,046 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.sName" );
/* This has no effect at all in DOM methods - so we just check that it has applied the name */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"aoColumns": [
null,
null,
nul... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.sName.js | JavaScript | asf20 | 580 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnInitComplete" );
/* Fairly boring function compared to the others! */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnInitComplete.js | JavaScript | asf20 | 1,582 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sInfo" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sInfo.js | JavaScript | asf20 | 2,905 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "sDom" );
/* This is going to be brutal on the browser! There is a lot that can be tested here... */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTe... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/sDom.js | JavaScript | asf20 | 7,117 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "asStripeClasses" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Default row striping is applied",
null,
function () {
return $('#example tbody tr:eq(0)').hasClass('odd') &&
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/asStripClasses.js | JavaScript | asf20 | 2,703 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.bSeachable" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Columns are searchable by default",
function () { oTable.fnFilter(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js | JavaScript | asf20 | 1,814 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnCreatedRow tests" );
$(document).ready( function () {
var tmp = 0;
$('#example').dataTable( {
"aaData": gaaData,
fnCreatedRow: function () {
tmp++;
}
} );
oTest.fnTest(
"Row created is called once for each row on init",
null,
function () { return tmp==... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnCreatedRow.js | JavaScript | asf20 | 2,238 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnHeaderCallback" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default should be null",
null,
function () { return oSet... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnHeaderCallback.js | JavaScript | asf20 | 4,802 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bPaginate" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
);
oT... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bPaginate.js | JavaScript | asf20 | 1,320 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
* differently. However, we certainly can test the principle of what should happen (... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bAutoWidth.js | JavaScript | asf20 | 3,743 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bFilter" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Chec... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bFilter.js | JavaScript | asf20 | 911 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aaSorting" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Default sorting is single column",
null,
function () {
return oSettings.... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aaSorting.js | JavaScript | asf20 | 4,765 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnDrawCallback" );
/* Fairly boring function compared to the others! */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnDrawCallback.js | JavaScript | asf20 | 1,576 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sInfoEmpty" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js | JavaScript | asf20 | 1,954 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "sAjaxSource" );
/* Not interested in ajax source here other than to check it's default */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Se... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/sAjaxSource.js | JavaScript | asf20 | 445 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "iDisplayLength" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
oTest.fnTest(
"Select... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/iDisplayLength.js | JavaScript | asf20 | 1,607 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bServerSide" );
/* Not interested in server-side processing here other than to check that it is off */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.f... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bServerSide.js | JavaScript | asf20 | 469 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "6872 - mDataProp and sDefaultContent for deep objects" );
$(document).ready( function () {
var test = false;
$.fn.dataTable.ext.sErrMode = "throw";
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Shallow properties
*/
$('#exampl... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js | JavaScript | asf20 | 5,506 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sZeroRecords" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Zero records language is 'No matching records found' by default",
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sZeroRecords.js | JavaScript | asf20 | 1,230 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "Sanity checks for DataTables with data from JS" );
oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
);
oTest.fnTest(
"jQuery.dataTableSettings storage array",
null,
function () { return typeof jQuery().dat... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/_zero_config.js | JavaScript | asf20 | 13,387 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.oPaginate" );
/* Note that the paging language information only has relevence in full numbers */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"sPaginationType": "full_numbers"
} );
var oS... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js | JavaScript | asf20 | 2,129 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.bSortable" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"All columns are sortable by default",
function () { $('#example the... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js | JavaScript | asf20 | 2,663 |
// DATA_TEMPLATE: js_data_mixed_types
oTest.fnStart( "Sanity checks for DataTables with data from JS with mixed data types" );
$(document).ready( function () {
var oInit = {
"aaData": gaaData
};
$('#example').dataTable( oInit );
oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/js_data_mixed_types.js | JavaScript | asf20 | 12,335 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bSort" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
oTest.fnTest(
"S... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bSort.js | JavaScript | asf20 | 2,436 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnFooterCallback" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
var mPass;
oTest.fnTest(
"Default should be null",
null,
function () { return oSet... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnFooterCallback.js | JavaScript | asf20 | 4,802 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "bInfo" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"aaData": gaaData
} );
oTest.fnTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can dis... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/bInfo.js | JavaScript | asf20 | 885 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoSearchCols" );
/* We could be here forever testing this one, so we test a limited subset on a couple of colums */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings(... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aoSearchCols.js | JavaScript | asf20 | 3,132 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "39 - nested null values" );
$(document).ready( function () {
var test = false;
$.fn.dataTable.ext.sErrMode = "throw";
oTest.fnTest(
"No default content throws an error",
function () {
try {
$('#example').dataTable( {
"aaData": [
{ "a": "0", "b": ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/39-nested-null.js | JavaScript | asf20 | 1,554 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "fnCreatedCell tests" );
$(document).ready( function () {
var tmp = 0;
$('#example').dataTable( {
"aaData": gaaData,
"aoColumnDefs": [ {
fnCreatedCell: function () {
tmp++;
},
"aTargets": ["_all"]
} ]
} );
oTest.fnTest(
"Cell created is called once ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/fnCreatedCell.js | JavaScript | asf20 | 2,970 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sLengthMenu" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
funct... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sLengthMenu.js | JavaScript | asf20 | 2,500 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.sUrl" );
/* Note that we only test the internal storage of language information pulled form a file here
* as the other language tests will check it goes into the DOM correctly
*/
$(document).ready( function () {
/* Check the default */
var oTable = $('#example')... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/oLanguage.sUrl.js | JavaScript | asf20 | 1,913 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "aaSortingFixed" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"No fixed sorting by default",
null,
function () {
return oSettings.... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/2_js/aaSortingFixed.js | JavaScript | asf20 | 1,661 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "fnRowCallback" );
/* Note - fnRowCallback MUST return the first arguments (modified or not) */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/fnRowCallback.js | JavaScript | asf20 | 2,807 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.fnRender" );
$(document).ready( function () {
/* Check the default */
var mTmp = 0;
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"aoColumns": [
null,
{ "f... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/aoColumns.fnRender.js | JavaScript | asf20 | 3,559 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "oLanguage.sProcessing" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"bProcessing": true
} );
var oSettings = ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/oLanguage.sProcessing.js | JavaScript | asf20 | 1,346 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales co... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/aoColumns.sWidth.js | JavaScript | asf20 | 2,230 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.bVisible" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings();
oT... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/aoColumns.bVisible.js | JavaScript | asf20 | 3,032 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "bSortClasses" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
oTest.fnWaitTest(
"Sorting classes are applied by defaul... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/bSortClasses.js | JavaScript | asf20 | 4,216 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "oLanguage.sSearch" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings();
oTe... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/oLanguage.sSearch.js | JavaScript | asf20 | 1,827 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sTitle" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings();
oTes... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/aoColumns.sTitle.js | JavaScript | asf20 | 2,190 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "oLanguage.sInfoPostFix" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings();
... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoPostFix.js | JavaScript | asf20 | 2,326 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "bProcessing" );
/* It's actually a bit hard to set this one due to the fact that it will only be shown
* when DataTables is doing some kind of processing. The server-side processing is a bit
* better to test this than here - so we just the interal functions to enable it ... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/bProcessing.js | JavaScript | asf20 | 3,368 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.bUseRendered" );
/* bUseRendered is used to alter sorting data, if false then the original data is used for
* sorting rather than the rendered data
*/
$(document).ready( function () {
/* Check the default */
var mTmp = 0;
var oTable = $('#example').dataTa... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/aoColumns.bUseRendered.js | JavaScript | asf20 | 1,039 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "bLengthChange" );
$(document).ready( function () {
/* Check the default */
$('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
oTest.fnWaitTest(
"Length div exists by default",
nul... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/bLengthChange.js | JavaScript | asf20 | 2,020 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "iDraw - check that iDraw increments for each draw" );
$(document).ready( function () {
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings()... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/-iDraw.js | JavaScript | asf20 | 1,020 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "sPaginationType" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSettings();
oTest... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/sPaginationType.js | JavaScript | asf20 | 3,279 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "oSearch" );
/* Note with my server-side scripts the regex option has no effect - this just runs that down */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/serve... | zy-account-manage-system | trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/4_server-side/oSearch.js | JavaScript | asf20 | 2,698 |