~leprechaun-team/+junk/unity-use-patches

« back to all changes in this revision

Viewing changes to tests/unit/test-places-place.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-09 19:13:29 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20100909191329-j3odkmn02roj91b1
Tags: 0.2.36-0ubuntu1
* New upstream release:
  - Fix width of home-button on panel, so groove aligns with right edge of
    launcher, fixes (LP: #630031)
  - migration script to transition first time new people to unity
    (LP: #622146)
  - Quicklist name disappearing (LP: #627666)
* debian/unity.install:
  - install libexec in unity package (for migration tool)
* debian/libunity0.symbols:
  - update symbol

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* test-places-place.c generated by valac 0.9.7, the Vala compiler
 
1
/* test-places-place.c generated by valac, the Vala compiler
2
2
 * generated from test-places-place.vala, do not modify */
3
3
 
4
4
/*
59
59
        UNITY_TESTS_UNIT_PLACES_PLACE_SUITE_DUMMY_PROPERTY
60
60
};
61
61
#define UNITY_TESTS_UNIT_PLACES_PLACE_SUITE_DOMAIN "/Unit/Places/Place"
62
 
UnityTestsUnitPlacesPlaceSuite* unity_tests_unit_places_place_suite_new (void);
63
 
UnityTestsUnitPlacesPlaceSuite* unity_tests_unit_places_place_suite_construct (GType object_type);
64
62
static void unity_tests_unit_places_place_suite_test_allocation (UnityTestsUnitPlacesPlaceSuite* self);
65
63
static void _unity_tests_unit_places_place_suite_test_allocation_gdata_test_func (gpointer self);
66
64
static void unity_tests_unit_places_place_suite_test_simple_placefile (UnityTestsUnitPlacesPlaceSuite* self);
71
69
static void _unity_tests_unit_places_place_suite_test_bad_simple_place_file_gdata_test_func (gpointer self);
72
70
static void unity_tests_unit_places_place_suite_test_bad_advanced_place_file (UnityTestsUnitPlacesPlaceSuite* self);
73
71
static void _unity_tests_unit_places_place_suite_test_bad_advanced_place_file_gdata_test_func (gpointer self);
 
72
UnityTestsUnitPlacesPlaceSuite* unity_tests_unit_places_place_suite_new (void);
 
73
UnityTestsUnitPlacesPlaceSuite* unity_tests_unit_places_place_suite_construct (GType object_type);
74
74
static int _vala_strcmp0 (const char * str1, const char * str2);
75
75
 
76
76
 
130
130
 
131
131
 
132
132
static void unity_tests_unit_places_place_suite_test_simple_placefile (UnityTestsUnitPlacesPlaceSuite* self) {
 
133
        GError * _inner_error_;
133
134
        GKeyFile* file;
134
135
        UnityPlacesPlace* place;
135
 
        GError * _inner_error_ = NULL;
136
136
        g_return_if_fail (self != NULL);
 
137
        _inner_error_ = NULL;
137
138
        file = g_key_file_new ();
138
139
        {
139
140
                g_key_file_load_from_file (file, TESTUNITDIR "/data/place0.place", G_KEY_FILE_NONE, &_inner_error_);
170
171
 
171
172
 
172
173
static void unity_tests_unit_places_place_suite_test_advanced_place_file (UnityTestsUnitPlacesPlaceSuite* self) {
 
174
        GError * _inner_error_;
173
175
        GKeyFile* file;
174
176
        UnityPlacesPlace* place;
175
177
        UnityPlacesPlaceEntryDbus* e;
 
178
        UnityPlacesPlaceEntryDbus* _tmp1_;
176
179
        UnityPlacesPlaceEntry* _tmp0_;
177
 
        UnityPlacesPlaceEntryDbus* _tmp1_;
 
180
        UnityPlacesPlaceEntryDbus* _tmp3_;
178
181
        UnityPlacesPlaceEntry* _tmp2_;
179
 
        UnityPlacesPlaceEntryDbus* _tmp3_;
 
182
        UnityPlacesPlaceEntryDbus* _tmp5_;
180
183
        UnityPlacesPlaceEntry* _tmp4_;
181
 
        UnityPlacesPlaceEntryDbus* _tmp5_;
182
 
        GError * _inner_error_ = NULL;
183
184
        g_return_if_fail (self != NULL);
 
185
        _inner_error_ = NULL;
184
186
        file = g_key_file_new ();
185
187
        {
186
188
                g_key_file_load_from_file (file, TESTUNITDIR "/data/place1.place", G_KEY_FILE_NONE, &_inner_error_);
244
246
 
245
247
 
246
248
static void unity_tests_unit_places_place_suite_test_bad_simple_place_file (UnityTestsUnitPlacesPlaceSuite* self) {
 
249
        GError * _inner_error_;
247
250
        GKeyFile* file;
248
 
        GError * _inner_error_ = NULL;
249
251
        g_return_if_fail (self != NULL);
 
252
        _inner_error_ = NULL;
250
253
        file = g_key_file_new ();
251
254
        {
252
255
                g_key_file_load_from_file (file, TESTUNITDIR "/data/place0.badplace", G_KEY_FILE_NONE, &_inner_error_);
286
289
 
287
290
 
288
291
static void unity_tests_unit_places_place_suite_test_bad_advanced_place_file (UnityTestsUnitPlacesPlaceSuite* self) {
 
292
        GError * _inner_error_;
289
293
        GKeyFile* file;
290
 
        GError * _inner_error_ = NULL;
291
294
        g_return_if_fail (self != NULL);
 
295
        _inner_error_ = NULL;
292
296
        file = g_key_file_new ();
293
297
        {
294
298
                g_key_file_load_from_file (file, TESTUNITDIR "/data/place1.badplace", G_KEY_FILE_NONE, &_inner_error_);