Exemplo n.º 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=''
Exemplo n.º 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 = ''
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 5
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []
Exemplo n.º 6
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     self.flag = False
     self.line_info = ""
Exemplo n.º 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)
Exemplo n.º 8
0
 def before_run(self):
     TestParent.before_run(self)
     if(self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
Exemplo n.º 9
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 13
0
 def before_run(self):
     TestParent.before_run(self)
     if (self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
Exemplo n.º 14
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.flag = False
     self.line_info = ""
Exemplo n.º 15
0
 def __init__(self, config, options):
     TestParent.__init__(self, config, options)
Exemplo n.º 16
0
 def __init__(self,config,options):
     TestParent.__init__(self,config,options)
Exemplo n.º 17
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []