1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Unit tests were using asStripClasses which was an old legacy typo... It should be asStripeClasses and I've removed the alias in 1.9, thus the unit tests need to be updated.

This commit is contained in:
Allan Jardine 2011-12-04 18:11:36 +00:00
parent e1fb1748a8
commit 6610ec24b8
7 changed files with 24 additions and 24 deletions

0
media/unit_testing/tests_onhold/1_dom/2608.js Executable file → Normal file
View File

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: dom_data // DATA_TEMPLATE: dom_data
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -44,7 +44,7 @@ $(document).ready( function () {
function () { function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -61,7 +61,7 @@ $(document).ready( function () {
function () { function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -79,7 +79,7 @@ $(document).ready( function () {
function () { function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: js_data // DATA_TEMPLATE: js_data
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -36,7 +36,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"aaData": gaaData, "aaData": gaaData,
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -54,7 +54,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"aaData": gaaData, "aaData": gaaData,
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -73,7 +73,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"aaData": gaaData, "aaData": gaaData,
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table // DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -36,7 +36,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -59,7 +59,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -78,7 +78,7 @@ $(document).ready( function () {
oSession.fnRestore(); oSession.fnRestore();
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table // DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -38,7 +38,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"bServerSide": true, "bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php", "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -62,7 +62,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"bServerSide": true, "bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php", "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -82,7 +82,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"bServerSide": true, "bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php", "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table // DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -50,7 +50,7 @@ $(document).ready( function () {
{ "mDataProp": "version", "aTargets": [3] }, { "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] } { "mDataProp": "grade", "aTargets": [4] }
], ],
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -80,7 +80,7 @@ $(document).ready( function () {
{ "mDataProp": "version", "aTargets": [3] }, { "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] } { "mDataProp": "grade", "aTargets": [4] }
], ],
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -106,7 +106,7 @@ $(document).ready( function () {
{ "mDataProp": "version", "aTargets": [3] }, { "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] } { "mDataProp": "grade", "aTargets": [4] }
], ],
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {

View File

@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table // DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" ); oTest.fnStart( "asStripeClasses" );
$(document).ready( function () { $(document).ready( function () {
/* Check the default */ /* Check the default */
@ -38,7 +38,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bDeferRender": true, "bDeferRender": true,
"asStripClasses": [] "asStripeClasses": []
} ); } );
}, },
function () { function () {
@ -62,7 +62,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bDeferRender": true, "bDeferRender": true,
"asStripClasses": [ 'test1', 'test2' ] "asStripeClasses": [ 'test1', 'test2' ]
} ); } );
}, },
function () { function () {
@ -82,7 +82,7 @@ $(document).ready( function () {
$('#example').dataTable( { $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bDeferRender": true, "bDeferRender": true,
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ] "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} ); } );
}, },
function () { function () {