Package com.pulumi.test
Class TestResult
java.lang.Object
com.pulumi.test.TestResult
A test result information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerrors()intexitCode()Gets an output associated with the given name.<T> Output<T>Gets an output associated with the givennameand casts the value to the giventype.outputs()ThrowRunExceptionif we've encountered an exception or returnTestResultotherwise.
-
Constructor Details
-
TestResult
-
-
Method Details
-
exitCode
public int exitCode() -
resources
-
exceptions
-
errors
-
outputs
-
output
Gets an output associated with the given name.- Parameters:
name- the stack output name- Returns:
- an output associated with the given
name
-
output
Gets an output associated with the givennameand casts the value to the giventype.- Type Parameters:
T- the stack output type- Parameters:
name- the stack output nametype- the stack output Class to use for casting- Returns:
- an output associated with the given
name
-
throwOnError
ThrowRunExceptionif we've encountered an exception or returnTestResultotherwise.- Returns:
- this
TestResult
-