1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix unit tests: Witht he change to allow info macros in any of the strings the unit tests need updating to reflect this

This commit is contained in:
Allan Jardine 2012-04-13 18:23:43 +01:00
parent aef0be6a1d
commit 827d4c1ae4
6 changed files with 12 additions and 12 deletions

View File

@ -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 File

@ -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 File

@ -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 File

@ -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 File

@ -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 File

@ -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;
}
);