mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
remove test for removed API
This commit is contained in:
parent
8fb2fc6fc3
commit
4cea5a853b
@ -869,27 +869,6 @@ START_TEST(urldb_auth_details_test)
|
|||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
||||||
START_TEST(urldb_thumbnail_test)
|
|
||||||
{
|
|
||||||
nsurl *url;
|
|
||||||
struct bitmap *bmap;
|
|
||||||
struct bitmap *res;
|
|
||||||
bool set;
|
|
||||||
|
|
||||||
url = make_url(wikipedia_url);
|
|
||||||
bmap = (struct bitmap*)url;
|
|
||||||
|
|
||||||
set = urldb_set_thumbnail(url, bmap);
|
|
||||||
ck_assert(set == true);
|
|
||||||
|
|
||||||
res = urldb_get_thumbnail(url);
|
|
||||||
ck_assert(res != NULL);
|
|
||||||
ck_assert(res == bmap);
|
|
||||||
|
|
||||||
nsurl_unref(url);
|
|
||||||
}
|
|
||||||
END_TEST
|
|
||||||
|
|
||||||
START_TEST(urldb_cert_permissions_test)
|
START_TEST(urldb_cert_permissions_test)
|
||||||
{
|
{
|
||||||
nsurl *url;
|
nsurl *url;
|
||||||
@ -985,7 +964,6 @@ static TCase *urldb_case_create(void)
|
|||||||
tcase_add_test(tc, urldb_iterate_partial_numeric_v4_test);
|
tcase_add_test(tc, urldb_iterate_partial_numeric_v4_test);
|
||||||
tcase_add_test(tc, urldb_iterate_partial_numeric_v6_test);
|
tcase_add_test(tc, urldb_iterate_partial_numeric_v6_test);
|
||||||
tcase_add_test(tc, urldb_auth_details_test);
|
tcase_add_test(tc, urldb_auth_details_test);
|
||||||
tcase_add_test(tc, urldb_thumbnail_test);
|
|
||||||
tcase_add_test(tc, urldb_cert_permissions_test);
|
tcase_add_test(tc, urldb_cert_permissions_test);
|
||||||
tcase_add_test(tc, urldb_update_visit_test);
|
tcase_add_test(tc, urldb_update_visit_test);
|
||||||
tcase_add_test(tc, urldb_reset_visit_test);
|
tcase_add_test(tc, urldb_reset_visit_test);
|
||||||
|
Loading…
Reference in New Issue
Block a user