Lines Matching defs:reporter
47 from testdriver import reporter;
91 reporter.error('waitForEvents() returned "%s" when called on a worker thread, expected exception.' % (rc2,));
98 reporter.testStart('waitForEvents');
107 reporter.errorXcpt();
110 reporter.error('waitForEvents returns non-integer type');
115 reporter.error('waitForEvents returns "%s", expected 0 or 1' % (rc,));
119 reporter.error('waitForEvents returns 0 (success) %u times. '
123 if reporter.testErrorCount() != 0:
128 reporter.log('If running a debug build, you will see an ignored assertion now. Please ignore it.')
136 return reporter.testDone()[1] == 0;
144 reporter.errorXcpt();
148 reporter.error('interruptWaitEvents returned "%s" when called from other thread, expected True' % (rc2,));
155 reporter.testStart('interruptWait');
162 reporter.errorXcpt();
165 reporter.error('interruptWaitEvents returned "%s" expected True' % (rc,));
168 if reporter.testErrorCount() == 0:
186 reporter.errorXcpt();
201 reporter.errorXcpt();
207 reporter.error('waitForEvents returns non-integer type after %u ms, expected 1' % (msElapsed,));
209 reporter.error('waitForEvents returned "%s" after %u ms, expected 1' % (rc, msElapsed));
211 reporter.error('waitForEvents after %u ms, expected just above 2-3 seconds' % (msElapsed,));
213 reporter.error('waitForEvents after %u ms, expected more than 100 ms.' % (msElapsed,));
217 if reporter.testErrorCount() != 0:
219 reporter.log('Iteration %u was successful...' % (i + 1,));
220 return reporter.testDone()[1] == 0;