Skip to content
Browse files

Fix unit tests: Witht he change to allow info macros in any of the st…

…rings the unit tests need updating to reflect this
  • Loading branch information...
1 parent aef0be6 commit 827d4c1ae48e90a38e3c89d983492cf1c8e9b59f @DataTables committed Apr 13, 2012
View
4 media/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js
@@ -52,7 +52,7 @@ $(document).ready( function () {
oTest.fnTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -65,7 +65,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);
View
4 media/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js
@@ -55,7 +55,7 @@ $(document).ready( function () {
oTest.fnTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -69,7 +69,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);
View
4 media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js
@@ -55,7 +55,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -69,7 +69,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);
View
4 media/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoEmpty.js
@@ -57,7 +57,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -72,7 +72,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);
View
4 media/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoEmpty.js
@@ -69,7 +69,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -90,7 +90,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);
View
4 media/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js
@@ -57,7 +57,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
- "Macro's not replaced",
+ "Macro's replaced",
function () {
oSession.fnRestore();
oTable = $('#example').dataTable( {
@@ -72,7 +72,7 @@ $(document).ready( function () {
function () {
var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
- "unit _START_ _END_ _TOTAL_ test";
+ "unit 1 0 0 test";
return bReturn;
}
);

0 comments on commit 827d4c1

Please sign in to comment.
Something went wrong with that request. Please try again.