~matttbe/ubuntu/raring/rhythmbox/lp1010619_RB_2.98

« back to all changes in this revision

Viewing changes to tests/test-rhythmdb.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-11-06 20:52:57 UTC
  • mfrom: (1.1.67) (214.1.1 quantal-proposed)
  • Revision ID: package-import@ubuntu.com-20121106205257-0btjh8jqley153el
Tags: 2.98-0ubuntu1
* New upstream release (LP: #1060601)
* debian/control.in:
  - Bump minimum glib, gtk, totem-plparser, clutter, and clutter-gst
  - Drop no longer needed musicbrainz dependency
* Refreshed 09_keywords.patch
* Updated 11_fix_cd_pausing.patch with fix from git
* Dropped patches applied in new version:
  - 00git_musicbrainz5.patch
  - 08_CVE-2012-3355.patch
  - dont_free_consumed_floating_gvariant.patch
  - git_scale_click.patch
  - git_crash_during_monitor.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
473
473
END_TEST
474
474
 
475
475
static void
476
 
commit_change_merge_cb (RhythmDB *db, RhythmDBEntry *entry, GValueArray *changes, gpointer ok)
 
476
commit_change_merge_cb (RhythmDB *db, RhythmDBEntry *entry, GArray *changes, gpointer ok)
477
477
{
478
478
        int expected = GPOINTER_TO_INT (ok);
479
 
        fail_unless (changes->n_values == expected, "commit change lists merged");
 
479
        fail_unless (changes->len == expected, "commit change lists merged");
480
480
}
481
481
 
482
482
START_TEST (test_rhythmdb_commit_change_merging)
554
554
        /* init stuff */
555
555
        rb_profile_start ("rhythmbox test suite");
556
556
 
557
 
        g_thread_init (NULL);
558
557
        rb_threads_init ();
559
558
        rb_debug_init (TRUE);
560
559
        rb_refstring_system_init ();