Lines Matching refs:group
247 group = self.rr.runners['someTestRunner'].get('someTestModule')
248 self.assertIsNotNone(group)
250 mock_update.assert_called_with(RESULT_PASSED_TEST, group)
256 mock_update.assert_called_with(RESULT_FAILED_TEST, group)
324 group = result_reporter.RunStat()
325 self.rr._update_stats(RESULT_PASSED_TEST, group)
330 self.assertEqual(group.passed, 1)
331 self.assertEqual(group.failed, 0)
332 self.assertEqual(group.ignored, 0)
333 self.assertEqual(group.run_errors, False)
343 self.assertEqual(group.ignored, 0)
349 group = result_reporter.RunStat()
350 self.rr._update_stats(RESULT_PASSED_TEST, group)
355 self.rr._update_stats(RESULT_FAILED_TEST, group)
360 self.assertEqual(group.passed, 1)
361 self.assertEqual(group.failed, 1)
362 self.assertEqual(group.ignored, 0)
363 self.assertEqual(group.total, 2)
365 self.assertEqual(group.run_errors, False)
367 self.rr._update_stats(RESULT_RUN_FAILURE, group)
372 self.assertEqual(group.passed, 1)
373 self.assertEqual(group.failed, 1)
374 self.assertEqual(group.ignored, 0)
375 self.assertEqual(group.run_errors, True)
378 self.rr._update_stats(RESULT_INVOCATION_FAILURE, group)
383 self.assertEqual(group.passed, 1)
384 self.assertEqual(group.failed, 1)
385 self.assertEqual(group.ignored, 0)
386 self.assertEqual(group.run_errors, True)
391 group = result_reporter.RunStat()
392 self.rr._update_stats(RESULT_PASSED_TEST, group)
397 self.rr._update_stats(RESULT_FAILED_TEST, group)
399 self.rr._update_stats(RESULT_RUN_FAILURE, group)
401 self.rr._update_stats(RESULT_INVOCATION_FAILURE, group)
403 self.rr._update_stats(RESULT_IGNORED_TEST, group)
408 self.assertEqual(group.passed, 1)
409 self.assertEqual(group.failed, 1)
410 self.assertEqual(group.ignored, 1)
411 self.assertEqual(group.run_errors, True)
413 self.rr._update_stats(RESULT_IGNORED_TEST, group)
418 self.assertEqual(group.passed, 1)
419 self.assertEqual(group.failed, 1)
420 self.assertEqual(group.ignored, 2)
421 self.assertEqual(group.run_errors, True)
424 self.rr._update_stats(RESULT_ASSUMPTION_FAILED_TEST, group)
425 self.assertEqual(group.assumption_failed, 1)
427 self.rr._update_stats(RESULT_ASSUMPTION_FAILED_TEST, group)
428 self.assertEqual(group.assumption_failed, 2)
456 group = result_reporter.RunStat()
459 self.rr._update_stats(RESULT_PERF01_TEST01, group)
474 self.rr._update_stats(RESULT_PERF01_TEST02, group)
487 self.rr._update_stats(RESULT_PERF02_TEST01, group)
500 self.rr._update_stats(RESULT_PERF01_TEST03_NO_CPU_TIME, group)
507 group = result_reporter.RunStat()
508 self.rr._update_stats(RESULT_PERF01_TEST01, group)
509 self.rr._update_stats(RESULT_PERF01_TEST02, group)
510 self.rr._update_stats(RESULT_PERF02_TEST01, group)