aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-06-05 16:14:42 +0200
committerJiri Vanek <[email protected]>2012-06-05 16:14:42 +0200
commit31100d1348be0847c96afb270089161da41ca9ed (patch)
treeef19046a99eef6c9eeac575414884259735f19b6 /tests/netx
parent99598df7c4a6b49d290963b2b4a9d92045e6d5b6 (diff)
isDateInRange renamed to isDateInRange_internallForIcedTeaWebTesting
Diffstat (limited to 'tests/netx')
-rw-r--r--tests/netx/pac/pac-funcs-test.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/netx/pac/pac-funcs-test.js b/tests/netx/pac/pac-funcs-test.js
index bd50035..8a45952 100644
--- a/tests/netx/pac/pac-funcs-test.js
+++ b/tests/netx/pac/pac-funcs-test.js
@@ -492,13 +492,13 @@ function testDateRange2() {
var aYearFromNow = new Date(current.getFullYear()+1, current.getMonth()+1, current.getDate()+1);
var later = [aYearFromNow.getDate(), aYearFromNow.getMonth(), aYearFromNow.getFullYear()];
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
today[0], monthToStr(today[1]) , tomorrow[0], monthToStr(tomorrow[1]) ]);
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
yesterday[0], monthToStr(yesterday[1]) , tomorrow[0], monthToStr(tomorrow[1]) ]);
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
yesterday[0], monthToStr(yesterday[1]), yesterday[2], tomorrow[0], monthToStr(tomorrow[1]), tomorrow[2] ]);
- runTest(isDateInRange, [ false, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ false, current,
tomorrow[0], monthToStr(tomorrow[1]), tomorrow[2], later[0], monthToStr(later[1]), later[2] ]);
}
@@ -528,11 +528,11 @@ function testDateRange3() {
var yesterday = incDate(current,'day',-1);
var today = incDate(current,'day',0);
var tomorrow = incDate(current,'day',1);
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
yesterday[0], monthToStr(yesterday[1]) , today[0], monthToStr(today[1]) ]);
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
yesterday[0], monthToStr(yesterday[1]) , tomorrow[0], monthToStr(tomorrow[1]) ]);
- runTest(isDateInRange, [ true, current,
+ runTest(isDateInRange_internallForIcedTeaWebTesting, [ true, current,
yesterday[0], monthToStr(yesterday[1]), yesterday[2], tomorrow[0], monthToStr(tomorrow[1]), tomorrow[2] ]);
}
}