Click or drag to resize
CMSAssertTextEquals Method (String, String, String, Boolean)

Note: This API is now obsolete.

Asserts whether two queries equal

Namespace: CMS.Tests
Assembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax
C#
[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