Go to the documentation of this file.
17 strcat(
str,
"/cool/dir");
19 ck_assert_str_eq(str2,
"$OCVARROOT/cool/dir");
27 strcat(
str,
"/cool/dir");
29 ck_assert_str_eq(str2,
"$OCDATAROOT/cool/dir");
37 strcat(
str,
"/cool/dir");
39 ck_assert_str_eq(str2,
"$OCSSWROOT/cool/dir");
48 strcat(
str,
"/cool/dir1;");
50 strcat(
str,
"/cool/dir2;");
53 strcat(
str,
"/cool/dir3;");
55 strcat(
str,
"/cool/dir4;");
58 strcat(
str,
"/cool/dir5;");
60 strcat(
str,
"/cool/dir6");
63 ck_assert_str_eq(str2,
"$OCSSWROOT/cool/dir1;$OCSSWROOT/cool/dir2;$OCVARROOT/cool/dir3;$OCVARROOT/cool/dir4;$OCDATAROOT/cool/dir5;$OCDATAROOT/cool/dir6");
69 Suite *
s = suite_create(
"Stub");
71 TCase *tc_core = tcase_create(
"Core");
72 tcase_add_test(tc_core, ocvar);
73 tcase_add_test(tc_core, ocdata);
74 tcase_add_test(tc_core, ocssw);
75 tcase_add_test(tc_core, many);
76 suite_add_tcase(
s, tc_core);
81 int main(
int argc,
char **argv){
90 SRunner *sr = srunner_create(
s);
92 srunner_run_all(sr, CK_VERBOSE);
93 number_failed = srunner_ntests_failed(sr);
95 return (number_failed == 0) ?
EXIT_SUCCESS : EXIT_FAILURE;
int main(int argc, char **argv)
char * replace_ocroots(const char *inStr)
END_TEST Suite * stub_suite(void)
How many dimensions is the output array Default is Not sure if anything above will work correctly strcpy(l2prod->title, "no title yet")