Lines Matching refs:test

34 # load Java function to do a simple test
40 # load Java function to do a test which allows permutation of list elems
78 Boolean eql = new Boolean(test(exp, rec));
105 'or as a parameter in a test call.',
114 description = 'Enter one or more test calls. A test call is ' +
119 'Each test call must be written in a single line.',
131 test = simpleTest,
142 # test = permTest,
182 student and model solution on a given set of test data.
215 def _preProcessCheckSyntax(self, test, src, **kwargs):
228 def _postProcessCheckSyntax(self, test, message):
239 'line: %d' % (int(match[1]) - test.lineNumberOffset),
247 def _preProcessCheckSemantic(self, test, src, **kwargs):
258 Runs sematic test on a Java program.
263 # test for available test specs
267 msg = 'No test specification selected.'
271 # test for defined repeat fields in the schema definition
277 # test for available test data
282 msg = 'No test data defined.'
303 # run selected test specifications
304 for test in testSpecs:
308 LOG.debug('Running semantic check with test: %s' % test.getName())
311 compiler = test.compiler
331 encoding=test.encoding)
352 interpreter = test.interpreter
355 src = test.semantic
364 # 4.3 set test function
365 src = re.sub('\$\{testFunction\}', test.test, src)
371 # 4.4. run with all test data
379 # substitute the class name in the test data with
386 # the test data that we actually use, but
394 # substitute the respective test data placeholder
395 # with the test data we just fixed up
409 encoding=test.encoding)
438 % (t, test.getName(), result)
456 % (tStudent, test.getName())