TestOutcomeHelper.IsPass(TestOutcome) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the test passed.
public:
static bool IsPass(Microsoft::VisualStudio::TestTools::Common::TestOutcome outcome);
public static bool IsPass (Microsoft.VisualStudio.TestTools.Common.TestOutcome outcome);
static member IsPass : Microsoft.VisualStudio.TestTools.Common.TestOutcome -> bool
Public Shared Function IsPass (outcome As TestOutcome) As Boolean
Parameters
- outcome
- TestOutcome
A TestOutcome object.
Returns
true if the outcome indicates that the test passed; otherwise, false.