Example #1
0
 def __init__(self, arguments: EnhancedFunctionArguments,
              tested_function: TestedFunction):
     TestFragment.__init__(self)
     self.arguments = arguments
     self.tested_function = tested_function
     self.results = [None, None]
     self.consolidator = TestVerdictConsolidator()
Example #2
0
 def __init__(self, code, taboo):
     TestFragment.__init__(self)
     try:
         self.code = code
         self.taboo = taboo
         if not taboo:
             self.taboo = []
         elif isinstance(taboo, str):
             self.taboo = [
                 taboo,
             ]
         self.taboo = tuple(map(re.compile, self.taboo))
     except Exception as e:
         raise TestBenchException(
             "Taboo regular expressions {} are not understable".
             format(taboo), e)
Example #3
0
 def __init__(self, name: str, comparator, arguments):
     TestFragment.__init__(self)
     self.name = name
     self.comparator = comparator
     self.arguments = arguments
     self.results = [None, None]
Example #4
0
 def __init__(self, code, taboo):
     TestFragment.__init__(self)
     self.code = code
     self.taboo = taboo
Example #5
0
			def __init__(self, name: str, comparator, arguments):
				TestFragment.__init__(self)
				self.name = name
				self.comparator = comparator
				self.arguments = arguments
				self.results = [None, None]
Example #6
0
			def __init__(self, code, taboo):
				TestFragment.__init__(self)
				self.code = code
				self.taboo = taboo