1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Index: liferea/src/tests/update.c
===================================================================
--- liferea.orig/src/tests/update.c
+++ liferea/src/tests/update.c
@@ -93,15 +93,15 @@ check_updates (gpointer user_data)
{
g_print("check updates\n") ;
- g_test_add_data_func ("/update_job/github.com", &tc_url, &tc_update_job_check_result);
+ // g_test_add_data_func ("/update_job/github.com", &tc_url, &tc_update_job_check_result);
//g_test_add_data_func ("/update_job/dns-fail", &tc_dns_fail, &tc_update_job_check_result);
g_test_add_data_func ("/update_job/port-fail", &tc_port_fail, &tc_update_job_check_result);
g_test_add_data_func ("/update_job/proto-fail", &tc_proto_fail, &tc_update_job_check_result);
g_test_add_data_func ("/update_job/local-file", &tc_local_file, &tc_update_job_check_result);
- g_test_add_data_func ("/update_job/http-301", &tc_http_301, &tc_update_job_check_result);
- g_test_add_data_func ("/update_job/http-308", &tc_http_308, &tc_update_job_check_result);
- g_test_add_data_func ("/update_job/http-404", &tc_http_404, &tc_update_job_check_result);
- g_test_add_data_func ("/update_job/http-410", &tc_http_410, &tc_update_job_check_result);
+ // g_test_add_data_func ("/update_job/http-301", &tc_http_301, &tc_update_job_check_result);
+ // g_test_add_data_func ("/update_job/http-308", &tc_http_308, &tc_update_job_check_result);
+ // g_test_add_data_func ("/update_job/http-404", &tc_http_404, &tc_update_job_check_result);
+ // g_test_add_data_func ("/update_job/http-410", &tc_http_410, &tc_update_job_check_result);
result = g_test_run();
g_main_loop_quit (loop);
@@ -115,15 +115,15 @@ start_updates (gpointer user_data)
{
guint max, nr = 0;
- tc_update_job_new (&tc_url);
+ // tc_update_job_new (&tc_url);
//tc_update_job_new (&tc_dns_fail);
tc_update_job_new (&tc_port_fail);
tc_update_job_new (&tc_proto_fail);
tc_update_job_new (&tc_local_file);
- tc_update_job_new (&tc_http_301);
- tc_update_job_new (&tc_http_308);
- tc_update_job_new (&tc_http_404);
- tc_update_job_new (&tc_http_410);
+ // tc_update_job_new (&tc_http_301);
+ // tc_update_job_new (&tc_http_308);
+ // tc_update_job_new (&tc_http_404);
+ // tc_update_job_new (&tc_http_410);
update_job_queue_get_count (&nr, &max);
g_assert (0 != nr);
|