- generateProject(java.io.File, org.ysb33r.gradle.gradletest.FullTestDefinition, boolean, org.ysb33r.grolifant5.api.core.FileSystemOperations) - Method in GenerationUtils
-
Generates a project structure.
- generateTest(java.io.File, java.io.File, org.ysb33r.grolifant5.api.core.FileSystemOperations, org.ysb33r.gradle.gradletest.FullTestDefinition) - Method in GenerationUtils
-
Generates a Spock test source file.
- generateTraitsFile(java.io.File, java.io.File, org.ysb33r.grolifant5.api.core.FileSystemOperations, java.lang.String) - Method in GenerationUtils
-
Generates a traits file that is used by all tests.
- GenerationUtils - Class in org.ysb33r.gradle.gradletest.internal
Helps with generation of source and data files.
- GenerationUtils() - Constructor in GenerationUtils
-
- GENERATOR_TASK_POSTFIX - Field in Names
-
The string that is added to generator task names by default
- 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..
- getCodenarcTaskName(java.lang.String) - Method in TestSet
-
The name of the task from the Codenarc plugin that can can format a sourceset.
- 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.
- getGeneratorTaskName(java.lang.String) - Method in TestSet
-
The name of the test generator task.
- 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.
- getLicenseTaskName(java.lang.String) - Method in TestSet
-
The name of the task from the License plugin that can can format a sourceset.
- getManifestTaskName(java.lang.String) - Method in TestSet
-
The name of the test manifest generator task.
- getMinimumGradleForJavaVersion(java.lang.Integer) - Method in JdkSupport
-
Mapping on Java version to minimum supported Gradle Version.
- 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.
- getRelativeSourceDir(java.lang.String) - Method in TestSet
-
Gets the relative source dir where test code will be 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.
- getSpockMode() - Method in TestSet
-
Returns which version of Spock to use.
- 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.
- getTestPackagePath(java.lang.String) - Method in GenerationUtils
-
Converts a package name to a package path.
- 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.
- GRADLE_4_0 - Field in GradleVersions
-
- 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.
- GradleScriptLanguage - Enum in org.ysb33r.gradle.gradletest.internal
Describes Gradle language DSLs.
- 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
-
- GradleTestSetFactory - Class in org.ysb33r.gradle.gradletest.internal
- GradleTestSetFactory(org.gradle.api.Project, org.ysb33r.gradle.gradletest.GradleTestSetExtension) - Constructor in GradleTestSetFactory
-
- gradleVersion - Property in BasicTestDefinition
-
The Gradle version to use for the test.
- GradleVersions - Class in org.ysb33r.gradle.gradletest.internal
Fixed constants and methods for dealing with specific Gradle versions.
- GradleVersions() - Constructor in GradleVersions
-
- GROOVY - Field in GradleScriptLanguage
-
- scanGradleProjects(Provider<List<File>>) - Method in TestDefinitionsMatrix
-
- 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.
- settingsFilePattern - Property in GradleScriptLanguage
-
- setVersions(Collection<Object>) - Method in GradleTestSet
-
Replace all previously defined versions.
- SHARED - Field in TestKitLocations
-
Share one testkit between all tests.
- SPOCK_V2_VERSION - Field in TestSet
-
- SUPPORT_URL - Field in GradleTestBasePlugin
-
- targetDir - Property in FullTestDefinition
-
Directory where source is generated into
- TASK_GROUP - Field in Names
-
Default group for all tasks
- TestDefinitionsMatrix - Class in org.ysb33r.gradle.gradletest.internal
Calculates the matrix of tests.
- TestDefinitionsMatrix() - Constructor in TestDefinitionsMatrix
-
- testDir - Property in BasicTestDefinition
-
Directory where a specific GradleTest project is located i.e.
- testFiltersFromOutsideVersions(java.lang.String, org.ysb33r.grolifant5.api.core.ProviderTools) - Method in TestSet
-
Obtains a list of test filters that can be applied based upon outside versions.
- 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
-
- TESTKIT_PROJECT_LEVEL_SUBDIR - Field in GenerationUtils
-
Subdirectory below build/gradleTest
(or similar) where a shared testkit will be placed.
- 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.
- testKitLocationString(org.ysb33r.gradle.gradletest.TestKitLocations) - Method in GenerationUtils
-
Create a string suitable for sending to the Spock template.
- TestSet - Class in org.ysb33r.gradle.gradletest.internal
Internal utility functions to add a new GradleTest test set.
- TestSet.ManifestRegistrar - Class in org.ysb33r.gradle.gradletest.internal
A class that is used to register a manifest task if it does not exist.
- TestSet() - Constructor in TestSet
-
- testSets - Property in GradleTestSetExtension
-
- testVersionsFromOutside(java.lang.String, org.ysb33r.grolifant5.api.core.ProviderTools) - Method in TestSet
-
Obtains a list of versions that were supplied outside of configuration i.e. via Gradle property,
system property or environment variable.
- tripleQuoteAndJoin(Iterable<String>) - Method in GenerationUtils
-