VirtualBox

Changeset 65213 in vbox for trunk/src


Ignore:
Timestamp:
Jan 9, 2017 3:59:00 PM (8 years ago)
Author:
vboxsync
Message:

testmanager/core/report.py: Fixed ReportGraphModel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/report.py

    r65074 r65213  
    9494        self.aidSubjects     = aidSubjects;
    9595        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();
    96112
    97113    def getExtraSubjectTables(self):
     
    958974                 aidTestBoxes, aidBuildCats, aidTestCases, fSepTestVars):
    959975        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);
    961977        self.aidTestBoxes = aidTestBoxes;
    962978        self.aidBuildCats = aidBuildCats;
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