for (int i= 0; i < fFailures.size(); i++) { TestRunInfo testInfo= (TestRunInfo)fFailures.get(i); bw.write(testInfo.getTestName());
for (int i= 0; i < failures.length; i++) { TestCaseElement testCaseElement= failures[i]; bw.write(testCaseElement.getTestName());
	private String createFailureNamesFile() throws CoreException {		try {			File file= File.createTempFile("testFailures", ".txt"); //$NON-NLS-1$ //$NON-NLS-2$			file.deleteOnExit();			BufferedWriter bw= null;			try {				bw= new BufferedWriter(new FileWriter(file));				for (int i= 0; i < fFailures.size(); i++) {					TestRunInfo testInfo= (TestRunInfo)fFailures.get(i);					bw.write(testInfo.getTestName());					bw.newLine();				}			} finally {				if (bw != null) {					bw.close();				}			}			return file.getAbsolutePath();		} catch (IOException e) {			throw new CoreException(new Status(IStatus.ERROR, JUnitPlugin.PLUGIN_ID, IStatus.ERROR, "", e)); //$NON-NLS-1$		}	}