Apache OpenOffice (AOO) Bugzilla – Issue 120603
[testuno]Test Create and Load Date and Time Field in Writer by UNO
Last modified: 2016-04-09 09:55:48 UTC
Created attachment 78986 [details] datetime field test class 1.A class test date and time field 2.A method loadComponentFromURL in UNOAPP.java
Created attachment 78987 [details] date and time field test class
Created attachment 78988 [details] date and time field test class
3.SWUtil.java
Created attachment 78989 [details] pach
"liuzhe" committed SVN revision 1374159 into trunk: #120603# - [testuno]Test Create and Load Date and Time Field in Writer by UNO...
Thanks for your contribution. I has committed it at revision 1374159. When I reviewed it, I found you catch some exceptions and ignore them. Think about the situation. A bug leads the code in try block to throw an exception, since you ignore the exception, your test will pass. That's bad. Don't catch the exceptions. Add throws Exception to your test method declaration.
Created attachment 78990 [details] patch - remove try catch Remove try catch.
"liuzhe" committed SVN revision 1374165 into trunk: #120603# - [testuno]Test Create and Load Date and Time Field in Writer by UNO...
This script has been comitted.
fixed in 4.0.0