233 |
233 |
}
|
234 |
234 |
END_TEST
|
235 |
235 |
|
236 |
|
struct {
|
237 |
|
char *name;
|
238 |
|
void *function;
|
239 |
|
} tests[] = {
|
240 |
|
{ "Googleapps error from coudot@ on 27-09-2010", test01_googleapps_27092010},
|
241 |
|
{ "Wrong assertionConsumer ordering on 08-10-2010", indexed_endpoints_20101008},
|
242 |
|
{ "Warning when parsing AttributeValue node containing unknown namespace nodes", remove_warning_when_parssing_unknown_SNIPPET_LIST_NODES_20111007 },
|
243 |
|
{ "Wrong endpoint index in artifacts", wrong_endpoint_index_in_artifacts },
|
244 |
|
{ "Malformed logout request", malformed_logout_request },
|
245 |
|
};
|
246 |
|
|
247 |
236 |
Suite*
|
248 |
237 |
non_regression_suite()
|
249 |
238 |
{
|
250 |
239 |
Suite *s = suite_create("Non regression tests");
|
251 |
|
unsigned int i = 0;
|
252 |
240 |
|
253 |
|
for (i = 0 ; i < G_N_ELEMENTS(tests); i++) {
|
254 |
|
TCase *c = tcase_create(tests[i].name);
|
255 |
|
void *f = tests[i].function;
|
256 |
|
tcase_add_test(c, f);
|
257 |
|
suite_add_tcase(s, c);
|
258 |
|
}
|
|
241 |
TCase *tc_googleapps_27092010 = tcase_create("Create server from empty string");
|
|
242 |
TCase *tc_indexed_endpoints_20101008 = tcase_create("Wrong assertionConsumer ordering on 08-10-2010");
|
|
243 |
TCase *tc_remove_warning_when_parssing_unknown_SNIPPET_LIST_NODES_20111007 = tcase_create("Warning when parsing AttributeValue node containing unknown namespace nodes");
|
|
244 |
TCase *tc_wrong_endpoint_index_in_artifacts = tcase_create("Wrong endpoint index in artifacts");
|
|
245 |
TCase *tc_malformed_logout_request = tcase_create("Malformed logout request");
|
|
246 |
|
|
247 |
tcase_add_test(tc_googleapps_27092010, test01_googleapps_27092010);
|
|
248 |
tcase_add_test(tc_googleapps_27092010, indexed_endpoints_20101008);
|
|
249 |
tcase_add_test(tc_googleapps_27092010, remove_warning_when_parssing_unknown_SNIPPET_LIST_NODES_20111007);
|
|
250 |
tcase_add_test(tc_googleapps_27092010, wrong_endpoint_index_in_artifacts);
|
|
251 |
tcase_add_test(tc_googleapps_27092010, malformed_logout_request);
|
|
252 |
|
|
253 |
suite_add_tcase(s, tc_googleapps_27092010);
|
|
254 |
suite_add_tcase(s, tc_indexed_endpoints_20101008);
|
|
255 |
suite_add_tcase(s, tc_remove_warning_when_parssing_unknown_SNIPPET_LIST_NODES_20111007);
|
|
256 |
suite_add_tcase(s, tc_wrong_endpoint_index_in_artifacts);
|
|
257 |
suite_add_tcase(s, tc_malformed_logout_request);
|
259 |
258 |
|
260 |
259 |
return s;
|
261 |
260 |
}
|
262 |
|
-
|