Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1443

surefire report: broken links with inner classes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.20.1
    • Fix Version/s: 2.21.0
    • Labels:
      None
    • Environment:
      linux

      Description

      pom:
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-report-plugin</artifactId>
      <version>2.20.1</version>
      <configuration>
      <!-- to show failed tests only -->
      <showSuccess>false</showSuccess>
      </configuration>
      </plugin>

      testclass as attached.

      Then tying mvn surefire-report:report

      yields waning
      [warn] [XHTML Sink] Modified invalid anchor name: 'eu.simuline.relana.sysRelanaTest$TestAll' to 'eu.simuline.relana.sysRelanaTestTestAll'
      and in the created html this can be seen:
      dot between sys and RelanaTest missing.
      Partially with $ , partially without so that links are broken
      I attached also the hmtl.

        Attachments

        1. RelanaTest.java
          3 kB
          Ernst Reissner
        2. surefire-report.html
          7 kB
          Ernst Reissner

          Activity

            People

            • Assignee:
              tibor17 Tibor Digana
              Reporter:
              ErnstReissner Ernst Reissner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: