Package org.gradle.testkit.runner
Class UnexpectedBuildFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.gradle.testkit.runner.UnexpectedBuildResultException
-
- org.gradle.testkit.runner.UnexpectedBuildFailure
-
- All Implemented Interfaces:
java.io.Serializable
public class UnexpectedBuildFailure extends UnexpectedBuildResultException
Thrown when executing a build that was expected to succeed, but failed.- Since:
- 2.6
- See Also:
GradleRunner.build()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedBuildFailure(java.lang.String message, BuildResult buildResult)
-
Method Summary
-
Methods inherited from class org.gradle.testkit.runner.UnexpectedBuildResultException
getBuildResult
-
-
-
-
Constructor Detail
-
UnexpectedBuildFailure
public UnexpectedBuildFailure(java.lang.String message, BuildResult buildResult)
-
-