org.gcube.dir.master.stubs.test
Class AddCollection
java.lang.Object
org.gcube.dir.master.stubs.test.AddCollection
public class AddCollection
- extends java.lang.Object
A test which adds a collection to the set managed by a remote WS-Resource of the Master service
The test requires the following command-line inputs:
(1) A file with the serialisation of the endpoint of the WS-Resources.
(2) The collection identifier.
(3) The scope in which the interaction ought to take place.
- Author:
- Fabio Simeoni (University of Strathclyde)
Method Summary |
static void |
main(java.lang.String[] args)
Run tests and logs any exception. |
static void |
run(java.lang.String[] args)
Run test. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddCollection
public AddCollection()
main
public static void main(java.lang.String[] args)
- Run tests and logs any exception.
- Parameters:
args
- test arguments as documented above.
run
public static void run(java.lang.String[] args)
throws java.lang.Exception
- Run test.
- Parameters:
args
- test arguments.
- Throws:
java.lang.Exception
- if the test did not complete successfully.