A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

apply(org.gradle.api.Project) - Method in GradleTestBasePlugin
apply(org.gradle.api.Project) - Method in GradleTestPlugin
arguments - Property in FullTestDefinition
List of arguments to be passed to the Gradle process
augmentMessageChecksForVersionFromDefault(java.lang.String, Collection<String>) - Method in GradleTestSet
Initialises a set of messages for a version vy copying the current default set and then adding additional set.

B

BadBuildScriptName - Class in org.ysb33r.gradle.gradletest.errors
Thrown when build script naming does not follow convention.
BadBuildScriptName() - Constructor in BadBuildScriptName
BasicTestDefinition - Class in org.ysb33r.gradle.gradletest
Describes a basic test definition.
BasicTestDefinition() - Constructor in BasicTestDefinition

C

ClasspathManifest - Class in org.ysb33r.gradle.gradletest
Generates a manifest file that can be re-used by GradleTest tasks to set the correct classpath.
ClasspathManifest() - Constructor in ClasspathManifest
cleanCache - Property in FullTestDefinition
Whether the Gradle local cache should be cleaned before the test starts
configurationCache - Property in FullTestDefinition
Configuration cache setting.
configurationCacheMapping(Function<String, ConfigurationCacheMode>) - Method in GradleTestSet
Sets a mapper that determines which Gradle versions should active which kind of configuration cache checks.
configurationCacheMappingByAlias(Function<String, String>) - Method in GradleTestSet
Like configurationCacheMapping, but returns a case-insensitive string value which can then be converted by the test set.
ConfigurationCacheMode - Enum in org.ysb33r.gradle.gradletest
Configuration cache mode availability for testing.
copyNotSymlink(boolean) - Method in GradleTestSet
Whether toplevel test files should by copied or symlinked.

D

debug - Property in FullTestDefinition
Whether the test should enable debugging.
DEFAULT_DEPRECATION_WARNINGS - Field in GradleTestSet
defaultDeprecationMessageChecks(Collection<String>) - Method in GradleTestSet
Add deprecation message patterns to the default message sets.
defaultTask - Property in FullTestDefinition
The name of the task that needs to be executed
deprecationMessageChecksForVersion(java.lang.String, java.lang.String) - Method in GradleTestSet
Modifies the deprecation messages this for a specific Gradle version.
DeprecationMessagesMap - Class in org.ysb33r.gradle.gradletest
A simple class that helps to work around some limitations in Gradle property ecosystem
DeprecationMessagesMap() - Constructor in DeprecationMessagesMap
deprecationWarnings - Property in FullTestDefinition
List of deprecation warnings to fail on.

E

exec() - Method in ClasspathManifest
exec() - Method in TestGenerator
expectedFailures(java.util.regex.Pattern) - Method in GradleTestSet
Set which tests are expected to fail.

F

FAIL - Field in ConfigurationCacheMode
FullTestDefinition - Class in org.ysb33r.gradle.gradletest
Carries all of the data for a test definition in order to generate data files.
FullTestDefinition(org.ysb33r.gradle.gradletest.BasicTestDefinition) - Constructor in FullTestDefinition

G

