- Timestamp:
- Sep 9, 2015 7:20:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testresults.py
r56810 r57678 519 519 ksResultsGroupingTypeTestCase = 'ResultsGroupingTypeTestCase'; 520 520 ksResultsGroupingTypeSchedGroup = 'ResultsGroupingTypeSchedGroup'; 521 522 #kdResultGroupingMapOld = {523 # ksResultsGroupingTypeNone: ('TestSets', None, None),524 # ksResultsGroupingTypeTestGroup: ('TestSets', 'TestSets.idTestGroup', None),525 # ksResultsGroupingTypeTestBox: ('TestSets', 'TestSets.idTestBox', None),526 # ksResultsGroupingTypeTestCase: ('TestSets', 'TestSets.idTestCase', None),527 # ksResultsGroupingTypeBuildRev: ('TestSets, Builds', 'Builds.iRevision',528 # ' AND Builds.idBuild = TestSets.idBuild'529 # ' AND Builds.tsExpire > TestSets.tsCreated'530 # ' AND Builds.tsEffective <= TestSets.tsCreated' ),531 # ksResultsGroupingTypeSchedGroup: ('TestSets, TestBoxes', 'TestBoxes.idSchedGroup',532 # ' AND TestSets.idGenTestBox = TestBoxes.idGenTestBox'),533 #};534 521 535 522 ## @name Result sorting options. … … 1492 1479 # Validate string attributes. 1493 1480 for sAttr in [ 'name', 'unit', 'text' ]: 1494 if sAttr in dAttribs and len(dAttribs[sAttr]) == 0:1481 if sAttr in dAttribs and (len(dAttribs[sAttr]) == 0 or sAttr == 'unit'): 1495 1482 return 'Element %s has an empty %s attribute value.' % (sName, sAttr,); 1496 1483
Note:
See TracChangeset
for help on using the changeset viewer.