~ubuntu-branches/ubuntu/natty/unity/natty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-08-02 15:55:16 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100802155516-twss5oqrwxwtyl0x
Tags: upstream-0.2.22
ImportĀ upstreamĀ versionĀ 0.2.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <stdlib.h>
26
26
#include <string.h>
27
27
#include <unity-private.h>
 
28
#include <config.h>
28
29
#include <gee.h>
29
30
 
30
31
 
86
87
static void unity_tests_unit_places_place_file_model_suite_test_allocation (UnityTestsUnitPlacesPlaceFileModelSuite* self) {
87
88
        UnityPlacesPlaceFileModel* model;
88
89
        g_return_if_fail (self != NULL);
89
 
        model = unity_places_place_file_model_new_with_directory (TESTDIR "/data");
 
90
        model = unity_places_place_file_model_new_with_directory (TESTUNITDIR "/data");
90
91
        g_assert (UNITY_PLACES_IS_PLACE_FILE_MODEL (model));
91
92
        g_assert (gee_collection_get_size ((GeeCollection*) model) == 2);
92
93
        _g_object_unref0 (model);