1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-02 17:02:08 +01:00
Smack/test/org/jivesoftware/smackx/pubsub/test/SingleUserTestCase.java
2009-10-28 22:38:40 +00:00

28 lines
623 B
Java

/*
* Created on 2009-05-05
*/
package org.jivesoftware.smackx.pubsub.test;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smackx.pubsub.LeafNode;
import org.jivesoftware.smackx.pubsub.PubSubManager;
public class SingleUserTestCase extends PubSubTestCase
{
protected PubSubManager getManager()
{
return getManager(0);
}
protected LeafNode getPubnode(boolean persistItems, boolean deliverPayload) throws XMPPException
{
return getRandomPubnode(getManager(), persistItems, deliverPayload);
}
@Override
protected int getMaxConnections()
{
return 1;
}
}