~ps-jenkins/bamf/latestsnapshot-0.4.0daily13.06.1913.04-0ubuntu1

« back to all changes in this revision

Viewing changes to tests/libbamf/test-libbamf.c

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño), Brandon Schaefer
  • Date: 2013-05-30 23:32:23 UTC
  • mfrom: (534.1.12 bamf-0.4)
  • Revision ID: tarmac-20130530233223-b89ypaq36p9d0aqg
libbamf: BamfApplication: cache MimeTypes and ApplicationType on favorite and sticky apps.

Approved by Brandon Schaefer, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include <stdio.h>
19
19
#include <glib.h>
20
20
 
 
21
#include <gtk/gtk.h>
21
22
#include <dbus/dbus-glib.h>
22
23
#include <sys/types.h>
23
24
#include <unistd.h>
24
25
 
25
26
 
26
27
void test_matcher_create_suite (void);
 
28
void test_application_create_suite (void);
27
29
 
28
30
gint
29
31
main (gint argc, gchar *argv[])
31
33
#if !GLIB_CHECK_VERSION(2, 35, 0)
32
34
  g_type_init ();
33
35
#endif
 
36
  gtk_init (&argc, &argv);
34
37
  g_test_init (&argc, &argv, NULL);
35
38
 
36
39
  dbus_g_thread_init ();
37
40
 
38
41
  test_matcher_create_suite ();
 
42
  test_application_create_suite ();
39
43
 
 
44
  g_setenv ("PATH", TESTDIR"/data/bin", TRUE);
40
45
  return g_test_run ();
41
46
}