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

addVersion(java.lang.String, org.gradle.api.file.FileCollection) - Method in VersionBasedClasspathManifest
Add a version to be tested along with the classpath required
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

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

ccMode - Property in VersionExecutionProperties
The configuration cache mode for this version.
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 - Interface in org.ysb33r.gradle.gradletest
For configuring configuration cache in tests.
configurationCache - Property in FullTestDefinition
Configuration cache setting.
configurationCache(Closure<?>) - Method in MatchingVersionConfiguration
Configures the ConfigurationCache instance.
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.
CustomJdk - Interface in org.ysb33r.gradle.gradletest
Configuration block for custom JDK.
CustomManifestConfigurator - Interface in org.ysb33r.gradle.gradletest
Configuring options for resolving variants.
CustomManifestConfigured - Class in org.ysb33r.gradle.gradletest.errors
Thrown when custom manifest has already been configuredd.
CustomManifestConfigured() - Constructor in CustomManifestConfigured

D

debug - Property in FullTestDefinition
Whether the test should enable debugging.
DEFAULT - Field in ConfigurationCacheMode
Default for the Gradle version.
DEFAULT_DEPRECATION_WARNINGS - Field in GradleTestSet
Constant that is the same value that is returned by DeprecationMessages.getDefaultMessageChecks.
defaultTask - Property in FullTestDefinition
The name of the task that needs to be executed
DeprecationMessages - Interface in org.ysb33r.gradle.gradletest
Configuring how deprecation messages should be handled.
deprecationMessages(Closure<?>) - Method in MatchingVersionConfiguration
Configures the DeprecationMessages instance.
deprecationWarnings - Property in FullTestDefinition
Set of deprecation warnings to fail on.
DIAGNOSTICS - Field in IsolatedProjectMode
Show diagnostics about detected isolated projects issues.

E

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

F

FAIL - Field in ConfigurationCacheMode
FAIL - Field in IsolatedProjectMode
Fail on violations.
failOn(Collection<String>) - Method in DeprecationMessages
Add deprecation message patterns to the default message sets.
failOnTheseDeprecationMessages - Property in VersionExecutionProperties
The deprecation warnings for this version that needs to be checked.
forVersion(java.lang.String, Closure<?>) - Method in GradleTestSet
Adjust configuration from default for the given version.
forVersionsMatching(java.util.regex.Pattern, Closure<?>) - Method in GradleTestSet
Adjust configuration from default for any version matching the pattern.
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..
getCompileTaskName() - Method in GradleTestSet
Returns the name of the task that will compile the underlying Spock Framework tests.
getConfigurationCache() - Method in MatchingVersionConfiguration
Direct access to the ConfigurationCache instance.
getCopyOverSymlink() - Method in GradleTestSet
Whether copy should be preferred over symlinks.
getCustomTestManifestConfigurationName() - Method in GradleTestSet
Returns the name of the configuration that will be used to customise the Gradle manifest for this test set.
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.
getDefaultMessageChecks() - Method in DeprecationMessages
Returns the list of default deprecation messages.
getDefaultTaskToRun() - Method in GradleTestSet
Name of the task to run inside the Gradle test project.
getDeprecationMessages() - Method in MatchingVersionConfiguration
Direct access to the DeprecationMessages instance.
getExecutionMap() - Method in GradleTestSet
A map of all of the details for each version that will be placed under test.
getExpectedFailures() - Method in GradleTestSet
Test groups which are expected to fail.
getFailIfFound() - Method in DeprecationMessages
Whether deprecation checking should fail the build if any deprecation messages are found.
getFailureMessages() - Method in DeprecationMessages
Messages on which the test will fail if setFailIfFound(Boolean) is set to true.
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.
getIgnoreMessages() - Method in DeprecationMessages
Messages on which the test will be ignroed if setFailIfFound(Boolean) is set to true.
getInheritDefaultFailures() - Method in DeprecationMessages
Whether to inherit the default set of deprecation messages can be inherited.
getInheritDefaultIgnores() - Method in DeprecationMessages
Whether to inherit the default set of ignored deprecation messages can be inherited.
getIsolatedProjects() - Method in MatchingVersionConfiguration
Direct access to the IsolatedProjects instance.
getJdk() - Method in GradleTestSet
Direct access to the CustomJdk instance.
getMode() - Method in ConfigurationCache
Provide the requested configuration cache mode.
getMode() - Method in IsolatedProjects
Provide the requested isolated project mode.
getOutputFile() - Method in ClasspathManifest
Returns manifest file location.
getOutputFiles() - Method in VersionBasedClasspathManifest
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.
gradleCmdlineProperties - Property in IsolatedProjectMode
Do not test with isolated project support.
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

ignoredWarnings - Property in FullTestDefinition
List of deprecation warnings which will be ignored.
ignoreIf(Collection<String>) - Method in DeprecationMessages
Add deprecation message patterns to the default message sets.
ignoreTheseDeprecationMessages - Property in VersionExecutionProperties
The deprecation warnings for this version that will be ignored.
ipMode - Property in VersionExecutionProperties
The isolation project mode.
IsolatedProjectMode - Enum in org.ysb33r.gradle.gradletest
Sets thje isolated project for one or more tests.
IsolatedProjects - Interface in org.ysb33r.gradle.gradletest
Configures isolated project support for tests.
isolatedProjects(Closure<?>) - Method in MatchingVersionConfiguration
Configures the IsolatedProjects instance.

