public class API_010_PublisherTest extends Object
Constructor and Description |
---|
API_010_PublisherTest() |
Modifier and Type | Method and Description |
---|---|
protected String |
authInfoJoe() |
protected String |
authInfoSam() |
void |
deleteJoePublisher()
Removes Joe Publisher from the database, this will fail if there are
child objects attached; think Services etc.
|
void |
deleteSamSyndicator()
Removes Sam Syndicator from the database, this will fail if there are
child objects attached; think Services etc.
|
boolean |
saveJoePublisher()
Persists Joe Publisher to the database.
|
boolean |
saveMaryPublisher()
Persists Mary Publisher to the database.
|
String |
saveSamSyndicator()
Persists Sam Syndicator to the database.
|
static void |
startRegistry() |
static void |
stopRegistry() |
void |
testAdminSaveSubscriptionAuthorized()
Joe saves a subscription on Sam's behalf
|
void |
testAdminSaveSubscriptionNotAuthorized()
Sam saves a subscription on Sam's behalf (not authorized
|
void |
testAdminSaveTModel() |
void |
testJoePublisher() |
void |
testSamSyndicator() |
public static void startRegistry() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public static void stopRegistry() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testJoePublisher()
public void testSamSyndicator()
public boolean saveJoePublisher()
public boolean saveMaryPublisher()
public void deleteJoePublisher()
public String saveSamSyndicator()
public void deleteSamSyndicator()
protected String authInfoJoe() throws RemoteException, DispositionReportFaultMessage
protected String authInfoSam() throws RemoteException, DispositionReportFaultMessage
public void testAdminSaveSubscriptionAuthorized() throws Exception
Exception
public void testAdminSaveSubscriptionNotAuthorized() throws Exception
Exception
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.