The HTTP_Protocol_VIM test_xset and test_system fail because of an
invalid date format (errno = 1001).
The method in question is testPropertyCreateGetSet() when trying to
create a date_time property.
I don't understand which date format is waiting,
2010-05-19T15:23:15.508+02:00 seems a right ISO8601 format.
I have tried to replace the '.' by a ',' but the result is the same.
The output is :
[java] There were 2 errors:
[java] 1)
testPropertyCreateSetGet(org.snia.xam.vim.http.HTTPXSystemTest)org.snia.xam.XAMException:
Operation failed due to an unexpected exception: Invalid date format
1001
[java] at
org.snia.xam.vim.http.client.HTTPRequest.mapError(Unknown Source)
[java] at
org.snia.xam.vim.http.client.HTTPRequest.request(Unknown Source)
[java] at
org.snia.xam.vim.http.client.HTTPFieldContainer.createProperty(Unknown
Source)
[java] at
org.snia.xam.vim.http.client.HTTPXSystem.createProperty(Unknown
Source)
[java] at
org.snia.xam.vim.http.HTTPXSystemTest.testPropertyCreateSetGet(Unknown
Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[java] at org.snia.xam.vim.http.XAMTest.runTest(Unknown
Source)
[java] at org.snia.xam.vim.http.AllTest.main(Unknown Source)
[java] 2)
testPropertyCreateSetGet(org.snia.xam.vim.http.HTTPXSetTest)org.snia.xam.XAMException:
Operation failed due to an unexpected exception: Invalid date format
1001
[java] at
org.snia.xam.vim.http.client.HTTPRequest.mapError(Unknown Source)
[java] at
org.snia.xam.vim.http.client.HTTPRequest.request(Unknown Source)
[java] at
org.snia.xam.vim.http.client.HTTPFieldContainer.createProperty(Unknown
Source)
[java] at
org.snia.xam.vim.http.client.HTTPXSet.createProperty(Unknown Source)
[java] at
org.snia.xam.vim.http.HTTPXSetTest.testPropertyCreateSetGet(Unknown
Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[java] at org.snia.xam.vim.http.XAMTest.runTest(Unknown
Source)
[java] at org.snia.xam.vim.http.AllTest.main(Unknown Source)
[java]
[java] FAILURES!!!
[java] Tests run: 33, Failures: 0, Errors: 2
I suppose that you have run the unit tests before commiting your
changes. So, this problem is certainly specific to me.
I post this message in this topic because it can be a problem from the
new patches.
Best regards,
Ludovic Deveaux