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:
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();
|
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);
|
||||||
|
|
Loading…
Reference in a new issue