~people-project/people-core/use-core-async

« back to all changes in this revision

Viewing changes to people/tests/test-query-result-manager.vala

  • Committer: Ali Sabil
  • Date: 2009-01-31 20:46:43 UTC
  • mto: This revision was merged to the branch mainline in revision 351.
  • Revision ID: ali.sabil@gmail.com-20090131204643-2iw68gk42xetihvk
- Replaced the People.Utils.BiMap usage with the implementation from libcore

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                        source1 = new Backend.Dummy.ContactSource (contacts1, true);
58
58
 
59
59
                        /* sources */
60
 
                        var map = new Core.Container.HashMap<string, Backend.ContactSource> (str_hash, str_equal);
61
 
                        map.set ("source0", new ProxyContactSource (source0));
62
 
                        map.set ("source1", new ProxyContactSource (source1));
63
 
                        var sources = new People.Utils.BiMap<string, Backend.ContactSource> (map, str_hash, str_equal);
 
60
                        var sources = new HashBiMap<string, Backend.ContactSource> (str_hash, str_equal);
 
61
                        sources.set ("source0", new ProxyContactSource (source0));
 
62
                        sources.set ("source1", new ProxyContactSource (source1));
64
63
 
65
64
                        /* meta contacts definition */
66
65
                        var merged_contacts = new Core.Container.HashSet<Core.Container.List<string> > ();