diff options
author | Omair Majid <[email protected]> | 2012-04-03 12:13:24 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2012-04-03 12:13:24 -0400 |
commit | 92413ff87b5c65f627624d6600a6a3733433bd23 (patch) | |
tree | bd1282f5a0690fdb10f7a2bd049a0dd3b46e6713 /tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp | |
parent | e73ab7ec0e381bfab6fce1e1b614d88791f2f326 (diff) |
Fix pac tests
The testDateRange* tests were rewritten so date wrapping is handled
correctly. Also fixes two bugs in pac-funcs.js (a missed return value
and using getYear instead of getFullYear).
2012-04-03 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of
getYear() with getFullYear().
(inYearMonthDateRange): Add missing conditional case.
* tests/netx/pac/pac-funcs-test.js
(runTest): New function.
(runTests): Call runTest.
(incDate): Deal with month/year wrapping around.
(decDate): Removed.
(testDateRange, testDateRange2, testDateRange3): Handle wrapping of month
and days.
Diffstat (limited to 'tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp')
0 files changed, 0 insertions, 0 deletions