adding crlf characters for the failing tests in api.templates - #248
adding crlf characters for the failing tests in api.templates#248sarveshkesharwani wants to merge 1 commit into
Conversation
|
Probably, it's incomplete. I guess that your OS is Windows. Tests would fail in Linux if the changes are added. BTW, we should remove the license header of utf8.xml [1] because we get an error. (It should be excluded from rat) @JaroslavTulach @jlahoda Thanks. |
|
Yes, my OS is Windows. Were the tests in SCFTHandlerTest.java passing before in linux? (without these crlf changes) |
|
My personal opinion: ideally tests should pass/work on both Linux and Windows. Instead of playing with different line endings in the expected text, I'd suggest to normalize to one line endings format (ideally the Linux one). I.e. the expected text would have only one format ('\n') of line endings, just readFile(newForm) would do '.replace("\r\n", "\n")' or '.replace(System.getProperty("line.separator"), "\n")'. |
Yes, other than the above problem I wrote. (I created a new PR #255) @jlahoda Thank you for your help! Great idea. @sarveshkesharwani Could you please fix it? (Please see Jan's comment) |
|
@jlahoda Thank you. That's really a great idea. |
|
There are two jobs running (some of) our tests: windows and linux. I believe it is important to stabilize them both - e.g. it is desirable that our tests pass on Windows as well as Linux. Btw. it is unfortunate the windows job has been broken for a while and nobody paid attention to that (reported as #127). Ideas how to make stable test runs priority for the community are welcomed. |
|
@JaroslavTulach maybe we should connect jenkins to dev mailing list ? |
|
@sarveshkesharwani Great. Thanks a lot! It would be nice if you can rebase and squash your changes into one commit with a proper commit message. @JaroslavTulach That makes sense. Thank you for your help! |
…rTest - windows (replace crlf characters with lf)
ae8c0a6 to
7189070
Compare
|
@junichi11 That makes sense. Done. |
|
@sarveshkesharwani BTW, Did you send iCLA[1]? (I'm not sure whether this change requires it.) If no and you are going to continue contributing to Apache NetBeans, you should send it :) |
|
@junichi11 I haven't sent an iCLA yet, but I am definitely going to continue contributing to Apache NetBeans. I will send the iCLA once I have made a little more contribution towards Apache NetBeans. :) |
|
@sarveshkesharwani Great to hear. We can merge your change without problems after you send it. |
|
Merged as "trivial fix" without an iCLA. Thanks for looking into this. |
Refactored JDK Downloader
This fixes the failing tests in "SCFTHandlerTest.java" in api.templates module.