Lines Matching refs:self
81 def start(self): argument
84 def printGroup(self,elem,theId): argument
96 def printTest(self,elem, theId, theError,errorDetail,theLine,passed,cycles,params): argument
116 def pop(self): argument
119 def end(self): argument
124 def __init__(self,append=False): argument
125 self.nb=1
126 self.suite=False
127 self.append = append
129 def start(self): argument
130 if not self.append:
133 def printGroup(self,elem,theId): argument
143 if not self.append:
144 print("<h%d> %s (%d) </h%d>" % (self.nb,message,theId,self.nb))
146 if not self.append:
147 print("<h%d> %s (%d) </h%d>" % (self.nb,message,theId,self.nb))
149 print("<h%d> %s (%d) </h%d>" % (3,message,theId,self.nb))
150 self.suite=True
159 self.nb = self.nb + 1
161 def printTest(self,elem, theId, theError,errorDetail,theLine,passed,cycles,params): argument
172 if passed != 1 or not self.append:
193 def pop(self): argument
194 if self.suite:
196 self.nb = self.nb - 1
197 self.suite=False
199 def end(self): argument
200 if not self.append:
206 def __init__(self): argument
207 self.name=[]
208 self._start=True
210 def start(self): argument
213 def printGroup(self,elem,theId): argument
217 if not self._start:
218 self.name.append(elem.data["class"])
220 self._start=False
228 def printTest(self,elem, theId, theError, errorDetail,theLine,passed,cycles,params): argument
233 category= "".join(list(joinit(self.name,":")))
236 def pop(self): argument
237 if self.name:
238 self.name.pop()
240 def end(self): argument
245 def __init__(self): argument
246 self._hasContent=[False]
247 self._toPop=[]
249 def start(self): argument
252 def printGroup(self,elem,theId): argument
253 if self._hasContent[len(self._hasContent)-1]:
257 self._hasContent[len(self._hasContent)-1] = True
258 self._hasContent.append(False)
271 self._toPop.append("}")
275 def printTest(self,elem, theId, theError,errorDetail,theLine,passed,cycles,params): argument
286 if self._hasContent[len(self._hasContent)-1]:
289 self._hasContent[len(self._hasContent)-1] = True
293 def pop(self): argument
294 print(self._toPop.pop(),end="")
296 self._hasContent.pop()
298 def end(self): argument