Set HildonNote margins during construction
[hildon] / tests / check-hildon-banner.c
index cf1356e..4bc40d7 100644 (file)
@@ -1,11 +1,13 @@
 /*
- * Copyright (C) 2006 Nokia Corporation.
+ * This file is a part of hildon tests
  *
- * Contact: Luc Pionchon <luc.pionchon@nokia.com>
+ * Copyright (C) 2006, 2007 Nokia Corporation, all rights reserved.
+ *
+ * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
+ * as published by the Free Software Foundation; version 2.1 of
  * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
@@ -25,8 +27,8 @@
 #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 -------------------- */
 
@@ -63,7 +65,7 @@ fx_teardown_default_banner ()
  * 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)
 {
@@ -84,9 +86,9 @@ 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),
@@ -122,7 +124,7 @@ START_TEST (test_show_animation_invalid)
     
   /*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),