~ubuntu-branches/ubuntu/karmic/vlc/karmic-proposed

« back to all changes in this revision

Viewing changes to src/test/dictionary.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-05 12:28:15 UTC
  • mfrom: (1.1.22 upstream) (3.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090605122815-2c0lyqjm84jo1lcn
Tags: 1.0.0~rc2-1ubuntu1
* New upstream version.
* tighten build-dependencies on libschroedinger-dev, fixes FTBFS.
* Following bugs have an associated and now closed upstream ticket in
  Launchpad: LP: #281295, #73449, #282567, #117640, #172938, #260918,
  #273685, #275043, #277834, #282394, #290753, #294136, #298925, #304265,
  #309728, #311742, #314038

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * dictionary.c: Tests for vlc_dictionary_t
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2007 Pierre d'Herbemont
5
 
 * $Id: b0d9644b7b0135f7bc17ed317dda30cf9616da95 $
 
5
 * $Id$
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or modify
8
8
 * it under the terms of the GNU General Public License as published by
85
85
 
86
86
    test_dictionary_validity( &dict, our_keys, size );
87
87
 
88
 
    vlc_dictionary_remove_value_for_key( &dict, our_keys[size-1] );
 
88
    vlc_dictionary_remove_value_for_key( &dict, our_keys[size-1], NULL, NULL );
89
89
 
90
90
    test_dictionary_validity( &dict, our_keys, size-1 );
91
 
    
92
 
    vlc_dictionary_clear( &dict );
 
91
 
 
92
    vlc_dictionary_clear( &dict, NULL, NULL );
93
93
 
94
94
    assert( vlc_dictionary_keys_count( &dict ) == 0 );
95
95
    return 0;