Lines Matching refs:self
253 def addToDict(self, key):
254 txt = string.strip(self.curText)
262 def processNode(self, reader, curClass):
265 self.curText = '' # clear the working variable
268 self.addToDict(reader.Name())
271 self.curText += reader.Value()
282 def __init__(self):
283 self.testParams = {} # start with an empty set of params
284 self.curText = '' # and empty text
286 def addToDict(self, key):
287 data = string.strip(self.curText)
288 if key not in self.testParams:
289 self.testParams[key] = data
291 if self.testParams[key] != '':
293 self.testParams[key] += data
295 def processNode(self, reader, curClass):
298 self.curText = '' # clear the working variable
299 if reader.Name() not in self.testParams:
300 self.testParams[reader.Name()] = ''
303 self.addToDict(reader.Name())
306 self.curText += reader.Value()
309 runTest(self.testParams)
315 def processNode(self, reader, curClass):