J

jdk(Closure<?>) - Method in GradleTestSet
Configures the custom JDK.

K

L

M

manifestFile - Property in FullTestDefinition
Whether a custom manifest file should be used.
matchGradleApiVersion() - Method in CustomManifestConfigurator
Sets a consumer attribute that will match the Gradle version under test or a later one.
MatchingVersionConfiguration - Interface in org.ysb33r.gradle.gradletest
An interface for everything that can be configured for one of Gradle versions under test.
matchJdkVersion() - Method in CustomManifestConfigurator
Sets a consumer attribute that will match against the configured JDK for the test.
MAX_VALUE - Field in ConfigurationCacheMode
MAX_VALUE - Field in IsolatedProjectMode
MAX_VALUE - Field in TestKitLocations
MIN_VALUE - Field in ConfigurationCacheMode
MIN_VALUE - Field in IsolatedProjectMode
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 IsolatedProjectMode
next() - Method in TestKitLocations
NONE - Field in ConfigurationCacheMode
NONE - Field in IsolatedProjectMode
Do not test with isolated project support.

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 IsolatedProjectMode
previous() - Method in TestKitLocations
projectDir - Property in FullTestDefinition
Directory where project will be executed from

Q

R

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.
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.
setDefaultTaskToRun(java.lang.String) - Method in GradleTestSet
Overrides the default task to run inside the Gradle test project.
setExecutionMap(Provider<Map<String, VersionExecutionProperties>>) - Method in TestGenerator
Set the execution map that provides information on a per Gradle version basis.
setExpectedFailures(Provider<List<Pattern>>) - Method in TestGenerator
Sets which test groups are expected to fail.
setFailIfFound(java.lang.Boolean) - Method in DeprecationMessages
Turns deprecation checking on or off.
setFailOn(Collection<String>) - Method in DeprecationMessages
Replace the set of default deprevation messages.
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.
setIgnoreIf(Collection<String>) - Method in DeprecationMessages
Replace the set of default deprevation messages.
setManifestFile(Provider<File>) - Method in TestGenerator
Custom manifest.
setManifestFiles(Provider<Map<String, RegularFile>>) - Method in TestGenerator
Sets manifest per version.
setMode(java.lang.String) - Method in ConfigurationCache
Sets the configuration cache mode to be used when supported.
setMode(java.lang.String) - Method in IsolatedProjects
Sets the isolated project mode to be used when supported.
setOutputDir(Provider<File>) - Method in ClasspathManifest
Sets the output directory.
setOutputDir(Provider<Directory>) - Method in VersionBasedClasspathManifest
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.
useCustomManifestPerVersion(Action<CustomManifestConfigurator>) - Method in GradleTestSet
Indicates that a custom manifest must be created per version.
useGradleApiVersion(Function<String,String>) - Method in CustomManifestConfigurator
Customise how the Gradle API version is selected
useJdk(Provider<JavaLauncher>) - Method in CustomJdk
Uses a custom JDK via the JDK toolchain.
useJdkVersion(java.lang.Integer) - Method in CustomManifestConfigurator
Sets a consumer attrivute that will match against the provider major JDK version or a later one.
usesCustomManifests() - Method in GradleTestSet
Checks whether a custom manifest or custom manifests have been configured.
useWithVariantReselection(Provider<JavaLauncher>, Action<AttributeContainer>) - Method in CustomJdk
Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied.

V

valueOf(java.lang.String) - Method in ConfigurationCacheMode
valueOf(java.lang.String) - Method in IsolatedProjectMode
valueOf(java.lang.String) - Method in TestKitLocations
values() - Method in ConfigurationCacheMode
values() - Method in IsolatedProjectMode
values() - Method in TestKitLocations
VersionBasedClasspathManifest - Class in org.ysb33r.gradle.gradletest
Generates a manifest file per Gradle version under test.
VersionBasedClasspathManifest() - Constructor in VersionBasedClasspathManifest
VersionExecutionProperties - Class in org.ysb33r.gradle.gradletest
An internal class to hold information about each Gradle that is in a test set.
VersionExecutionProperties() - Constructor in VersionExecutionProperties
versions(Provider<List<String>>) - Method in GradleTestSet
Add Gradle versions from a provider to the test list.

W

WARN - Field in ConfigurationCacheMode
WARN - Field in IsolatedProjectMode
Treat violations as warnings
WARNING_DEPRECATED_CONFIGURATIONS - Field in GradleTestSet
WARNING_DEPRECATED_METHOD_OR_PROPERTY - Field in GradleTestSet
WARNING_SEPARATE_OUTPUT_DIRS - Field in GradleTestSet
WARNING_WILL_FAIL_IN_FUTURE_GRADLE - Field in GradleTestSet
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 _