コード例 #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
コード例 #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]
コード例 #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
コード例 #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
コード例 #5
0
ファイル: lint.py プロジェクト: mithrandi/braid
 def getText(self, cmd, results):
     if results == WARNINGS:
         return ["api", "docs"]
     return ShellCommand.getText(self, cmd, results)
コード例 #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
コード例 #7
0
 def getText(self, cmd, results):
     text=ShellCommand.getText(self,cmd,results)
     for message in self.messages:
         text.append('%s' % message)
     return text
コード例 #8
0
 def getText(self, cmd, results):
     return ShellCommand.getText(self, cmd, results)
コード例 #9
0
 def getText(self, cmd, results):
     text = ShellCommand.getText(self, cmd, results)
     if hasattr(self, 'tahoeversion'):
         text.append(self.tahoeversion)
     return text
コード例 #10
0
 def getText(self, cmd, results):
     if results == WARNINGS:
         return ["api", "docs"]
     return ShellCommand.getText(self, cmd, results)
コード例 #11
0
 def getText(self, cmd, results):
     text = ShellCommand.getText(self, cmd, results)
     if hasattr(self, 'tahoeversion'):
         text.append(self.tahoeversion)
     return text