32: def read_results(result, tests_by_name)
33: DeepTest.logger.debug("SupervisedTestSuite: going to read #{tests_by_name.size} results")
34:
35: missing_tests =
36: ResultReader.new(@blackboard).read(tests_by_name) do |test, remote_result|
37: remote_result.add_to result
38: yield ::Test::Unit::TestCase::FINISHED, test.name if block_given?
39: end
40:
41: missing_tests.each do |name, test_case|
42: result.add_error ::Test::Unit::Error.new(name, WorkUnitNeverReceivedError.new)
43: end
44: ensure
45: DeepTest.logger.debug("SupervisedTestSuite: exiting with #{missing_tests.size} results left")
46: end