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

« back to all changes in this revision

Viewing changes to tests/bamfdaemon/test-view.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:
73
73
  g_assert (BAMF_IS_VIEW (view));
74
74
 
75
75
  g_object_unref (G_OBJECT (view));
76
 
  g_assert (!BAMF_IS_VIEW (view));
77
76
}
78
77
 
79
78
static void
90
89
  g_assert (g_strcmp0 (bamf_view_get_name (view), "SomeName") == 0);
91
90
 
92
91
  g_object_unref (view);
93
 
  g_assert (!BAMF_IS_VIEW (view));
94
92
}
95
93
 
96
94
static void
108
106
  g_assert (!bamf_view_is_active (view));
109
107
 
110
108
  g_object_unref (view);
111
 
  g_assert (!BAMF_IS_VIEW (view));
112
109
}
113
110
 
114
111
static void
126
123
  g_assert (!bamf_view_is_running (view));
127
124
 
128
125
  g_object_unref (view);
129
 
  g_assert (!BAMF_IS_VIEW (view));
130
126
}
131
127
 
132
128
static void
143
139
  g_assert (g_strcmp0 (path, bamf_view_get_path (view)) == 0);
144
140
 
145
141
  g_object_unref (view);
146
 
  g_assert (!BAMF_IS_VIEW (view));
147
142
}
148
143
 
149
144
static void
335
330
  g_assert (!active_event_result);
336
331
 
337
332
  g_object_unref (view);
338
 
  g_assert (!BAMF_IS_VIEW (view));
339
333
}
340
334
 
341
335
guint active_event_calls;
413
407
  g_assert (!running_event_result);
414
408
 
415
409
  g_object_unref (view);
416
 
  g_assert (!BAMF_IS_VIEW (view));
417
410
}
418
411
 
419
412
static gboolean child_added_event_fired;