1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-30 10:12: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(); Iterator it = getConnection(0).getRoster().getEntries();
while (it.hasNext()) { while (it.hasNext()) {
RosterEntry entry = (RosterEntry) it.next(); RosterEntry entry = (RosterEntry) it.next();
try {
getConnection(0).getRoster().removeEntry(entry); getConnection(0).getRoster().removeEntry(entry);
} catch (XMPPException e) {
e.printStackTrace();
fail(e.getMessage());
}
} }
try { try {
Thread.sleep(700); Thread.sleep(700);