1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

Updated since Roster#removeEntry now may thrown an exception.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2471 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-03-30 02:01:21 +00:00 committed by gaston
parent fb22583ea7
commit 96930f78e8

View file

@ -408,7 +408,12 @@ public class RosterTest extends SmackTestCase {
Iterator it = getConnection(0).getRoster().getEntries();
while (it.hasNext()) {
RosterEntry entry = (RosterEntry) it.next();
getConnection(0).getRoster().removeEntry(entry);
try {
getConnection(0).getRoster().removeEntry(entry);
} catch (XMPPException e) {
e.printStackTrace();
fail(e.getMessage());
}
}
try {
Thread.sleep(700);