getClasspath() - Method in ClasspathManifest
Access to the classpath that will be placed inside the manifest
getCleanCache() - Method in GradleTestSet
Whether the Gradle cache should be cleaned before each test tun..
getConfigurationCacheModeMapping() - Method in GradleTestSet
A provider that maps configuration cache setup.
getCopyOverSymlink() - Method in GradleTestSet
Whether copy should be preferred over symlinks.
getCustomTestManifestTaskName() - Method in GradleTestSet
Returns the name of the task that will generate the Gradle manifest for this test set.
getDebug() - Method in GradleTestSet
A provider to indicate debug mode.
getDefaultDeprecationMessageChecks() - Method in GradleTestSet
Returns the list of default deprecation messages.
getDefaultTaskToRun() - Method in GradleTestSet
Name of the task to run inside the Gradle test project.
getDeprecationMessagesAreFailures() - Method in GradleTestSet
Returns a map for every testable version which indicates whether deprecation messages should be checked for that version.
getExpectedFailures() - Method in GradleTestSet
Test groups which are expected to fail.
getGeneratedSourceDir() - Method in GradleTestSet
The top-level directory for sources will be generated into for this source set.
getGradleArguments() - Method in GradleTestSet
Additional arguments to pass to gradle when running the test.
getGradleDistributionURI() - Method in GradleTestSet
Get an alternative location where to get Gradle distributions from.
getOutputFile() - Method in ClasspathManifest
Returns manifest file location.
getPackage() - Method in GradleTestSet
The package to be used for tests in this set.
getProjectOutputDir() - Method in TestGenerator
The toplevel directory where the project is generated into.
getSourceDirectory() - Method in GradleTestSet
The root directory where to find tests for this specific GradleTest grouping The default root directory by convention is src/gradleTest.
getSourceOutputDir() - Method in TestGenerator
The directory where code is generated into.
getTestKitStrategy() - Method in GradleTestSet
A strategy for storing TestKit related data.
getTestPackage() - Method in GradleTestSetExtension
The package name prefix that are used for compatibility tests.
getTestRootDirectory() - Method in TestGenerator
The root directory where to find tests for this specific GradleTest grouping The default root directory by convention is src/gradleTest.
getTestSourceGeneratorTaskName() - Method in GradleTestSet
Returns the name of the task that will generate source for this test set.
getTestTaskName() - Method in GradleTestSet
Returns the name of the test task associated with this test set.
getVersions() - Method in GradleTestSet
Returns the set of Gradle versions to tests against.
gradleArguments(List<Object>) - Method in GradleTestSet
Additional Gradle arguments to pass.
gradleBuildFile - Property in BasicTestDefinition
The Gradle build file to use for the test.
gradleDistributionUri - Property in FullTestDefinition
URI to load distributions from.
GradleTestBasePlugin - Class in org.ysb33r.gradle.gradletest
A base plugin for GradleTest.
GradleTestBasePlugin() - Constructor in GradleTestBasePlugin
GradleTestPlugin - Class in org.ysb33r.gradle.gradletest
Checks the current Gradle version and decides which real plugin to apply.
GradleTestPlugin() - Constructor in GradleTestPlugin
GradleTestSet - Class in org.ysb33r.gradle.gradletest
Defines a GradleTest test set.
GradleTestSet(java.lang.String, org.ysb33r.gradle.gradletest.GradleTestSetExtension, org.gradle.api.Project) - Constructor in GradleTestSet
GradleTestSetExtension - Class in org.ysb33r.gradle.gradletest
Extension to configure GradleTest test sets.
GradleTestSetExtension(org.gradle.api.Project) - Constructor in GradleTestSetExtension
gradleVersion - Property in BasicTestDefinition
The Gradle version to use for the test.

H

handleJvmToolchainsPlugin(org.gradle.api.plugins.PluginManager) - Method in GradleTestBasePlugin

I

J

K

L

M

manifestFile - Property in FullTestDefinition
Whether a custom manifest file should be used.
MAX_VALUE - Field in ConfigurationCacheMode
MAX_VALUE - Field in TestKitLocations
MIN_VALUE - Field in ConfigurationCacheMode
MIN_VALUE - Field in TestKitLocations
mode - Property in ConfigurationCacheMode

N

name - Property in GradleTestSet
NAME - Field in GradleTestSetExtension
next() - Method in ConfigurationCacheMode
next() - Method in TestKitLocations
NONE - Field in ConfigurationCacheMode

O

P

PACKAGE_PREFIX - Field in GradleTestSetExtension
packageName - Property in FullTestDefinition
Name of the test package
PER_GROUP - Field in TestKitLocations
Keep the Testkit data, but share the directory between the complete testset.
PER_TEST - Field in TestKitLocations
Keep one TestKit directory per test.
previous() - Method in ConfigurationCacheMode
previous() - Method in TestKitLocations
projectDir - Property in FullTestDefinition
Directory where project will be executed from

Q

R

replaceDeprecationMessageChecksForVersion(java.lang.String, Collection<String>) - Method in GradleTestSet
Replaces the current set of messages for a specific version with a new set..

S

