ContainsAssertionInternalContains Method |
Internals method to find if the searchPattern is found in the given context.
NotContainsAssertion use also this method but reverse the test result.
Namespace:
Hummingbird.TestFramework.Automation.Assertions
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax protected bool InternalContains(
TestStepBase RelatedTestStep,
string searchPattern
)
Protected Function InternalContains (
RelatedTestStep As TestStepBase,
searchPattern As String
) As Boolean
protected:
bool InternalContains(
TestStepBase^ RelatedTestStep,
String^ searchPattern
)
member InternalContains :
RelatedTestStep : TestStepBase *
searchPattern : string -> bool
Parameters
- RelatedTestStep
- Type: Hummingbird.TestFramework.AutomationTestStepBase
The related test step. - searchPattern
- Type: SystemString
The search pattern.
Return Value
Type:
BooleanBool value indicates if the searchPattern appears in the given object.
See Also