~ubuntu-branches/ubuntu/precise/notify-osd/precise

« back to all changes in this revision

Viewing changes to tests/test-bubble.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-07-11 18:24:23 UTC
  • mfrom: (3.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20110711182423-j77ej6q249mz6izx
Tags: 0.9.31-0ubuntu1
* New upstream version:
  - use gtk3 (lp: #655232)
* debian/control: 
  - updated the build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
static
46
46
void
47
 
test_bubble_new (void)
48
 
{
49
 
        Bubble* bubble;
50
 
        Defaults* defaults;
51
 
 
52
 
        defaults = defaults_new ();
53
 
        bubble = bubble_new (defaults);
54
 
 
55
 
        g_assert (bubble != NULL);
56
 
 
57
 
        g_object_unref (bubble);
58
 
        g_object_unref (defaults);
59
 
}
60
 
 
61
 
static
62
 
void
63
 
test_bubble_del (void)
64
 
{
65
 
        Bubble* bubble;
66
 
        Defaults* defaults;
67
 
 
68
 
        defaults = defaults_new ();
69
 
        bubble = bubble_new (defaults);
70
 
 
71
 
        g_assert (bubble != NULL);
72
 
 
73
 
        g_object_unref (bubble);
74
 
        g_object_unref (defaults);
75
 
}
76
 
 
77
 
static
78
 
void
79
 
test_bubble_set_attributes (void)
 
47
test_bubble_new (gpointer fixture, gconstpointer user_data)
 
48
{
 
49
        Bubble* bubble;
 
50
        Defaults* defaults;
 
51
 
 
52
        defaults = defaults_new ();
 
53
        bubble = bubble_new (defaults);
 
54
 
 
55
        g_assert (bubble != NULL);
 
56
 
 
57
        g_object_unref (bubble);
 
58
        g_object_unref (defaults);
 
59
}
 
60
 
 
61
static
 
62
void
 
63
test_bubble_del (gpointer fixture, gconstpointer user_data)
 
64
{
 
65
        Bubble* bubble;
 
66
        Defaults* defaults;
 
67
 
 
68
        defaults = defaults_new ();
 
69
        bubble = bubble_new (defaults);
 
70
 
 
71
        g_assert (bubble != NULL);
 
72
 
 
73
        g_object_unref (bubble);
 
74
        g_object_unref (defaults);
 
75
}
 
76
 
 
77
static
 
78
void
 
79
test_bubble_set_attributes (gpointer fixture, gconstpointer user_data)
80
80
{
81
81
        Bubble*    bubble;
82
82
        GMainLoop* loop;
102
102
 
103
103
static
104
104
void
105
 
test_bubble_get_attributes (void)
 
105
test_bubble_get_attributes (gpointer fixture, gconstpointer user_data)
106
106
{
107
107
        Bubble*    bubble;
108
108
        Defaults*  defaults;