<commit_before>/*
 * Copyright 2015-2016 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.junit.gen5.gradle

class JUnit5Extension {
	String version
	boolean runJunit4
	String classNameFilter
	List includeTags = []
	List excludeTags = []
	File reportFile

	void excludeTag(tag) {
		excludeTags.add tag
	}

	void includeTag(tag) {
		includeTags.add tag
	}

	void matchClassName(regex) {
		classNameFilter = regex
	}

}<commit_msg>Document JUnit5Extension for Gradle plug-in<commit_after>/*
 * Copyright 2015-2016 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.junit.gen5.gradle

/**
 * Configuration options for the {@link org.junit.gen5.gradle.JUnit5Plugin}.
 *
 * @since 5.0
 */
class JUnit5Extension {

	/**
	 * The JUnit 5 version to use.
	 */
	String version

	/**
	 * The location of the test report file.
	 *
	 * <p>Defaults to {@code "build/test-results/junit5-report.txt"}.
	 */
	File reportFile

	/**
	 * Whether or not to execute JUnit 4 tests alongside JUnit 5 tests.
	 *
	 * <p>Defaults to {@code false}.
	 */
	boolean runJunit4

	/**
	 * A regular expression used to match against test class names.
	 *
	 * <p>If the supplied regular expression does not match against a
	 * particular class name, that class will be filtered out of the test
	 * plan (i.e., excluded).
	 */
	String classNameFilter

	/**
	 * A list of <em>tags</em> to include when building the test plan
	 * specification.
	 */
	List includeTags = []

	/**
	 * A list of <em>tags</em> to include when building the test plan
	 * specification.
	 */
	List excludeTags = []

	/**
	 * Add a <em>tag</em> to be included when building the test plan
	 * specification.
	 */
	void includeTag(tag) {
		includeTags.add tag
	}

	/**
	 * Add a <em>tag</em> to be excluded when building the test plan
	 * specification.
	 */
	void excludeTag(tag) {
		excludeTags.add tag
	}

	/**
	 * Set the regular expression to be used to match against test class names.
	 *
	 * <p>If the supplied regular expression does not match against a
	 * particular class name, that class will be filtered out of the test
	 * plan (i.e., excluded).
	 */
	void matchClassName(regex) {
		classNameFilter = regex
	}

}
{'fraction_non_alphanumeric': 0.0981203007518797, 'fraction_numerical': 0.014661654135338346, 'mean_word_length': 3.2440191387559807, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5938043', 'n_tokens_mistral': 853, 'n_tokens_neox': 763, 'n_words': 298}