mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-10-31 17:25:58 +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:
parent
fb22583ea7
commit
96930f78e8
1 changed files with 6 additions and 1 deletions
|
@ -408,7 +408,12 @@ public class RosterTest extends SmackTestCase {
|
|||
Iterator it = getConnection(0).getRoster().getEntries();
|
||||
while (it.hasNext()) {
|
||||
RosterEntry entry = (RosterEntry) it.next();
|
||||
try {
|
||||
getConnection(0).getRoster().removeEntry(entry);
|
||||
} catch (XMPPException e) {
|
||||
e.printStackTrace();
|
||||
fail(e.getMessage());
|
||||
}
|
||||
}
|
||||
try {
|
||||
Thread.sleep(700);
|
||||
|
|
Loading…
Reference in a new issue