Lines Matching refs:self
31 def __init__(self):
32 self.path = ""
33 self.numberOfTests = 0
34 self.timeOfExecution = 0
37 def __init__(self):
38 self.path = ""
39 self.timeOfExecution = 0
48 def __init__ (self):
49 self.list = []
50 self.element = TimeOfExecutionTests()
51 self.testTime = False
53 def startElement (self, name, attrs):
55 self.element.path = attrs.getValue("CasePath")
57 self.testTime = True
59 def characters(self, content) :
60 if self.testTime :
61 self.testTime = False
62 self.element.timeOfExecution = content
63 self.list.append(copy.deepcopy(self.element))
65 def bottleneck (self, resultCount) :
68 self.list.sort(key = sortKey, reverse = True)
70 for test in self.list :
77 def __init__ (self, testList) :
78 self.list = []
79 self.testList = testList
80 self.element = TimeOfExecutionGroups()
81 self.addIt = False
83 def startElement (self, name, attrs) :
84 self.element.numberOfTests = 0
86 self.element.path = attrs.getValue("Name")
87 if self.element.path == "dEQP-VK" :
88 self.addIt = True
89 self.element.numberOfTests = len(self.testList)
91 for test in self.testList :
92 if test.path[:test.path.rfind(".")] in self.element.path :
93 self.addIt = True
94 self.element.numberOfTests += 1
96 def characters(self, content) :
97 if self.addIt :
98 self.addIt = False
99 self.element.timeOfExecution = content
100 self.list.append(copy.deepcopy(self.element))
102 def bottleneck (self, resultCount) :
103 self.list.sort(key = sortKey, reverse = True)
105 print("Total time of execution:\t", self.list[0].timeOfExecution)
106 print("Number of executed tests:\t", self.list[0].numberOfTests)
110 for test in self.list :
117 self.list.sort(key = sortKeyTimePerTest, reverse = True)
121 for test in self.list :
130 def __init__ (self) :
133 def error (self, err) :
137 def fatalError (self, err) :
141 def warning (self, warn) :