Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_file_contents_eq_str(File, ExpectedContents, FormatString, ...) internal |
#define | cr_expect_file_contents_eq_str(File, ExpectedContents, FormatString, ...) internal |
#define | cr_assert_file_contents_neq_str(File, UnexpectedContents, FormatString, ...) internal |
#define | cr_expect_file_contents_neq_str(File, UnexpectedContents, FormatString, ...) internal |
#define | cr_assert_file_contents_eq(File, RefFile, FormatString, ...) internal |
#define | cr_expect_file_contents_eq(File, RefFile, FormatString, ...) internal |
#define | cr_assert_file_contents_neq(File, RefFile, FormatString, ...) internal |
#define | cr_expect_file_contents_neq(File, RefFile, FormatString, ...) internal |
#define cr_assert_file_contents_eq | ( | File, | |
RefFile, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are equal to the contents of RefFile
Passes if the contents of File
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] | File | Pointer to a FILE object that specifies an input stream |
[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 198 of file redirect.h.
#define cr_assert_file_contents_eq_str | ( | File, | |
ExpectedContents, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are equal to the string ExpectedContents
Passes if the contents of File
are equal to 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] | File | Pointer to a FILE object that specifies an input stream |
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 127 of file redirect.h.
#define cr_assert_file_contents_neq | ( | File, | |
RefFile, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are not equal to the contents of RefFile
Passes if the contents of File
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] | File | Pointer to a FILE object that specifies an input stream |
[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 233 of file redirect.h.
#define cr_assert_file_contents_neq_str | ( | File, | |
UnexpectedContents, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are not equal to the string UnexpectedContents
Passes if the contents of File
are not equal to 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] | File | Pointer to a FILE object that specifies an input stream |
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 163 of file redirect.h.
#define cr_expect_file_contents_eq | ( | File, | |
RefFile, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are equal to the contents of RefFile
Passes if the contents of File
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] | File | Pointer to a FILE object that specifies an input stream |
[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 214 of file redirect.h.
#define cr_expect_file_contents_eq_str | ( | File, | |
ExpectedContents, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are equal to the string ExpectedContents
Passes if the contents of File
are equal to the string ExpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | File | Pointer to a FILE object that specifies an input stream |
[in] | ExpectedContents | C string with the ExpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 144 of file redirect.h.
#define cr_expect_file_contents_neq | ( | File, | |
RefFile, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are not equal to the contents of RefFile
Passes if the contents of File
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] | File | Pointer to a FILE object that specifies an input stream |
[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 251 of file redirect.h.
#define cr_expect_file_contents_neq_str | ( | File, | |
UnexpectedContents, | |||
FormatString, | |||
... ) internal |
Passes if the contents of File
are not equal to the string UnexpectedContents
Passes if the contents of File
are not equal to the string UnexpectedContents
. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | File | Pointer to a FILE object that specifies an input stream |
[in] | UnexpectedContents | C string with the UnexpectedContents |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
Definition at line 181 of file redirect.h.