// Path: src/test/framework/FrameworkException.java
// public class FrameworkException extends RuntimeException {
// 	private static final long serialVersionUID = 2221405766881026986L;
// 	private static final String GIT_HUB_POINTER = "This is a serious issue. But we'd like to help solve this!\n"
// 			+ "Please report what happened on GitHub. Create a new issue at:\n"
// 			+ "https://github.com/jGleitz/JUnit-KIT/issues";
// 
// 	/**
// 	 * New Framework Exception.
// 	 *
// 	 * @param message
// 	 *            Detailed error description
// 	 */
// 	public FrameworkException(String message) {
// 		super(message);
// 	}
// 
// 	@Override
// 	public String getMessage() {
// 		String details = super.getMessage();
// 		return details + "\n\n" + GIT_HUB_POINTER;
// 	}
// }


import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import org.junit.runner.Description;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
import test.framework.FrameworkException;
					for (TestMethod testMethod : classMap.values()) {
						String indicator = "<span class=\"successIndicator "
								+ ((testMethod.success) ? "succeeded" : "failed") + "\" title=\""
								+ ((testMethod.success) ? "success" : "fail") + "\">" + CIRCLE_SVG + "</span>";
						write(new String[] {
								"<div class=\"testMethod closed\" id=\"" + id + "\">",
								"<h4 onclick=\"toggleMethod(" + id + ");\"><span class=\"opener\">" + TRIANGLE_SVG
										+ "</span>" + testMethod.name + indicator + "</h4>",
								"<div class=\"sessions\">"
						}, outputWriter);
						for (String[] session : testMethod.sessions) {
							write(session, outputWriter);
						}
						if (!testMethod.success) {
							write(testMethod.failureHTML, outputWriter);
						}
						write(new String[] {
								"</div>",
								"</div>"
						}, outputWriter);
						id++;
					}
					write(new String[] {
						"</div>"
					}, outputWriter);
				}
				write(inputFiles(), outputWriter);
				write(tail(), outputWriter);
				outputWriter.close();
			} catch (FileNotFoundException e) {
// Path: src/test/framework/FrameworkException.java
// public class FrameworkException extends RuntimeException {
// 	private static final long serialVersionUID = 2221405766881026986L;
// 	private static final String GIT_HUB_POINTER = "This is a serious issue. But we'd like to help solve this!\n"
// 			+ "Please report what happened on GitHub. Create a new issue at:\n"
// 			+ "https://github.com/jGleitz/JUnit-KIT/issues";
// 
// 	/**
// 	 * New Framework Exception.
// 	 *
// 	 * @param message
// 	 *            Detailed error description
// 	 */
// 	public FrameworkException(String message) {
// 		super(message);
// 	}
// 
// 	@Override
// 	public String getMessage() {
// 		String details = super.getMessage();
// 		return details + "\n\n" + GIT_HUB_POINTER;
// 	}
// }


// Path: src/test/OutputFileWriter.java
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import org.junit.runner.Description;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
import test.framework.FrameworkException;

					for (TestMethod testMethod : classMap.values()) {
						String indicator = "<span class=\"successIndicator "
								+ ((testMethod.success) ? "succeeded" : "failed") + "\" title=\""
								+ ((testMethod.success) ? "success" : "fail") + "\">" + CIRCLE_SVG + "</span>";
						write(new String[] {
								"<div class=\"testMethod closed\" id=\"" + id + "\">",
								"<h4 onclick=\"toggleMethod(" + id + ");\"><span class=\"opener\">" + TRIANGLE_SVG
										+ "</span>" + testMethod.name + indicator + "</h4>",
								"<div class=\"sessions\">"
						}, outputWriter);
						for (String[] session : testMethod.sessions) {
							write(session, outputWriter);
						}
						if (!testMethod.success) {
							write(testMethod.failureHTML, outputWriter);
						}
						write(new String[] {
								"</div>",
								"</div>"
						}, outputWriter);
						id++;
					}
					write(new String[] {
						"</div>"
					}, outputWriter);
				}
				write(inputFiles(), outputWriter);
				write(tail(), outputWriter);
				outputWriter.close();
			} catch (FileNotFoundException e) {
				throw new FrameworkException("We cannot generate an output file, as we're unable to write the file "