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:
parent
aef0be6a1d
commit
827d4c1ae4
@ -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;
|
||||
}
|
||||
);
|
||||
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user