Ejemplo n.º 1
0
    def getText(self, cmd, results):
        if results != SKIPPED:
            text = ShellCommand.getText(self, cmd, results)
	else:
	    text = [ "skipped" ]
	if self.ref:
	    text.append(self.ref)
        return text
Ejemplo n.º 2
0
 def getText(self, cmd, results):
     text = ShellCommand.getText(self, cmd, results)
     if self.deprecation_count is None:
         return text
     elif self.deprecation_count == 0:
         return text + ["clean"]
     else:
         return text + ["%d warnings" % self.deprecation_count]
Ejemplo n.º 3
0
    def getText(self, cmd, results):
        # if results != SKIPPED:
        #     text = ShellCommand.getText(self, cmd, results)
	# else:
	#     text = [ "skipped" ]
        text = ShellCommand.getText(self, cmd, results)
        ref = self.getProperty('reference', None)
        if ref:
            text.append(ref)
        return text
Ejemplo n.º 4
0
 def getText(self, cmd, results):
     # if results != SKIPPED:
     #     text = ShellCommand.getText(self, cmd, results)
     # else:
     #     text = [ "skipped" ]
     text = ShellCommand.getText(self, cmd, results)
     ref = self.getProperty('reference', None)
     if ref:
         text.append(ref)
     return text
Ejemplo n.º 5
0
 def getText(self, cmd, results):
     if results == WARNINGS:
         return ["api", "docs"]
     return ShellCommand.getText(self, cmd, results)
Ejemplo n.º 6
0
 def getText(self,cmd,results):
     text=ShellCommand.getText(self,cmd,results)
     for version in self.versions:
         text.append('tested player %s' % version)
     text.append(' ran %d tests' % self.numtests)
     return text
Ejemplo n.º 7
0
 def getText(self, cmd, results):
     text=ShellCommand.getText(self,cmd,results)
     for message in self.messages:
         text.append('%s' % message)
     return text
Ejemplo n.º 8
0
 def getText(self, cmd, results):
     return ShellCommand.getText(self, cmd, results)
Ejemplo n.º 9
0
 def getText(self, cmd, results):
     text = ShellCommand.getText(self, cmd, results)
     if hasattr(self, 'tahoeversion'):
         text.append(self.tahoeversion)
     return text
Ejemplo n.º 10
0
 def getText(self, cmd, results):
     if results == WARNINGS:
         return ["api", "docs"]
     return ShellCommand.getText(self, cmd, results)
Ejemplo n.º 11
0
 def getText(self, cmd, results):
     text = ShellCommand.getText(self, cmd, results)
     if hasattr(self, 'tahoeversion'):
         text.append(self.tahoeversion)
     return text