CMSAssertTextEquals Method (String, String, String, Boolean) |
Note: This API is now obsolete.
Asserts whether two queries equal
Namespace: CMS.TestsAssembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax [ObsoleteAttribute("Use TextEquals with TextNormalizationSettings")]
public static void TextEquals(
string current,
string expected,
string message,
bool normalizeWhiteSpaces
)
Parameters
- current
- Type: SystemString
Current query - expected
- Type: SystemString
Expected query - message
- Type: SystemString
Optional error message - normalizeWhiteSpaces
- Type: SystemBoolean
If true, the input texts are normalized to avoid mismatch on whitespaces
See Also