Rename Gradle plugin tests to work around Windows filename restrictions

The Gradle plugin integration tests find their Gradle build scripts
using a naming convention of ${ClassName}-${methodName}.gradle. This
convention led to two gradle scripts with filenames that were long
enough to causes problems on Windows.

This commit renames two test methods to reduce the length of their
names and, therefore, the names of their corresponding Gradle script
files.

Closes gh-10868
This commit is contained in:
Andy Wilkinson 2017-11-02 11:44:25 +00:00
parent e28b98c59d
commit 9bbccb093a
3 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ public class JavaPluginActionIntegrationTests {
}
@Test
public void additionalMetadataLocationsCompilerArgumentIsAddedWhenAnnotationProcessorIsOnTheClasspath()
public void additionalMetadataLocationsConfiguredWhenProcessorIsPresent()
throws IOException {
createMinimalMainSource();
File libs = new File(this.gradleBuild.getProjectDir(), "libs");
@ -134,7 +134,7 @@ public class JavaPluginActionIntegrationTests {
}
@Test
public void additionalMetadataLocationsCompilerArgumentIsNotAddedWhenAnnotationProcessorIsNotOnTheClasspath()
public void additionalMetadataLocationsNotConfiguredWhenProcessorIsAbsent()
throws IOException {
createMinimalMainSource();
BuildResult result = this.gradleBuild.build("compileJava");