setCleanCache(boolean) - Method in GradleTestSet
Whether cache should be clean before each test run.
setCleanCache(Provider<Boolean>) - Method in TestGenerator
Sets whether the cache should be cleaned before each test run.
setConfigurationCacheMap(Provider<Map<String, ConfigurationCacheMode>>) - Method in TestGenerator
Sets the configuration cache mapping for Gradle versions.
setCopyOverSymlink(Provider<Boolean>) - Method in TestGenerator
Whether copies rather than symlinks should be performed when generating the project structure..
setDebug(boolean) - Method in GradleTestSet
Whether debug should be enabled for tests.
setDebug(Provider<Boolean>) - Method in TestGenerator
Whether debug should be available on tests.
setDebugWarnings(Provider<Boolean>) - Method in TestGenerator
Sets whether warnings about turning debug off on tests are printed.
setDefaultDeprecationMessageChecks(Collection<String>) - Method in GradleTestSet
Replace the set of default deprevation messages.
setDefaultTaskToRun(java.lang.String) - Method in GradleTestSet
Overrides the default task to run inside the Gradle test project.
setDeprecationMessagesAreFailures(Predicate<String>) - Method in GradleTestSet
Set whether deprecation message should fail the build.
setDeprecationMessagesAreFailuresForAllVersions(java.lang.Boolean) - Method in GradleTestSet
Turns deprecation checking on or off for all Gradle versions.
setDeprecationMessagesMap(Provider<DeprecationMessagesMap>) - Method in TestGenerator
Configures a map that will return the deprecation message patterns on a per Gradle-version basis.
setExpectedFailures(Provider<List<Pattern>>) - Method in TestGenerator
Sets which test groups are expected to fail.
setGeneratedSourceDir(java.lang.Object) - Method in GradleTestSet
Override the directory where sources are generated into.
setGradleArguments(Provider<List<String>>) - Method in TestGenerator
Sets additional arguments that must be passed to Gradle.
setGradleDistributionURI(java.lang.Object) - Method in GradleTestSet
Sets the location of where to fetch Gradle distributions from.
setGradleDistributionURI(Provider<URI>) - Method in TestGenerator
Set a location from where to get Gradle distributions from.
setManifestFile(Provider<File>) - Method in TestGenerator
Custom manifest.
setOutputDir(Provider<File>) - Method in ClasspathManifest
Sets the output directory.
setPackageName(Provider<String>) - Method in TestGenerator
Sets the package name.
setProjectOutputDir(Provider<File>) - Method in TestGenerator
Sets the toplevel directory where the project is generated into.
setSourceDirectory(java.lang.Object) - Method in GradleTestSet
Overrides the default location of test project sources.
setSourceOutputDir(Provider<File>) - Method in TestGenerator
Sets the toplevel directory where code is to be generated into.
setTaskToRun(Provider<String>) - Method in TestGenerator
Sets the task to run inside the project.
setTestKitStrategy(Provider<TestKitLocations>) - Method in TestGenerator
Sets the testkit sharing strategy.
setTestMapProvider(Provider<List<BasicTestDefinition>>) - Method in TestGenerator
Provides the map of test definitions.
setTestPackage(java.lang.Object) - Method in GradleTestSetExtension
Override the package name prefix for compatibility tests.
setTestRootDirectory(Provider<File>) - Method in TestGenerator
Sets the source directory for tests.
setVersions(Collection<Object>) - Method in GradleTestSet
Replace all previously defined versions.
SHARED - Field in TestKitLocations
Share one testkit between all tests.
SUPPORT_URL - Field in GradleTestBasePlugin

T

targetDir - Property in FullTestDefinition
Directory where source is generated into
testDir - Property in BasicTestDefinition
Directory where a specific GradleTest project is located i.e.
TestGenerator - Class in org.ysb33r.gradle.gradletest
Generates test files that will be compiled against GradleTestKit and project files for execution.
TestGenerator() - Constructor in TestGenerator
testKitDir - Property in FullTestDefinition
Directory where test kit data must be written to if it is shared between projects.
testKitDirectoryPerGroup() - Method in GradleTestSet
Keep the Testkit data, but share the directory between the complete testset.
testKitDirectoryPerTest() - Method in GradleTestSet
Keep one TestKit directory per test.
testKitDirectoryShared() - Method in GradleTestSet
Shares the testkit directory between all tests.
TestKitLocations - Enum in org.ysb33r.gradle.gradletest
Strategy for managing the TestKit directory location.
testSets - Property in GradleTestSetExtension

U

useCustomManifest() - Method in GradleTestSet
Indicate that a custom manifest file must be used.

V

valueOf(java.lang.String) - Method in ConfigurationCacheMode
valueOf(java.lang.String) - Method in TestKitLocations
values() - Method in ConfigurationCacheMode
values() - Method in TestKitLocations
versionMap - Property in DeprecationMessagesMap
versions(Iterable<Object>) - Method in GradleTestSet
Add Gradle versions to be tested against.

W

WARN - Field in ConfigurationCacheMode
willFail - Property in FullTestDefinition
This test is expected to fail.

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _