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

View File

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

View File

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

View File

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

View File

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

View File

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