Ignore:
Timestamp:
2010-03-18T11:22:17Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
638feab
Parents:
00a0bc5
Message:

Fixed a bug that caused full JIDs to get lost sometimes with the new way
of storing full JIDs belongong to a contact.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/check_jabber_util.c

    r00a0bc5 r842cd8d  
    8484        fail_unless( jabber_buddy_remove( ic, "nekkid@lamejab.net" ) );
    8585        fail_if( jabber_buddy_by_jid( ic, "nekkid@lamejab.net", 0 ) );
     86       
     87        /* Fixing a bug in this branch that caused information to get lost when
     88           removing the first full JID from a list. */
     89        jabber_buddy_add( ic, "bugtest@google.com/A" );
     90        jabber_buddy_add( ic, "bugtest@google.com/B" );
     91        jabber_buddy_add( ic, "bugtest@google.com/C" );
     92        fail_unless( jabber_buddy_remove( ic, "bugtest@google.com/A" ) );
     93        fail_unless( jabber_buddy_remove( ic, "bugtest@google.com/B" ) );
     94        fail_unless( jabber_buddy_remove( ic, "bugtest@google.com/C" ) );
    8695}
    8796
Note: See TracChangeset for help on using the changeset viewer.