[
https://issues.apache.org/jira/browse/WINK-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741398#action_12741398
]
Bryant Luk commented on WINK-127:
---------------------------------
Using my Windows machine, I get a test failure in Preconditions test now.
I think the code should be changed from:
if (TimeZone.getDefault().useDaylightTime()) {
to:
if (TimeZone.getDefault().inDaylightTime(test.toGregorianCalendar().getTime()))
{
but I don't know if this fixes the original problem. I tried changing my local
time zone a few times but I couldn't reproduce the original error.
> Test failure with Wink 0.1 tag
> ------------------------------
>
> Key: WINK-127
> URL: https://issues.apache.org/jira/browse/WINK-127
> Project: Wink
> Issue Type: Bug
> Components: Testsuite
> Reporter: Sebb
> Assignee: Michael Elman
> Fix For: 0.1
>
> Attachments: org.apache.wink.example.locking.LockingTest-output.txt,
> org.apache.wink.example.locking.LockingTest.txt,
> TEST-org.apache.wink.example.locking.LockingTest.xml
>
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.wink.example.locking.LockingTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.578 sec <<<
> FAILURE!
> Results :
> Failed tests:
> testLockingExample(org.apache.wink.example.locking.LockingTest)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> Surefire files to follow
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.