- Timestamp:
- Jan 9, 2017 3:59:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/report.py
r65074 r65213 94 94 self.aidSubjects = aidSubjects; 95 95 self.oFilter = oFilter; 96 if self.oFilter is None: 97 class DummyFilter(object): 98 """ Dummy """ 99 def getTableJoins(self, sExtraIndent = '', iOmit = -1, dOmitTables = None): 100 """ Dummy """ 101 _ = sExtraIndent; _ = iOmit; _ = dOmitTables; # pylint: disable=redefined-variable-type 102 return ''; 103 def getWhereConditions(self, sExtraIndent = '', iOmit = -1): 104 """ Dummy """ 105 _ = sExtraIndent; _ = iOmit; # pylint: disable=redefined-variable-type 106 return ''; 107 def isJoiningWithTable(self, sTable): 108 """ Dummy """; 109 _ = sTable; 110 return False; 111 self.oFilter = DummyFilter(); 96 112 97 113 def getExtraSubjectTables(self): … … 958 974 aidTestBoxes, aidBuildCats, aidTestCases, fSepTestVars): 959 975 assert(sSubject == self.ksSubEverything); # dummy 960 ReportModelBase.__init__(self, oDb, tsNow, cPeriods, cHoursPerPeriod, sSubject, aidSubjects );976 ReportModelBase.__init__(self, oDb, tsNow, cPeriods, cHoursPerPeriod, sSubject, aidSubjects, oFilter = None); 961 977 self.aidTestBoxes = aidTestBoxes; 962 978 self.aidBuildCats = aidBuildCats;
Note:
See TracChangeset
for help on using the changeset viewer.