aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2014-07-21 11:20:35 +0300
committerDamian Minkov <damencho@jitsi.org>2014-07-21 18:51:51 +0300
commita56bc6cac62efeff8494730281017c439686649a (patch)
treedbf6a930b02ecea3a270a93dd8a36b004ed72afa /test
parent56882c66bdd663fc691693a8c07bfd691d4ade40 (diff)
downloadjitsi-a56bc6cac62efeff8494730281017c439686649a.zip
jitsi-a56bc6cac62efeff8494730281017c439686649a.tar.gz
jitsi-a56bc6cac62efeff8494730281017c439686649a.tar.bz2
Does not try to modify metacontact list storage when adding contact to a non persistent group.
Diffstat (limited to 'test')
-rw-r--r--test/net/java/sip/communicator/slick/contactlist/TestMetaContactList.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/net/java/sip/communicator/slick/contactlist/TestMetaContactList.java b/test/net/java/sip/communicator/slick/contactlist/TestMetaContactList.java
index 1a1d27e..f9344bf 100644
--- a/test/net/java/sip/communicator/slick/contactlist/TestMetaContactList.java
+++ b/test/net/java/sip/communicator/slick/contactlist/TestMetaContactList.java
@@ -476,6 +476,13 @@ public class TestMetaContactList
assertEquals("Source meta contact."
, newMetaContact, evt.getSourceMetaContact());
+ MclSlickFixture.mockPresOpSet.createVolatileContact(
+ newSubscriptionName + "1");
+ MclSlickFixture.mockPresOpSet.createVolatileContact(
+ newSubscriptionName + "2");
+ // and now clear volatile
+ MclSlickFixture.mockPresOpSet.removeServerStoredContactGroup(
+ MclSlickFixture.mockPresOpSet.getNonPersistentGroup());
}