Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_wcs_empty(Value, FormatString, ...) internal |
#define | cr_expect_wcs_empty(Value, FormatString, ...) internal |
#define | cr_assert_wcs_not_empty(Value, FormatString, ...) internal |
#define | cr_expect_wcs_not_empty(Value, FormatString, ...) internal |
#define | cr_assert_wcs_eq(Actual, Expected, FormatString, ...) internal |
#define | cr_expect_wcs_eq(Actual, Expected, FormatString, ...) internal |
#define | cr_assert_wcs_neq(Actual, Unexpected, FormatString, ...) internal |
#define | cr_expect_wcs_neq(Actual, Unexpected, FormatString, ...) internal |
#define | cr_assert_wcs_lt(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_wcs_lt(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_wcs_leq(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_wcs_leq(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_wcs_gt(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_wcs_gt(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_wcs_geq(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_wcs_geq(Actual, Reference, FormatString, ...) internal |
std::wstring
in C++, with some exceptions – for std::wstring
, you should use regular comparison assertions. #define cr_assert_wcs_empty | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is an empty wide string
Passes if Value is an empty wide string. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Value | Wide string to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_eq | ( | Actual, | |
Expected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically equal to Expected
Passes if Actual is lexicographically equal to Expected. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Expected | Expected wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_geq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically greater or equal to Reference
Passes if Actual is lexicographically greater or equal to Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_gt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically greater than Reference
Passes if Actual is lexicographically greater than Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_leq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically less or equal to Reference
Passes if Actual is lexicographically less or equal to Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_lt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically less than Reference
Passes if Actual is lexicographically less than Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_neq | ( | Actual, | |
Unexpected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not lexicographically equal to Unexpected
Passes if Actual is not lexicographically equal to Unexpected. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Unexpected | Unexpected wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_wcs_not_empty | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is not an empty wide string
Passes if Value is not an empty wide string. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional (non-wide) string is printed on failure.
[in] | Value | Wide string to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_empty | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is an empty wide string
Passes if Value is an empty wide string. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Value | Wide string to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_eq | ( | Actual, | |
Expected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically equal to Expected
Passes if Actual is lexicographically equal to Expected. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Expected | Expected wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_geq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically greater or equal to Reference
Passes if Actual is lexicographically greater or equal to Reference. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_gt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically greater than Reference
Passes if Actual is lexicographically greater than Reference. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_leq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically less or equal to Reference
Passes if Actual is lexicographically less or equal to Reference. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_lt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is lexicographically less than Reference
Passes if Actual is lexicographically less than Reference. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Reference | Reference wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_neq | ( | Actual, | |
Unexpected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not lexicographically equal to Unexpected
Passes if Actual is not lexicographically equal to Unexpected. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Actual | Wide string to test |
[in] | Unexpected | Unexpected wide string |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_wcs_not_empty | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is not an empty wide string
Passes if Value is not an empty wide string. Otherwise the test is marked as failure but the execution will continue.
The optional (non-wide) string is printed on failure.
[in] | Value | Wide string to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |