← 输入框|github.com|刷新
Skip to content

ut_coverage_cobertura_reporter generates wrong line breaks #917

Closed

Description

@tkleiber

I have generated attached coburtura coverage.
There are several linebreaks eg. in line 39 which breaks the xml validation against http://cobertura.sourceforge.net/xml/coverage-04.dtd.

ut_coverage_cobertura_reporter.zip

cobertura

Version:
OS: SLES 11.4
utPLSQL-cli 3.1.6.local
utPLSQL-java-api 3.1.6.411
Java-Version: 1.8.0_66
ORACLE_HOME: null
NLS_LANG: null

Activity

  1. pesse commented on May 10, 2019

    @pesse
    Member

    Do you have similar issues on e.g. JUnit-Reporter?

  2. tkleiber commented on May 10, 2019

    @tkleiber
    Author

    Junit Reporter works fine!

  3. dmpe commented on May 10, 2019

    @dmpe

    Btw. can also some check the Sonar Test execution report as well?
    Coverage is working fine but test execution for sonarqube is not working for us. And we have suspected a malformed XML may be the cause.

    Thanks

  4. pesse commented on May 10, 2019

    @pesse
    Member

    @dmpe Could you open a separate issue for this? I'm also not 100% sure if I understand your problem, maybe you can provide some more details

  5. jgebal commented on May 10, 2019

    @jgebal
    Member

    @dmpe Please open a separate issue on utPLSQL main project.
    Reporter issues are most probably on the code side.
    Please also provide info on:

    • sonar server version you're using
    • the detailed type of problem you're facing
    • if possible, example of the XML report that you see as troublesome
  6. jgebal commented on May 10, 2019

    @jgebal
    Member

    @tkleiber - I'm moving this issue to utPLSQL main repo

  7. transferred this issue fromutPLSQL/utPLSQL-clion May 10, 2019
  8. jgebal commented on May 10, 2019

    @jgebal
    Member

    The issue was confirmed, tested and will be fixed by upcoming Pull Request

  9. self-assigned this
    on May 10, 2019
  10. added this to the v3.1.7 milestone on May 10, 2019
  11. added a commit that references this issue on May 10, 2019
    4d7bc3d
  12. added a commit that references this issue on Jun 18, 2019
    1a5c525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions