Lines Matching refs:job
141 def _process_execute(self, job):
144 @see: Backend._process_execute(self, job)
148 LOG.info('Executing tests (%s)' % job.getId())
149 result = self._process_doTests(job)
158 def _process_doTests(self, job):
169 testSpecs = self._getTests(job)
173 LOG.warn('%s, %s' % (msg, job.getId()))
188 result = self._wellFormedCheck(job)
192 result = self._validationCheck(job)
196 result = self._xPathCheck(job)
222 def _wellFormedCheck(self, job):
227 @return: If job['wellFormed'] is checked and the submission is well-formed, nothing will be
229 If job['wellFormed'] is checked and the submission is not well-formed, a false BackendResult
231 If job['wellFormed'] is not checked, nothing will be returned.
234 wellFormedCheck = job['wellFormed']
238 submission = job['submission']
246 self.submissionModule = self._writeXML('submission', submission, self.srcFileSuffix, job.getId(), dtdName)
271 def _validationCheck(self, job):
275 @return: If job['dtd'] is not empty and the submission can successfully be validated against
277 If job['dtd'] is not empty and the submission cannot successfully be validated against the
279 If job['dtd'] is empty, nothing will be returned.
283 dtd = job['dtd']
284 submission = job['submission']
293 dtdModule = self._writeModule(dtdName, dtd, '.dtd', job.getId())
297 self.submissionModule = self._writeXML('submission', submission, self.srcFileSuffix, job.getId(), dtdName)
323 def _xPathCheck(self, job):
328 @return: If both job['modelSolution'] and job['xpath'] are not empty and all stated XPath
331 If both job['modelSolution'] and job['xpath'] are not empty and a XPath expression does not
333 If either job['modelSolution'] or job['xpath'] is empty, nothing will be returned.
336 modelSolution = job['modelSolution']
337 submission = job['submission']
338 xpath = job['xpath']
350 testData = repeatField.getAccessor()(job[repeatField.getName()])
354 self.log.warn('%s, %s' % (msg, job.getId()))
362 if job['verbose']:
368 xqlWrapperModule = self._writeModule('xqlWrapper', xqlWrapperTemplate % testSequence, self.xqlFileSuffix, job.getId())
369 modelSolution = self._writeXML('modelSolution', job['modelSolution'], self.srcFileSuffix, job.getId(), dtdName)
373 self.submissionModule = self._writeXML('submission', submission, self.srcFileSuffix, job.getId(), dtdName)
400 if(job['verbose']):