Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5655

" (from WhateverTest)" gratuitously appended to test result detail pages

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None

      Probably a regression due to recent factoring of JUnit support. In hudson/tasks/junit/CaseResult/index.jelly:

      <j:if test="${it.className != it.parent.name}">
      (from <st:out value="${it.parent.name}"/>)
      </j:if>

      seems to always be true now, whereas this is supposed to be an exceptional case. (Should be true only if you have a JUnit 3.x-style test with a suite() method which runs tests from a different class.)

          [JENKINS-5655] " (from WhateverTest)" gratuitously appended to test result detail pages

          Jesse Glick added a comment -

          In fact I think JENKINS-2988 is regressed completely.

          http://deadlock.netbeans.org/hudson/job/NB-Core-Build/4229/testReport/junit/org.openide.filesystems/FileObjectTestHid/testGetMIMETypeCachedInAtomicAction/

          shows

          org.openide.filesystems.FileObjectTestHid.testGetMIMETypeCachedInAtomicAction (from FileObjectTestHid)

          without showing the initiating suite at all (which in this case I believe was org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystemTest, based on the workspace paths involved).

          Jesse Glick added a comment - In fact I think JENKINS-2988 is regressed completely. http://deadlock.netbeans.org/hudson/job/NB-Core-Build/4229/testReport/junit/org.openide.filesystems/FileObjectTestHid/testGetMIMETypeCachedInAtomicAction/ shows org.openide.filesystems.FileObjectTestHid.testGetMIMETypeCachedInAtomicAction (from FileObjectTestHid) without showing the initiating suite at all (which in this case I believe was org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystemTest, based on the workspace paths involved).

          Jesse Glick added a comment -

          Changeset: e78bd45c83354bf1d5acc69867adfd44d30137d3
          Author: Jesse Glick
          Date: 2010-12-10 12:56
          Message: Regression related to JENKINS-2988 (special display of suites).

          Jesse Glick added a comment - Changeset: e78bd45c83354bf1d5acc69867adfd44d30137d3 Author: Jesse Glick Date: 2010-12-10 12:56 Message: Regression related to JENKINS-2988 (special display of suites).

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: