function processTestResults(testResults) {
  let failureReports = [];
  const testNames = [];

  for (let i = 0; i < testResults.length; i++) {
    for (const testName in testResults[i]) {
      testNames.push(testName);
      failureReports = failureReports.concat(testResults[i][testName]);
    }
  }

  return {failureReports: failureReports, testNames: testNames};
}
Processes the test results returned from MultiTestRunner and creates a
consolidated test result object.
@param {!Array<!Object<string,!Array<TestCase.IResult>>>}
    testResults The list of individual test results from MultiTestRunner.
@return {!TestResults} Consolidated test results for all individual tests.