Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_stdout_eq_str(ExpectedContents, FormatString, ...) internal |
#define | cr_expect_stdout_eq_str(ExpectedContents, FormatString, ...) internal |
#define | cr_assert_stdout_neq_str(UnexpectedContents, FormatString, ...) internal |
#define | cr_expect_stdout_neq_str(UnexpectedContents, FormatString, ...) internal |
#define | cr_assert_stderr_eq_str(ExpectedContents, FormatString, ...) internal |
#define | cr_expect_stderr_eq_str(ExpectedContents, FormatString, ...) internal |
#define | cr_assert_stderr_neq_str(UnexpectedContents, FormatString, ...) internal |
#define | cr_expect_stderr_neq_str(UnexpectedContents, FormatString, ...) internal |
#define | cr_assert_stdout_eq(RefFile, FormatString, ...) internal |
#define | cr_expect_stdout_eq(RefFile, FormatString, ...) internal |
#define | cr_assert_stdout_neq(RefFile, FormatString, ...) internal |
#define | cr_expect_stdout_neq(RefFile, FormatString, ...) internal |
#define | cr_assert_stderr_eq(RefFile, FormatString, ...) internal |
#define | cr_expect_stderr_eq(RefFile, FormatString, ...) internal |
#define | cr_assert_stderr_neq(RefFile, FormatString, ...) internal |
#define | cr_expect_stderr_neq(RefFile, FormatString, ...) internal |
#define cr_assert_stderr_eq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are equal to the contents of RefFile
Passes if the contents of stderr
are equal to the contents of RefFile
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 480 of file redirect.h.
#define cr_assert_stderr_eq_str | ( | ExpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are equal to the contents of the string ExpectedContents
Passes if the contents of stderr
are equal to the contents of the string ExpectedContents
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 346 of file redirect.h.
#define cr_assert_stderr_neq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are not equal to the contents of RefFile
Passes if the contents of stderr
are not equal to the contents of RefFile
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 513 of file redirect.h.
#define cr_assert_stderr_neq_str | ( | UnexpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are not equal to the contents of the string UnexpectedContents
Passes if the contents of stderr
are not equal to the contents of the string UnexpectedContents
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 381 of file redirect.h.
#define cr_assert_stdout_eq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are equal to the contents of RefFile
Passes if the contents of stdout
are equal to the contents of RefFile
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 414 of file redirect.h.
#define cr_assert_stdout_eq_str | ( | ExpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are equal to the contents of the string ExpectedContents
Passes if the contents of stdout
are equal to the contents of the string ExpectedContents
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 276 of file redirect.h.
#define cr_assert_stdout_neq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are not equal to the contents of RefFile
Passes if the contents of stdout
are not equal to the contents of RefFile
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 447 of file redirect.h.
#define cr_assert_stdout_neq_str | ( | UnexpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are not equal to the contents of the string UnexpectedContents
Passes if the contents of stdout
are not equal to the contents of the string UnexpectedContents
. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 311 of file redirect.h.
#define cr_expect_stderr_eq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are equal to the contents of RefFile
Passes if the contents of stderr
are equal to the contents of RefFile
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 495 of file redirect.h.
#define cr_expect_stderr_eq_str | ( | ExpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are equal to the contents of the string ExpectedContents
Passes if the contents of stderr
are equal to the contents of the string ExpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 363 of file redirect.h.
#define cr_expect_stderr_neq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are not equal to the contents of RefFile
Passes if the contents of stderr
are not equal to the contents of RefFile
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 530 of file redirect.h.
#define cr_expect_stderr_neq_str | ( | UnexpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stderr
are not equal to the contents of the string UnexpectedContents
Passes if the contents of stderr
are not equal to the contents of the string UnexpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 398 of file redirect.h.
#define cr_expect_stdout_eq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are equal to the contents of RefFile
Passes if the contents of stdout
are equal to the contents of RefFile
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 429 of file redirect.h.
#define cr_expect_stdout_eq_str | ( | ExpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are equal to the contents of the string ExpectedContents
Passes if the contents of stdout
are equal to the contents of the string ExpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 293 of file redirect.h.
#define cr_expect_stdout_neq | ( | RefFile, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are not equal to the contents of RefFile
Passes if the contents of stdout
are not equal to the contents of RefFile
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | RefFile | Pointer to a FILE object that specifies an input stream |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 464 of file redirect.h.
#define cr_expect_stdout_neq_str | ( | UnexpectedContents, | |
FormatString, | |||
... ) internal |
Passes if the contents of stdout
are not equal to the contents of the string UnexpectedContents
Passes if the contents of stdout
are not equal to the contents of the string UnexpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 328 of file redirect.h.