mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-02 17:02:08 +01:00
f7a1c750ad
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11346 b35dd754-fafc-0310-a699-88a17e54d16e
28 lines
623 B
Java
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;
|
|
}
|
|
|
|
}
|