mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Changing group name to "" does not remove it from list of groups.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3350 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
18677279f2
commit
204ffb915c
1 changed files with 9 additions and 2 deletions
|
@ -431,11 +431,18 @@ public class RosterTest extends SmackTestCase {
|
|||
Thread.sleep(100);
|
||||
}
|
||||
|
||||
assertEquals("There are still groups in the roster", 0, roster.getGroupCount());
|
||||
assertNull("The group Amigos still exists", roster.getGroup("Amigos"));
|
||||
assertNotNull("The group with no name does not exist", roster.getGroup(""));
|
||||
assertEquals(
|
||||
"Wrong number of entries in the group with no name",
|
||||
2,
|
||||
roster.getGroup("").getEntryCount());
|
||||
|
||||
/*assertEquals("There are still groups in the roster", 0, roster.getGroupCount());
|
||||
assertEquals(
|
||||
"Wrong number of entries in the group \"\" ",
|
||||
2,
|
||||
roster.getUnfiledEntryCount());
|
||||
roster.getUnfiledEntryCount());*/
|
||||
|
||||
cleanUpRoster();
|
||||
Thread.sleep(200);
|
||||
|
|
Loading…
Reference in a new issue