public class FileDownloadTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.ResourceBundle |
CONFIG
Access the ResourceBundle containing configuration parameters.
|
Constructor and Description |
---|
FileDownloadTest() |
Modifier and Type | Method and Description |
---|---|
void |
getModelListing()
Get the listing of models available on the server.
|
void |
getModelXMLData()
Download a model from the Ptolemy server.
|
void |
setup()
Set up the initial singleton reference and Hessian proxy factory
that will be used within the JUnit test cases.
|
void |
shutdown()
Call the shutdown() method on the singleton and destroy all
references to it.
|
public static final java.util.ResourceBundle CONFIG
public void setup() throws java.lang.Exception
java.lang.Exception
- If there is an error creating the Hessian proxy.public void getModelListing() throws java.lang.Exception
java.lang.Exception
- If there was an error retrieving the
model files on the server.public void getModelXMLData() throws java.lang.Exception
java.lang.Exception
- If there was an error downloading the
model XML data from the server.public void shutdown() throws java.lang.Exception
java.lang.Exception
- If there was an error shutting down the broker or
servlet.