예제 #1
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=''
예제 #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
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []
예제 #6
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     self.flag = False
     self.line_info = ""
예제 #7
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)
예제 #8
0
 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
 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
 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
 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 = []