Skip to content

Commit

Permalink
Unit tests were using asStripClasses which was an old legacy typo... …
Browse files Browse the repository at this point in the history
…It should be asStripeClasses and I've removed the alias in 1.9, thus the unit tests need to be updated.
  • Loading branch information
Allan Jardine committed Dec 4, 2011
1 parent e1fb174 commit 6610ec2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
Empty file modified media/unit_testing/tests_onhold/1_dom/2608.js 100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions media/unit_testing/tests_onhold/1_dom/asStripClasses.js
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: dom_data
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -44,7 +44,7 @@ $(document).ready( function () {
function () {
oSession.fnRestore();
$('#example').dataTable( {
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand All @@ -61,7 +61,7 @@ $(document).ready( function () {
function () {
oSession.fnRestore();
$('#example').dataTable( {
"asStripClasses": [ 'test1', 'test2' ]
"asStripeClasses": [ 'test1', 'test2' ]
} );
},
function () {
Expand All @@ -79,7 +79,7 @@ $(document).ready( function () {
function () {
oSession.fnRestore();
$('#example').dataTable( {
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ]
"asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} );
},
function () {
Expand Down
8 changes: 4 additions & 4 deletions media/unit_testing/tests_onhold/2_js/asStripClasses.js
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: js_data
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -36,7 +36,7 @@ $(document).ready( function () {
oSession.fnRestore();
$('#example').dataTable( {
"aaData": gaaData,
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand All @@ -54,7 +54,7 @@ $(document).ready( function () {
oSession.fnRestore();
$('#example').dataTable( {
"aaData": gaaData,
"asStripClasses": [ 'test1', 'test2' ]
"asStripeClasses": [ 'test1', 'test2' ]
} );
},
function () {
Expand All @@ -73,7 +73,7 @@ $(document).ready( function () {
oSession.fnRestore();
$('#example').dataTable( {
"aaData": gaaData,
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ]
"asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} );
},
function () {
Expand Down
8 changes: 4 additions & 4 deletions media/unit_testing/tests_onhold/3_ajax/asStripClasses.js
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -36,7 +36,7 @@ $(document).ready( function () {
oSession.fnRestore();
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand All @@ -59,7 +59,7 @@ $(document).ready( function () {
oSession.fnRestore();
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"asStripClasses": [ 'test1', 'test2' ]
"asStripeClasses": [ 'test1', 'test2' ]
} );
},
function () {
Expand All @@ -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 () {
Expand Down
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -38,7 +38,7 @@ $(document).ready( function () {
$('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand All @@ -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 () {
Expand All @@ -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 () {
Expand Down
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -50,7 +50,7 @@ $(document).ready( function () {
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand Down Expand Up @@ -80,7 +80,7 @@ $(document).ready( function () {
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"asStripClasses": [ 'test1', 'test2' ]
"asStripeClasses": [ 'test1', 'test2' ]
} );
},
function () {
Expand All @@ -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 () {
Expand Down
@@ -1,5 +1,5 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "asStripClasses" );
oTest.fnStart( "asStripeClasses" );

$(document).ready( function () {
/* Check the default */
Expand Down Expand Up @@ -38,7 +38,7 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bDeferRender": true,
"asStripClasses": []
"asStripeClasses": []
} );
},
function () {
Expand All @@ -62,7 +62,7 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bDeferRender": true,
"asStripClasses": [ 'test1', 'test2' ]
"asStripeClasses": [ 'test1', 'test2' ]
} );
},
function () {
Expand All @@ -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 () {
Expand Down

0 comments on commit 6610ec2

Please sign in to comment.