-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove deprecated fromIOFile #631
remove deprecated fromIOFile #631
Conversation
guwirth
commented
Sep 12, 2015
- close Remove deprecated fromIOFile #629
- replace File.fromIOFile with FileSystem.inputFile
- replace org.sonar.api.resources.File with org.sonar.api.batch.fs.InputFile
- use org.sonar.api.batch.fs.internal.DefaultFileSystem in unit tests
- add addInputFile to TestUtils: all files listed in report files must be added to DefaultFileSystem
- for reports with absolute paths there are two versions needed: one for Window and one for Linux
- close limit report line number #611, close PC-lint report may create SonarException in decorator #600, close Execute decorators failing #625: add fix for https://jira.sonarsource.com/browse/SONAR-6792
I will try during this week and report back |
Did a comparison between SQ 3.7.4 / CXX plugin 0.9.1 and SQ 5.1.1 / CXX plugin 0.9.4 & this PR: |
got 1 failed tests in the bullseye coverage test in windows, will comment and proceed with test in server //@test |
@jmecosta Strange. Developing and testing only on Windows and it is working fine on my system? |
java 8? |
ok, so its because of this: 22:15:11.133 [main] INFO CxxPlugin - Added report 'D:\Development\SonarQube\cxx\sonar-cxx\sonar-cxx-plugin\target\test-classes\org\sonar\plugins\cxx\reports-project\coverage-reports\bullseye\bullseye-coverage-drive-letter-without-slash-win.xml' (parsed by: BullseyeParser) to the coverage data Test is capital, not totally sure why does it work there... using windows 10 btw |
Have to test this tomorrow again. But I think was only working on my system with capital drive letter? But no more sure... also don't know why drive letter is on some system upper case and on some lower case? Strange is also that DefaultFileSystem is not able to handle this?
|
nothing big for me found, time are almost the same as with previous versions |
@jmecosta Thanks for testing. Will try to find a solution for the drive letter miracle an merge it then. |
- close #629 - replace File.fromIOFile with FileSystem.inputFile - replace org.sonar.api.resources.File with org.sonar.api.batch.fs.InputFile - use org.sonar.api.batch.fs.internal.DefaultFileSystem in unit tests - add addInputFile to TestUtils: all files listed in report files must be added to DefaultFileSystem - for reports with absolute paths there are two versions needed: one for Window and one for Linux - close #611, close #600, close #625: add fix for https://jira.sonarsource.com/browse/SONAR-6792