<commit_before>package com.github.jlgrock.javascriptframework.closuretesting.resultparsing.testingcomponents;

import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.github.jlgrock.javascriptframework.closuretesting.resultparsing.TestResultType;

/**
 * The container for parsed Google Test Case objects.
 */
public class TestCase {
	/**
	 * The prefix to the test case name for the test case error.
	 */
	private static final String TEST_CASE_PREFIX = "There was a problem with the '";
	/**
	 * The suffix to the test case name for the test case error.
	 */
	private static final String TEST_CASE_SUFFIX = "' Test Case.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_CASE_TIMEOUT = "\n\tTimed out before completion of test case." +
			"\n\tMake sure there is not an infinite loop and that you include \n\t'goog.require(\"goog.testing.jsunit\");' " +
			"at the top of your javascript file.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_CASE_BAD_OUTPUT = "\n\tCompleted execution of test case but was not able to find " +
			"standardized test results.\n\tMake sure there is not an infinite loop " +
			"and that you include \n\t'goog.require(\"goog.testing.jsunit\");' " +
			"at the top of your javascript file.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_SCRIPT_ERROR = "\n\tScript Error: ";
	
	/**
	 * The error message when there is no parseable test cases in the file.
	 */
	private static final String NO_TEST_CASES = "\n\tUnable to parse any test cases.  " +
			"Please add test cases or remove the test case file.";
	
	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_UNKNOWN_ERROR = "\n\tUnknown Error: ";

	/**
	 * Simple newline representation.
	 */
	private static final String NEWLINE = "\n";

	/**
	 * Simple tab representation.
	 */
	private static final String TAB = "\t";

	/**<commit_msg>Updating output message<commit_after>package com.github.jlgrock.javascriptframework.closuretesting.resultparsing.testingcomponents;

import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.github.jlgrock.javascriptframework.closuretesting.resultparsing.TestResultType;

/**
 * The container for parsed Google Test Case objects.
 */
public class TestCase {
	/**
	 * The prefix to the test case name for the test case error.
	 */
	private static final String TEST_CASE_PREFIX = "There was a problem with the '";
	/**
	 * The suffix to the test case name for the test case error.
	 */
	private static final String TEST_CASE_SUFFIX = "' Test Case.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_CASE_TIMEOUT = "\n\tTimed out before completion of test case." +
			"\n\tMake sure there is not an infinite loop and that you include \n\t'goog.require(\"goog.testing.jsunit\");' " +
			"at the top of your javascript file.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_CASE_BAD_OUTPUT = "\n\tCompleted execution of test case but was not able to find " +
			"standardized test results.\n\tMake sure there is not an infinite loop " +
			"and that you include \n\t'goog.require(\"goog.testing.jsunit\");' " +
			"at the top of your javascript file.";

	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_SCRIPT_ERROR = "\n\tScript Error: ";
	
	/**
	 * The error message when there is no parseable test cases in the file.
	 */
	private static final String NO_TEST_CASES = "\n\tUnable to scrape the results of any test cases.  " +
			"Please check the output to guarantee that test cases are being executed or remove the test case file.";
	
	/**
	 * An additional suffix to the test case name for the test cases where
	 * unable to parse.
	 */
	private static final String TEST_UNKNOWN_ERROR = "\n\tUnknown Error: ";

	/**
	 * Simple newline representation.
	 */
	private static final String NEWLINE = "\n";

	/**
	 * Simple tab representation.
	 */
	private static final String TAB = "\t";

	/**
{'fraction_non_alphanumeric': 0.09554973821989529, 'fraction_numerical': 0.0, 'mean_word_length': 3.4086538461538463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1897584', 'n_tokens_mistral': 1368, 'n_tokens_neox': 1262, 'n_words': 547}