Commit 9bbccb09 authored by Andy Wilkinson's avatar Andy Wilkinson

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
parent e28b98c5
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment