* 02110-1301 USA
*
*/
+#ifndef HILDON_DISABLE_DEPRECATED
#include <stdlib.h>
#include <check.h>
#include <gtk/gtkmain.h>
#include "test_suites.h"
#include "check_utils.h"
-#include "hildon-banner.h"
-#include "hildon-window.h"
+#include <hildon/hildon-banner.h>
+#include <hildon/hildon-window.h>
/* -------------------- Fixtures -------------------- */
* Purpose: Check creation of new animation banner with regular values
* Cases considered:
* - Create an animation banner with NULL animation name and TEST_STRING text.
- * - Create an animation banner with qgn_list_mahjong animation name and "" text.
+ * - Create an animation banner with dummy animation name and "" text.
*/
START_TEST (test_show_animation_regular)
{
gtk_widget_destroy(GTK_WIDGET(hildon_banner));
- /*Test 2: Create an animation banner with animation name set to "qgn_list_mahjong" and text set to "". */
+ /*Test 2: Create an animation banner with animation name set to "dummy" and text set to "". */
text="";
- animation_name = "qgn_list_mahjong";
+ animation_name = "dummy";
hildon_banner = HILDON_BANNER(hildon_banner_show_animation(b_window,animation_name,text));
fail_if(!HILDON_IS_BANNER(hildon_banner),
/*Test 2: Create an animation banner with NULL window. */
text="";
- animation_name = "qgn_list_mahjong";
+ animation_name = "dummy";
hildon_banner = HILDON_BANNER(hildon_banner_show_animation(NULL,animation_name,text));
fail_if(!HILDON_IS_BANNER(hildon_banner),
}
END_TEST
-
-
/* ---------- Suite creation ---------- */
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);
/* Return created suite */
return s;
}
+
+#endif