Changeset 61288 in vbox for trunk/src/VBox/ValidationKit/testmanager/webui
- Timestamp:
- May 30, 2016 12:31:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuireport.py
r61286 r61288 306 306 """ 307 307 308 def _getSortedIds(self, oSet ):308 def _getSortedIds(self, oSet, fByTotal = False): 309 309 """ 310 310 Get default sorted subject IDs. 311 311 """ 312 312 313 if self._oModel.tsNow is not None and False:313 if fByTotal is True: 314 314 # Sort the total. 315 315 aidSortedRaw = sorted(oSet.dSubjects, … … 482 482 self._sTitle = 'Test Case Failures'; 483 483 oSet = self._oModel.getTestCaseFailures(); 484 aidSortedRaw = self._getSortedIds(oSet) ;484 aidSortedRaw = self._getSortedIds(oSet) 485 485 486 486 sHtml = self._generateTableForSet(oSet, 'Test Cases', aidSortedRaw); … … 521 521 self._sTitle = 'Test Case Variation Failures'; 522 522 oSet = self._oModel.getTestCaseVariationFailures(); 523 aidSortedRaw = self._getSortedIds(oSet );523 aidSortedRaw = self._getSortedIds(oSet, fByTotal = True); # Sorting by total since data is usually sparse. 524 524 525 525 sHtml = self._generateTableForSet(oSet, 'Test Case Variations', aidSortedRaw);
Note:
See TracChangeset
for help on using the changeset viewer.