Class ActualResult
(experimental) Represents the "actual" results to compare.
Inheritance
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public abstract class ActualResult : DeputyBase
Syntax (vb)
Public MustInherit Class ActualResult
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
CustomResource myCustomResource;
Stack stack;
App app;
var integ = new IntegTest(app, "Integ", new IntegTestProps { TestCases = new [] { stack } });
integ.Assertions.Expect("CustomAssertion", ExpectedResult.ObjectLike(new Dictionary<string, object> { { "foo", "bar" } }), ActualResult.FromCustomResource(myCustomResource, "data"));
Synopsis
Constructors
ActualResult() | |
ActualResult(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ActualResult(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Result | (experimental) The actual results as a string. |
Methods
FromAwsApiCall(IAwsApiCall, String) | (experimental) Get the actual results from a AwsApiCall. |
FromCustomResource(CustomResource, String) | (experimental) Get the actual results from a CustomResource. |
Constructors
ActualResult()
protected ActualResult()
Remarks
Stability: Experimental
ActualResult(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ActualResult(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ActualResult(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ActualResult(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Result
(experimental) The actual results as a string.
public abstract string Result { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
FromAwsApiCall(IAwsApiCall, String)
(experimental) Get the actual results from a AwsApiCall.
public static ActualResult FromAwsApiCall(IAwsApiCall query, string attribute)
Parameters
- query IAwsApiCall
- attribute System.String
Returns
Remarks
Stability: Experimental
FromCustomResource(CustomResource, String)
(experimental) Get the actual results from a CustomResource.
public static ActualResult FromCustomResource(CustomResource customResource, string attribute)
Parameters
- customResource CustomResource
- attribute System.String
Returns
Remarks
Stability: Experimental