X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=tests%2Fcheck-hildon-banner.c;h=ed3ee428cd6bbec1daa033cbb3e430ca3a07e74d;hb=ece69692d489b5975cd0bf24d454c035f3f12ca1;hp=4bc40d7b57424abe7f6354c85256a8644b2f4f09;hpb=8559b614213c9536e3f788cd2b56c36f19dd866b;p=hildon diff --git a/tests/check-hildon-banner.c b/tests/check-hildon-banner.c index 4bc40d7..ed3ee42 100644 --- a/tests/check-hildon-banner.c +++ b/tests/check-hildon-banner.c @@ -21,6 +21,7 @@ * 02110-1301 USA * */ +#ifndef HILDON_DISABLE_DEPRECATED #include #include @@ -215,8 +216,6 @@ START_TEST (test_show_progress_invalid) } END_TEST - - /* ---------- Suite creation ---------- */ Suite *create_hildon_banner_suite() { @@ -225,7 +224,7 @@ Suite *create_hildon_banner_suite() /* Create test cases */ TCase *tc1 = tcase_create("show_animation"); - TCase *tc2 = tcase_create("show_animation"); + TCase *tc2 = tcase_create("show_progress"); /* Create unit tests for hildon_banner_show_animation and add it to the suite */ tcase_add_checked_fixture(tc1, fx_setup_default_banner, fx_teardown_default_banner); @@ -244,3 +243,5 @@ Suite *create_hildon_banner_suite() /* Return created suite */ return s; } + +#endif