1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-30 02:02:06 +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:
Gaston Dombiak 2006-01-24 18:16:29 +00:00 committed by gato
parent 18677279f2
commit 204ffb915c

View file

@ -431,11 +431,18 @@ public class RosterTest extends SmackTestCase {
Thread.sleep(100); 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( assertEquals(
"Wrong number of entries in the group \"\" ", "Wrong number of entries in the group \"\" ",
2, 2,
roster.getUnfiledEntryCount()); roster.getUnfiledEntryCount());*/
cleanUpRoster(); cleanUpRoster();
Thread.sleep(200); Thread.sleep(200);