Used to compact the output of the difference between two strings.
More...
|
| | MQLUNIT_ComparisonCompactor (const int contextLength, const string expected, const string actual) |
| | Constructor : create a new string difference compactor. More...
|
| |
| string | compact (const string message) |
| | Creates a compacted string comparison failure description. More...
|
| |
Used to compact the output of the difference between two strings.
◆ MQLUNIT_ComparisonCompactor()
| MQLUNIT_ComparisonCompactor::MQLUNIT_ComparisonCompactor |
( |
const int |
contextLength, |
|
|
const string |
expected, |
|
|
const string |
actual |
|
) |
| |
|
inline |
Constructor : create a new string difference compactor.
- Parameters
-
| contextLength | : number of characters at which strings are going to be compacted |
| expected | : expected result to be compacted |
| actual | : actual result to be compacted |
◆ compact()
| string MQLUNIT_ComparisonCompactor::compact |
( |
const string |
message | ) |
|
Creates a compacted string comparison failure description.
- Parameters
-
| message | : a failure description |
The documentation for this class was generated from the following file: