public class AlgorithmResourceTest
extends org.glassfish.jersey.test.JerseyTest
Constructor and Description |
---|
AlgorithmResourceTest() |
Modifier and Type | Method and Description |
---|---|
void |
addAlgorithmProvider() |
void |
approveAlgorithm() |
protected javax.ws.rs.core.Application |
configure() |
void |
deleteAlgorithm()
Only Admin can execute this action
due the cascading that may be involved.
|
void |
deleteAlgorithmProvider() |
void |
deleteAlgorithmProviderWithQueuedTask() |
static void |
insertData() |
void |
setUp() |
void |
testAvailableAlgorithmWithPagination() |
void |
testGetAlgorithm() |
void |
testNewAlgorithm() |
void |
testUpdateAlgorithm() |
void |
updateProvider() |
client, close, closeIfNotNull, configureClient, configureDeployment, disable, enable, forceDisable, forceEnable, forceSet, getAsyncTimeoutMultiplier, getBaseUri, getClient, getLastLoggedRecord, getLoggedRecords, getPort, getTestContainerFactory, isEnabled, set, set, setClient, target, target, tearDown
public static void insertData()
public void setUp() throws java.lang.Exception
setUp
in class org.glassfish.jersey.test.JerseyTest
java.lang.Exception
protected javax.ws.rs.core.Application configure()
configure
in class org.glassfish.jersey.test.JerseyTest
public void testAvailableAlgorithmWithPagination()
public void testGetAlgorithm()
public void testNewAlgorithm()
public void testUpdateAlgorithm()
public void deleteAlgorithm()
This is test will be successful action because roles validation module is not loaded.
public void approveAlgorithm()
public void deleteAlgorithmProviderWithQueuedTask()
public void deleteAlgorithmProvider()
public void addAlgorithmProvider()
public void updateProvider() throws java.lang.Exception
java.lang.Exception