~macslow/notify-osd/gsettings-port

« back to all changes in this revision

Viewing changes to tests/test-bubble.c

  • Committer: Mirco Müller
  • Date: 2008-11-26 12:29:04 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20081126122904-gxmj7itk6bj1xz09
added glib-based unit-tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
**3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
 
3
**      10        20        30        40        50        60        70        80
 
4
**
 
5
** project:
 
6
**    alsdorf
 
7
**
 
8
** file:
 
9
**    test-bubble.c
 
10
**
 
11
** author(s):
 
12
**    Mirco "MacSlow" Mueller <mirco.mueller@canonical.com>
 
13
**    David Barth <david.barth@canonical.com>
 
14
**
 
15
** copyright (C) Canonical, oct. 2008
 
16
**
 
17
*******************************************************************************/
 
18
 
 
19
#include <glib.h>
 
20
#include <gtk/gtk.h>
 
21
 
 
22
#include "bubble.h"
 
23
 
 
24
void
 
25
test_bubble_new ()
 
26
{
 
27
        GtkWidget* bubble;
 
28
 
 
29
        bubble = bubble_new (20, 20, 200, 50);
 
30
 
 
31
        g_assert (bubble != NULL);
 
32
 
 
33
        g_object_unref (bubble);
 
34
}
 
35