コード例 #1
0
ファイル: shelltest.py プロジェクト: CopyOfalibaba/toast
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.executed = False
     self.total_line=''
     self.executed_line=''
コード例 #2
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.total = False
     self.executed = False
     self.total_line = ''
     self.executed_line = ''
コード例 #3
0
 def running(self):
     result = TestParent.running(self)
     if result.find("[ERROR] BUILD ERROR") != -1 or result.find(
             "BUILD FAILURE") != -1:
         print "BUILD ERROR/FAILURE"
         return 100
     self.get_case_list(result)
コード例 #4
0
 def before_run(self):
     if (platform.architecture()[0] == '64bit'):
         self.JavaHome = self.JavaHome + '.x86_64'
     os.environ["JAVA_HOME"] = self.JavaHome
     os.environ["PATH"] = self.MvnPath + os.environ["PATH"]
     TestParent.before_run(self)
コード例 #5
0
ファイル: pythontest.py プロジェクト: CopyOfalibaba/toast
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []
コード例 #6
0
ファイル: luatest.py プロジェクト: CopyOfalibaba/toast
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     self.flag = False
     self.line_info = ""
コード例 #7
0
ファイル: ctest.py プロジェクト: CopyOfalibaba/toast
    def __init__(self,options,config):
        TestParent.__init__(self,options,config)
        self.lcov_info = ''
	#keep defalt code coverage calculation, do NOT care the codes test doesn't hit
	#1 = keep; 
	self.keep = options.get('keep', 0)
コード例 #8
0
ファイル: ctest.py プロジェクト: CopyOfalibaba/toast
 def before_run(self):
     TestParent.before_run(self)
     if(self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
コード例 #9
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
コード例 #10
0
ファイル: jtest.py プロジェクト: CopyOfalibaba/toast
 def running(self):
     result = TestParent.running(self)
     if result.find("[ERROR] BUILD ERROR")!=-1 or result.find("BUILD FAILURE")!=-1:
         print "BUILD ERROR/FAILURE"
         return 100
     self.get_case_list(result)
コード例 #11
0
ファイル: jtest.py プロジェクト: CopyOfalibaba/toast
 def before_run(self):
     if (platform.architecture()[0] == '64bit'):
         self.JavaHome = self.JavaHome + '.x86_64'
     os.environ["JAVA_HOME"] = self.JavaHome
     os.environ["PATH"] = self.MvnPath + os.environ["PATH"]
     TestParent.before_run(self)
コード例 #12
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     self.lcov_info = ''
     #keep defalt code coverage calculation, do NOT care the codes test doesn't hit
     #1 = keep;
     self.keep = options.get('keep', 0)
コード例 #13
0
 def before_run(self):
     TestParent.before_run(self)
     if (self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
コード例 #14
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.flag = False
     self.line_info = ""
コード例 #15
0
 def __init__(self, config, options):
     TestParent.__init__(self, config, options)
コード例 #16
0
ファイル: jtest.py プロジェクト: CopyOfalibaba/toast
 def __init__(self,config,options):
     TestParent.__init__(self,config,options)
コード例 #17
0
ファイル: pythontest.py プロジェクト: ycaihua/toast
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []