Commit b4f123a 1 parent 8f6aca9 commit b4f123a Copy full SHA for b4f123a
File tree 1 file changed +2
-10
lines changed
src/test/groovy/nu/studer/gradle/rocker
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -37,26 +37,18 @@ abstract class BaseFuncTest extends Specification {
37
37
void setup () {
38
38
workspaceDir = new File (tempDir. root, testName. methodName)
39
39
gradleVersion = determineGradleVersion()
40
- settingsFile << """
41
- rootProject.name = 'test-project'
42
- """
43
40
}
44
41
45
42
protected BuildResult runWithArguments (String ... args ) {
46
- assertNoDeprecatedBuildResult( GradleRunner . create()
43
+ GradleRunner . create()
47
44
.withPluginClasspath()
48
45
.withTestKitDir(testKitDir)
49
46
.withProjectDir(workspaceDir)
50
47
.withArguments(args)
51
48
.withGradleVersion(gradleVersion. version)
52
49
.withDebug(isDebuggerAttached())
53
50
.forwardOutput()
54
- .build())
55
- }
56
-
57
- BuildResult assertNoDeprecatedBuildResult (BuildResult buildResult ) {
58
- assert ! buildResult. output. contains(" Deprecated Gradle features were used in this build" )
59
- buildResult
51
+ .build()
60
52
}
61
53
62
54
protected File getBuildFile () {
You can’t perform that action at this time.
0 commit comments