Example #1
0
    def getResults(self, test):
        (tcls, tname) = getTestInfo(test)
        key = tcls
        if tcls is None:
            key = tname
        res = None
        if not self.results.has_key(key):
            if tcls is not None:
                self.results[key] = MultiResults(test)
            else:
                self.results[key] = SimpleResults(test)

        return self.results[key]
Example #2
0
    def getResults(self, test):
        (tcls, tname) = getTestInfo(test)
        key = tcls
        if tcls is None:
            key = tname
        res = None
        if not self.results.has_key(key):
            if tcls is not None:
                self.results[key] = MultiResults(test)
            else:
                self.results[key] = SimpleResults(test)

        return self.results[key]
Example #3
0
 def getTestName(self, test):
     (cls, name) = getTestInfo(test)
     return name
Example #4
0
 def getTestName(self, test):
     (cls, name) = getTestInfo(test)
     return name