Lines Matching refs:test
35 # load Java function to do a simple test
76 'and test data as parameters of this funtion. '+
89 test = findFirstGroup0,
144 * Need better test environments (find all, compare sub groups, etc.)
194 def _preProcessCheckSyntax(self, test, src, **kwargs):
217 return (test.syntax % src[1:-1], CLASS_SYNTACTIC_CHECK)
220 def _postProcessCheckSyntax(self, test, message):
233 'line: %d' % (int(match[1]) - test.lineNumberOffset),
243 Runs sematic test on a Java program.
252 # test for available test specs
256 msg = 'No test specification selected.'
260 # test for defined repeat fields in the schema definition
266 # test for available test data
271 msg = 'No test data defined.'
306 # run selected test specifications
307 for test in self._getTests(job):
311 LOG.debug('Running semantic check with test: %s' % test.getName())
314 src = test.semantic
323 # 4.3 set test function
324 wrapper = re.sub(r'\$\{testFunction\}', test.test, src)
337 encoding=test.encoding)
341 test.compiler,
355 # 4.4. run with all test data
361 # download the test data
373 # write the test data to a file
406 test.interpreter,
426 % (t, test.getName(), result)
444 % (t, test.getName())