aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/java/sip/communicator/slick
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2006-09-27 12:30:01 +0000
committerDamian Minkov <damencho@jitsi.org>2006-09-27 12:30:01 +0000
commit04ff4e5d31bc1d6b933ec9d7e5ae9246b8938479 (patch)
treef54a2771c433b77e370af1bcf87231b05d8600e4 /test/net/java/sip/communicator/slick
parent390e659a303f2ab14834cf9768033cc2e720f9cc (diff)
downloadjitsi-04ff4e5d31bc1d6b933ec9d7e5ae9246b8938479.zip
jitsi-04ff4e5d31bc1d6b933ec9d7e5ae9246b8938479.tar.gz
jitsi-04ff4e5d31bc1d6b933ec9d7e5ae9246b8938479.tar.bz2
Catch OperationFailedException
Diffstat (limited to 'test/net/java/sip/communicator/slick')
-rw-r--r--test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetPersistentPresence.java13
1 files changed, 10 insertions, 3 deletions
diff --git a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetPersistentPresence.java b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetPersistentPresence.java
index 8a21b89..6f67b71 100644
--- a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetPersistentPresence.java
+++ b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetPersistentPresence.java
@@ -293,8 +293,16 @@ public class TestOperationSetPersistentPresence
.addServerStoredGroupChangeListener(groupChangeCollector);
//create the group
- opSetPersPresence.createServerStoredContactGroup(
- opSetPersPresence.getServerStoredContactListRoot(), testGroupName);
+ try
+ {
+ opSetPersPresence.createServerStoredContactGroup(
+ opSetPersPresence.getServerStoredContactListRoot(),
+ testGroupName);
+ }
+ catch (OperationFailedException ex)
+ {
+ fail("Cannot create group " + ex.getMessage());
+ }
groupChangeCollector.waitForEvent(10000);
@@ -317,7 +325,6 @@ public class TestOperationSetPersistentPresence
group);
assertEquals("New group name", testGroupName, group.getGroupName());
-
}