VirtualBox

Ignore:
Timestamp:
Jan 3, 2017 1:14:29 PM (8 years ago)
Author:
vboxsync
Message:

TestManager: Count occurences of filter criteria; added testcase variations to the filtering (really only useful when selecting a small number of testcases first).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py

    r65054 r65077  
    939939                for oDesc in oCrit.aoPossible:
    940940                    fChecked = oDesc.oValue in oCrit.aoSelected;
    941                     sHtml += u'    <li%s><input type="checkbox" name="%s" value="%s"%s/>%s</li>\n' \
     941                    sHtml += u'    <li%s%s><input type="checkbox" name="%s" value="%s"%s/>%s%s</li>\n' \
    942942                           % ( ' class="side-filter-irrelevant"' if oDesc.fIrrelevant else '',
     943                               ' title="%s"' % (webutils.escapeAttr(oDesc.sHover,) if oDesc.sHover is not None else ''),
    943944                               oCrit.sVarNm, oDesc.oValue, ' checked' if fChecked else '',
    944                                webutils.escapeElem(oDesc.sDesc),);
     945                               webutils.escapeElem(oDesc.sDesc),
     946                               ' <span class="side-filter-count">(%u)</span>' % (oDesc.cTimes) if oDesc.cTimes is not None
     947                               else '', );
    945948
    946949                sHtml += u'   </ul>\n' \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette